Rename salesbook
This commit is contained in:
13
salesbook.Shared/Core/Interface/IFormFactor.cs
Normal file
13
salesbook.Shared/Core/Interface/IFormFactor.cs
Normal file
@@ -0,0 +1,13 @@
|
||||
namespace salesbook.Shared.Core.Interface;
|
||||
|
||||
public interface IFormFactor
|
||||
{
|
||||
public string GetFormFactor();
|
||||
public string GetPlatform();
|
||||
|
||||
public bool IsWeb()
|
||||
{
|
||||
var formFactor = GetFormFactor();
|
||||
return formFactor == "Web";
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user