C# Class Animatroller.Framework.LogicalDevice.GroupControlToken

Inheritance: IControlToken
Afficher le fichier Open project: HakanL/animatroller Class Usage Examples

Private Properties

Свойство Type Description

Méthodes publiques

Méthode Description
Add ( IOwnedDevice device, IControlToken token ) : void
Dispose ( ) : void
GetDataForDevice ( IOwnedDevice device ) : IData
GroupControlToken ( IControlToken>.Dictionary memberTokens, bool disposeLocks = false, Action disposeAction = null, int priority = 1, [ name = "" ) : System
GroupControlToken ( IEnumerable devices, Action disposeAction, string name, int priority = 1 ) : System
IsOwner ( IControlToken checkToken ) : bool
LockAndGetDataFromDevice ( IOwnedDevice device ) : bool

Lock if group token is configured for auto add

Method Details

Add() public méthode

public Add ( IOwnedDevice device, IControlToken token ) : void
device IOwnedDevice
token IControlToken
Résultat void

Dispose() public méthode

public Dispose ( ) : void
Résultat void

GetDataForDevice() public méthode

public GetDataForDevice ( IOwnedDevice device ) : IData
device IOwnedDevice
Résultat IData

GroupControlToken() public méthode

public GroupControlToken ( IControlToken>.Dictionary memberTokens, bool disposeLocks = false, Action disposeAction = null, int priority = 1, [ name = "" ) : System
memberTokens IControlToken>.Dictionary
disposeLocks bool
disposeAction Action
priority int
name [
Résultat System

GroupControlToken() public méthode

public GroupControlToken ( IEnumerable devices, Action disposeAction, string name, int priority = 1 ) : System
devices IEnumerable
disposeAction Action
name string
priority int
Résultat System

IsOwner() public méthode

public IsOwner ( IControlToken checkToken ) : bool
checkToken IControlToken
Résultat bool

LockAndGetDataFromDevice() public méthode

Lock if group token is configured for auto add
public LockAndGetDataFromDevice ( IOwnedDevice device ) : bool
device IOwnedDevice
Résultat bool