/// <summary> /// Indicates the specified pin is disabled on connection. /// </summary> /// <param name="configuration">The configuration.</param> /// <returns>The pin configuration.</returns> public static SwitchInputPinConfiguration Disable(this SwitchInputPinConfiguration configuration) { configuration.Enabled = false; return(configuration); }
/// <summary> /// Indicates the specified pin is enabled on connection. /// </summary> /// <param name="configuration">The configuration.</param> /// <returns>The pin configuration.</returns> public static SwitchInputPinConfiguration Enable(this SwitchInputPinConfiguration configuration) { configuration.Enabled = true; return(configuration); }