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 }); }
public void Add(IMappedControllerElement controllerElement) { this.controllerElements.Add(controllerElement); }