NiceHashMiner.Devices.ComputeDevice.SetFromComputeDeviceConfig C# (CSharp) Метод

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

public SetFromComputeDeviceConfig ( ComputeDeviceConfig config ) : void
config NiceHashMiner.Configs.Data.ComputeDeviceConfig
Результат void
        public void SetFromComputeDeviceConfig(ComputeDeviceConfig config)
        {
            if (config != null && config.UUID == UUID) {
                this.Enabled = config.Enabled;
            }
        }