/// <summary> /// Initializes a new instance of the GuidSerializationOptions class. /// </summary> /// <param name="byteOrder">The byte order to use when representing the Guid as a byte array.</param> public GuidSerializationOptions( GuidByteOrder byteOrder ) { this.representation = BsonType.Binary; this.byteOrder = byteOrder; }
/// <summary> /// Initializes a new instance of the BsonGuidOptionsAttribute class. /// </summary> /// <param name="byteOrder">The byte order to use when representing the Guid as a byte array.</param> public BsonGuidOptionsAttribute( GuidByteOrder byteOrder ) { this.representation = BsonType.Binary; this.byteOrder = byteOrder; }