/// <summary> /// Indicates the specified pin is disabled on connection. /// </summary> /// <param name="configuration">The configuration.</param> /// <returns>The pin configuration.</returns> public static OutputPinConfiguration Disable(this OutputPinConfiguration 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 OutputPinConfiguration Enable(this OutputPinConfiguration configuration) { configuration.Enabled = true; return(configuration); }