MongoDB.Bson.Serialization.Attributes.BsonDefaultValueAttribute.BsonDefaultValueAttribute C# (CSharp) Method

BsonDefaultValueAttribute() public method

Initializes a new instance of the BsonDefaultValueAttribute class.
public BsonDefaultValueAttribute ( object defaultValue ) : System
defaultValue object The default value.
return System
        public BsonDefaultValueAttribute(object defaultValue)
        {
            _defaultValue = defaultValue;
        }
BsonDefaultValueAttribute