Animatroller.Framework.LogicalDevice.SingleOwnerOutputDevice.SingleOwnerOutputDevice C# (CSharp) Метод

SingleOwnerOutputDevice() публичный Метод

public SingleOwnerOutputDevice ( string name ) : System
name string
Результат System
        public SingleOwnerOutputDevice(string name)
            : base(name)
        {
            // Default on
            this.currentMasterPower = true;

            this.inputMasterPower = Observer.Create<bool>(x =>
            {
                if (this.currentMasterPower != x)
                {
                    this.currentMasterPower = x;

                    RefreshOutput();
                }
            });
        }