private XElement _WriteControllerReference(ControllerReference controllerReference) { XElement element = new XElement("ControllerReference", new XAttribute("controllerId", controllerReference.ControllerId), new XAttribute("outputIndex", controllerReference.OutputIndex)); return(element); }
private void EntryChangedValue(object sender, EventArgs args) { if (Validator != null) { var isValid = Validator(Text); this.HasError = isValid; } ControllerReference?.SetValueFromRenderer(FTEControl.TextProperty, Text); }
public void AddUpdate(ControllerReference controllerReference, CommandData command) { if(IsDisposed) throw new ObjectDisposedException(null); // Add to the update buffer. lock(_inBuffer) { //vs enumerating a copy of the collection _inBuffer.Add(new ControllerOutputUpdate() { ControllerReference = controllerReference, Command = command }); } }
public void AddUpdate(ControllerReference controllerReference, CommandData command) { if (IsDisposed) { throw new ObjectDisposedException(null); } // Add to the update buffer. lock (_inBuffer) { //vs enumerating a copy of the collection _inBuffer.Add(new ControllerOutputUpdate() { ControllerReference = controllerReference, Command = command }); } }
private void _Remove(ControllerReference controllerReference) { _controllerReferences.Remove(controllerReference); VixenSystem.Controllers.RemoveSource(this, controllerReference); }
public void Remove(Guid controllerId, int outputIndex) { ControllerReference controllerReference = new ControllerReference(controllerId, outputIndex); _Remove(controllerReference); }
public void Remove(ControllerReference controllerReference) { _Remove(controllerReference); }
private void _Add(ControllerReference controllerReference) { _controllerReferences.Add(controllerReference); VixenSystem.Controllers.AddSource(this, controllerReference); }
public void Add(ControllerReference controllerReference) { _Add(controllerReference); }