DeviceService Class
Assembly: PTS.Modules.Devices.dll
Syntax
public class DeviceService : UnitOfWorkService, IServiceProviderAccessor, IDeviceService, ISeedWork<IDeviceService>, ISeedWork
Inheritance
System.Object
DeviceService
Constructors
DeviceService(IUnitOfWork)
Declaration
public DeviceService(IUnitOfWork unitOfWork)
Parameters
Properties
Applications
Declaration
protected IRepository<Application> Applications { get; }
Property Value
DeviceApps
Declaration
protected IRepository<DeviceApp> DeviceApps { get; }
Property Value
Devices
Declaration
protected IRepository<Device> Devices { get; }
Property Value
Methods
RegisterAppInstallation(Identity, String, String, IDeviceData, IApplicationData, Boolean)
Declaration
public DeviceApp RegisterAppInstallation(Identity holder, string id, string token, IDeviceData deviceData, IApplicationData applicationData, bool versionSpecific = false)
Parameters
Returns
RegisterAppInstallationAsync(Identity, String, String, IDeviceData, IApplicationData, Boolean)
Declaration
public Task<DeviceApp> RegisterAppInstallationAsync(Identity holder, string id, string token, IDeviceData deviceData, IApplicationData applicationData, bool versionSpecific = false)
Parameters
Returns
Type |
Description |
System.Threading.Tasks.Task<DeviceApp> |
|
Implements
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Extension Methods