/// <summary> /// Writes property for the specified container. /// </summary> /// <param name="writer">The writer.</param> /// <param name="container">The container.</param> public override void Write(IFormatWriter writer, object container) { writer.WriteLong(this.Tag, (long)this.GetAction(container)); }
/// <summary> /// Writes the specified value. /// </summary> /// <param name="writer">The writer.</param> /// <param name="value">The value.</param> public override void Write(IFormatWriter writer, long value) { writer.WriteLong("Value", value); }