/// <summary> /// Reads the property for the specified container. /// </summary> /// <param name="reader">The reader.</param> /// <param name="container">The container.</param> public override void Read(IFormatReader reader, object container) { this.SetAction(container, reader.ReadBoolean(this.Tag)); }
/// <summary> /// Reads a value out of the specified reader. /// </summary> /// <param name="reader">The reader.</param> public override bool Read(IFormatReader reader) { return(reader.ReadBoolean("Value")); }