Example #1
0
 internal DeviceCapabilityElementConfigurationNode(string key,
                                                   ControllerElement element,
                                                   DeviceCapability value,
                                                   string mappedValue,
                                                   DeviceCapabilityClass type)
     : base(key, value)
 {
     this.DeviceType     = type;
     this.Value          = mappedValue;
     this.VirtualElement = element;
 }
Example #2
0
 /// <summary>
 /// Initializes a new instance of the <see cref="InputOptionAttribute"/> class.
 /// Marks an attribute as an input option
 /// </summary>
 public InputOptionAttribute(string optionName, DeviceCapabilityClass inputOptionType, ControllerElement targetElement)
 {
     this.OptionName      = optionName;
     this.InputOptionType = inputOptionType;
     this.TargetElement   = targetElement;
 }