C# Class Animatroller.Framework.LogicalDevice.GroupControlToken

Inheritance: IControlToken
Mostrar archivo Open project: HakanL/animatroller Class Usage Examples

Private Properties

Property Type Description

Public Methods

Method 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 method

public Add ( IOwnedDevice device, IControlToken token ) : void
device IOwnedDevice
token IControlToken
return void

Dispose() public method

public Dispose ( ) : void
return void

GetDataForDevice() public method

public GetDataForDevice ( IOwnedDevice device ) : IData
device IOwnedDevice
return IData

GroupControlToken() public method

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 [
return System

GroupControlToken() public method

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

IsOwner() public method

public IsOwner ( IControlToken checkToken ) : bool
checkToken IControlToken
return bool

LockAndGetDataFromDevice() public method

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