コード例 #1
0
 private static MappedControllerElementModel AsModel(this IMappedControllerElement @this,
                                                     ControllerId controllerId,
                                                     string deviceId,
                                                     string profileName)
 {
     return(new MappedControllerElementModel
     {
         LayoutElement = @this.LayoutElement,
         DeviceElement = @this.DeviceElement,
         ProfileName = profileName,
         ControllerID = controllerId,
         DeviceID = deviceId
     });
 }
コード例 #2
0
 public void Add(IMappedControllerElement controllerElement)
 {
     this.controllerElements.Add(controllerElement);
 }