/// <summary> /// Gets name of the controller presented by an instance of <see cref="ControlChangeEvent"/>. /// </summary> /// <param name="controlChangeEvent">Control Change event to get controller name of.</param> /// <returns>Controller name of the <paramref name="controlChangeEvent"/> event.</returns> /// <exception cref="ArgumentNullException"><paramref name="controlChangeEvent"/> is null.</exception> public static ControlName GetControlName(this ControlChangeEvent controlChangeEvent) { if (controlChangeEvent == null) { throw new ArgumentNullException(nameof(controlChangeEvent)); } return(GetControlName(controlChangeEvent.ControlNumber)); }
/// <summary> /// Gets name of the controller presented by an instance of <see cref="ControlChangeEvent"/>. /// </summary> /// <param name="controlChangeEvent">Control Change event to get controller name of.</param> /// <returns>Controller name of the <paramref name="controlChangeEvent"/> event.</returns> /// <exception cref="ArgumentNullException"><paramref name="controlChangeEvent"/> is null.</exception> public static ControlName GetControlName(this ControlChangeEvent controlChangeEvent) { ThrowIfArgument.IsNull(nameof(controlChangeEvent), controlChangeEvent); return(GetControlName(controlChangeEvent.ControlNumber)); }
// Token: 0x0600346F RID: 13423 RVA: 0x0001816E File Offset: 0x0001636E public static ControlName GetControlName(this ControlChangeEvent controlChangeEvent) { return(ControlUtilities.GetControlName(controlChangeEvent.ControlNumber)); }