C# Class Disco.Services.DeviceActionExtensions

Show file Open project: garysharp/Disco

Public Methods

Method Description
CanCreateJob ( this d ) : bool
CanDecommission ( this d ) : bool
CanDelete ( this d ) : bool
CanRecommission ( this d ) : bool
CanUpdateAssignment ( this d ) : bool
CanUpdateDeviceBatch ( this d ) : bool
CanUpdateDeviceProfile ( this d ) : bool
CanUpdateTrustEnrol ( this d ) : bool
CanUpdateUntrustEnrol ( this d ) : bool
IsDecommissioned ( this d ) : bool
OnDecommission ( this d, DecommissionReasons Reason ) : void
OnDelete ( this d, DiscoDataContext Database ) : void
OnRecommission ( this d ) : void

Method Details

CanCreateJob() public static method

public static CanCreateJob ( this d ) : bool
d this
return bool

CanDecommission() public static method

public static CanDecommission ( this d ) : bool
d this
return bool

CanDelete() public static method

public static CanDelete ( this d ) : bool
d this
return bool

CanRecommission() public static method

public static CanRecommission ( this d ) : bool
d this
return bool

CanUpdateAssignment() public static method

public static CanUpdateAssignment ( this d ) : bool
d this
return bool

CanUpdateDeviceBatch() public static method

public static CanUpdateDeviceBatch ( this d ) : bool
d this
return bool

CanUpdateDeviceProfile() public static method

public static CanUpdateDeviceProfile ( this d ) : bool
d this
return bool

CanUpdateTrustEnrol() public static method

public static CanUpdateTrustEnrol ( this d ) : bool
d this
return bool

CanUpdateUntrustEnrol() public static method

public static CanUpdateUntrustEnrol ( this d ) : bool
d this
return bool

IsDecommissioned() public static method

public static IsDecommissioned ( this d ) : bool
d this
return bool

OnDecommission() public static method

public static OnDecommission ( this d, DecommissionReasons Reason ) : void
d this
Reason DecommissionReasons
return void

OnDelete() public static method

public static OnDelete ( this d, DiscoDataContext Database ) : void
d this
Database Disco.Data.Repository.DiscoDataContext
return void

OnRecommission() public static method

public static OnRecommission ( this d ) : void
d this
return void