void IBMDSwitcherKeyDVEParametersCallback.Notify(_BMDSwitcherKeyDVEParametersEventType eventType) { this._switcherKeyDVEParametersEventArgs = new SwitcherKeyDVEParametersEventArgs(); switch (eventType) { case _BMDSwitcherKeyDVEParametersEventType.bmdSwitcherKeyDVEParametersEventTypeBorderBevelChanged: this.SwitcherKeyDVEParametersEventTypeBorderBevelChanged?.Invoke(this, this._switcherKeyDVEParametersEventArgs); break; case _BMDSwitcherKeyDVEParametersEventType.bmdSwitcherKeyDVEParametersEventTypeBorderBevelPositionChanged: this.SwitcherKeyDVEParametersEventTypeBorderBevelPositionChanged?.Invoke(this, this._switcherKeyDVEParametersEventArgs); break; case _BMDSwitcherKeyDVEParametersEventType.bmdSwitcherKeyDVEParametersEventTypeBorderBevelSoftnessChanged: this.SwitcherKeyDVEParametersEventTypeBorderBevelSoftnessChanged?.Invoke(this, this._switcherKeyDVEParametersEventArgs); break; case _BMDSwitcherKeyDVEParametersEventType.bmdSwitcherKeyDVEParametersEventTypeBorderEnabledChanged: this.SwitcherKeyDVEParametersEventTypeBorderEnabledChanged?.Invoke(this, this._switcherKeyDVEParametersEventArgs); break; case _BMDSwitcherKeyDVEParametersEventType.bmdSwitcherKeyDVEParametersEventTypeBorderHueChanged: this.SwitcherKeyDVEParametersEventTypeBorderHueChanged?.Invoke(this, this._switcherKeyDVEParametersEventArgs); break; case _BMDSwitcherKeyDVEParametersEventType.bmdSwitcherKeyDVEParametersEventTypeBorderLumaChanged: this.SwitcherKeyDVEParametersEventTypeBorderLumaChanged?.Invoke(this, this._switcherKeyDVEParametersEventArgs); break; case _BMDSwitcherKeyDVEParametersEventType.bmdSwitcherKeyDVEParametersEventTypeBorderOpacityChanged: this.SwitcherKeyDVEParametersEventTypeBorderOpacityChanged?.Invoke(this, this._switcherKeyDVEParametersEventArgs); break; case _BMDSwitcherKeyDVEParametersEventType.bmdSwitcherKeyDVEParametersEventTypeBorderSaturationChanged: this.SwitcherKeyDVEParametersEventTypeBorderSaturationChanged?.Invoke(this, this._switcherKeyDVEParametersEventArgs); break; case _BMDSwitcherKeyDVEParametersEventType.bmdSwitcherKeyDVEParametersEventTypeBorderSoftnessInChanged: this.SwitcherKeyDVEParametersEventTypeBorderSoftnessInChanged?.Invoke(this, this._switcherKeyDVEParametersEventArgs); break; case _BMDSwitcherKeyDVEParametersEventType.bmdSwitcherKeyDVEParametersEventTypeBorderSoftnessOutChanged: this.SwitcherKeyDVEParametersEventTypeBorderSoftnessOutChanged?.Invoke(this, this._switcherKeyDVEParametersEventArgs); break; case _BMDSwitcherKeyDVEParametersEventType.bmdSwitcherKeyDVEParametersEventTypeBorderWidthInChanged: this.SwitcherKeyDVEParametersEventTypeBorderWidthInChanged?.Invoke(this, this._switcherKeyDVEParametersEventArgs); break; case _BMDSwitcherKeyDVEParametersEventType.bmdSwitcherKeyDVEParametersEventTypeBorderWidthOutChanged: this.SwitcherKeyDVEParametersEventTypeBorderWidthOutChanged?.Invoke(this, this._switcherKeyDVEParametersEventArgs); break; case _BMDSwitcherKeyDVEParametersEventType.bmdSwitcherKeyDVEParametersEventTypeLightSourceAltitudeChanged: this.SwitcherKeyDVEParametersEventTypeLightSourceAltitudeChanged?.Invoke(this, this._switcherKeyDVEParametersEventArgs); break; case _BMDSwitcherKeyDVEParametersEventType.bmdSwitcherKeyDVEParametersEventTypeLightSourceDirectionChanged: this.SwitcherKeyDVEParametersEventTypeLightSourceDirectionChanged?.Invoke(this, this._switcherKeyDVEParametersEventArgs); break; case _BMDSwitcherKeyDVEParametersEventType.bmdSwitcherKeyDVEParametersEventTypeMaskBottomChanged: this.SwitcherKeyDVEParametersEventTypeMaskBottomChanged?.Invoke(this, this._switcherKeyDVEParametersEventArgs); break; case _BMDSwitcherKeyDVEParametersEventType.bmdSwitcherKeyDVEParametersEventTypeMaskedChanged: this.SwitcherKeyDVEParametersEventTypeMaskedChanged?.Invoke(this, this._switcherKeyDVEParametersEventArgs); break; case _BMDSwitcherKeyDVEParametersEventType.bmdSwitcherKeyDVEParametersEventTypeMaskLeftChanged: this.SwitcherKeyDVEParametersEventTypeMaskLeftChanged?.Invoke(this, this._switcherKeyDVEParametersEventArgs); break; case _BMDSwitcherKeyDVEParametersEventType.bmdSwitcherKeyDVEParametersEventTypeMaskRightChanged: this.SwitcherKeyDVEParametersEventTypeMaskRightChanged?.Invoke(this, this._switcherKeyDVEParametersEventArgs); break; case _BMDSwitcherKeyDVEParametersEventType.bmdSwitcherKeyDVEParametersEventTypeMaskTopChanged: this.SwitcherKeyDVEParametersEventTypeMaskTopChanged?.Invoke(this, this._switcherKeyDVEParametersEventArgs); break; case _BMDSwitcherKeyDVEParametersEventType.bmdSwitcherKeyDVEParametersEventTypeShadowChanged: this.SwitcherKeyDVEParametersEventTypeShadowChanged?.Invoke(this, this._switcherKeyDVEParametersEventArgs); break; } }
void IBMDSwitcherKeyDVEParametersCallback.Notify(_BMDSwitcherKeyDVEParametersEventType EventType) { switch (EventType) { case (_BMDSwitcherKeyDVEParametersEventType.bmdSwitcherKeyDVEParametersEventTypeBorderBevelChanged): if (BorderBevelChanged != null) BorderBevelChanged(this, null); break; case (_BMDSwitcherKeyDVEParametersEventType.bmdSwitcherKeyDVEParametersEventTypeBorderBevelPositionChanged): if (BorderBevelPositionChanged != null) BorderBevelPositionChanged(this, null); break; case (_BMDSwitcherKeyDVEParametersEventType.bmdSwitcherKeyDVEParametersEventTypeBorderBevelSoftnessChanged): if (BorderBevelSoftnessChanged != null) BorderBevelSoftnessChanged(this, null); break; case (_BMDSwitcherKeyDVEParametersEventType.bmdSwitcherKeyDVEParametersEventTypeBorderEnabledChanged): if (BorderEnabledChanged != null) BorderEnabledChanged(this, null); break; case (_BMDSwitcherKeyDVEParametersEventType.bmdSwitcherKeyDVEParametersEventTypeBorderHueChanged): if (BorderHueChanged != null) BorderHueChanged(this, null); break; case (_BMDSwitcherKeyDVEParametersEventType.bmdSwitcherKeyDVEParametersEventTypeBorderLumaChanged): if (BorderLumaChanged != null) BorderLumaChanged(this, null); break; case (_BMDSwitcherKeyDVEParametersEventType.bmdSwitcherKeyDVEParametersEventTypeBorderOpacityChanged): if (BorderOpacityChanged != null) BorderOpacityChanged(this, null); break; case (_BMDSwitcherKeyDVEParametersEventType.bmdSwitcherKeyDVEParametersEventTypeBorderSaturationChanged): if (BorderSaturationChanged != null) BorderSaturationChanged(this, null); break; case (_BMDSwitcherKeyDVEParametersEventType.bmdSwitcherKeyDVEParametersEventTypeBorderSoftnessInChanged): if (BorderSoftnessInChanged != null) BorderSoftnessInChanged(this, null); break; case (_BMDSwitcherKeyDVEParametersEventType.bmdSwitcherKeyDVEParametersEventTypeBorderSoftnessOutChanged): if (BorderSoftnessOutChanged != null) BorderSoftnessOutChanged(this, null); break; case (_BMDSwitcherKeyDVEParametersEventType.bmdSwitcherKeyDVEParametersEventTypeBorderWidthInChanged): if (BorderWidthInChanged != null) BorderWidthInChanged(this, null); break; case (_BMDSwitcherKeyDVEParametersEventType.bmdSwitcherKeyDVEParametersEventTypeBorderWidthOutChanged): if (BorderWidthOutChanged != null) BorderWidthOutChanged(this, null); break; case (_BMDSwitcherKeyDVEParametersEventType.bmdSwitcherKeyDVEParametersEventTypeLightSourceAltitudeChanged): if (LightSourceAltitudeChanged != null) LightSourceAltitudeChanged(this, null); break; case (_BMDSwitcherKeyDVEParametersEventType.bmdSwitcherKeyDVEParametersEventTypeLightSourceDirectionChanged): if (LightSourceDirectionChanged != null) LightSourceDirectionChanged(this, null); break; case (_BMDSwitcherKeyDVEParametersEventType.bmdSwitcherKeyDVEParametersEventTypeMaskBottomChanged): if (MaskBottomChanged != null) MaskBottomChanged(this, null); break; case (_BMDSwitcherKeyDVEParametersEventType.bmdSwitcherKeyDVEParametersEventTypeMaskedChanged): if (MaskedChanged != null) MaskedChanged(this, null); break; case (_BMDSwitcherKeyDVEParametersEventType.bmdSwitcherKeyDVEParametersEventTypeMaskLeftChanged): if (MaskLeftChanged != null) MaskLeftChanged(this, null); break; case (_BMDSwitcherKeyDVEParametersEventType.bmdSwitcherKeyDVEParametersEventTypeMaskRightChanged): if (MaskRightChanged != null) MaskRightChanged(this, null); break; case (_BMDSwitcherKeyDVEParametersEventType.bmdSwitcherKeyDVEParametersEventTypeMaskTopChanged): if (MaskTopChanged != null) MaskTopChanged(this, null); break; case (_BMDSwitcherKeyDVEParametersEventType.bmdSwitcherKeyDVEParametersEventTypeShadowChanged): if (ShadowChanged != null) ShadowChanged(this, null); break; } }