Animatroller.Framework.LogicalDevice.ControlledDevice.ControlledDevice C# (CSharp) Method

ControlledDevice() public method

public ControlledDevice ( string name, int priority, Action populateData, Action dispose ) : System
name string
priority int
populateData Action
dispose Action
return System
        public ControlledDevice(string name, int priority, Action<IData> populateData, Action<IControlToken> dispose)
        {
            this.Name = name;
            this.Priority = priority;
            this.disposeAction = dispose;
            this.data = new Data();
            populateData(this.data);
        }