Property | Type | Description |
---|
Method | Description | |
---|---|---|
ApplyAttribute ( IBsonSerializer serializer, |
Apply an attribute to these serialization options and modify the options accordingly.
|
|
Clone ( ) : IBsonSerializationOptions |
Clones the serialization options.
|
|
DateTimeSerializationOptions ( ) : System |
Initializes a new instance of the DateTimeSerializationOptions class.
|
|
DateTimeSerializationOptions ( DateTimeKind kind ) : System |
Initializes a new instance of theDateTimeSerializationOptions class.
|
|
DateTimeSerializationOptions ( DateTimeKind kind, BsonType representation ) : System |
Initializes a new instance of the DateTimeSerializationOptions class.
|
|
DateTimeSerializationOptions ( bool dateOnly ) : System |
Initializes a new instance of the DateTimeSerializationOptions class.
|
|
DateTimeSerializationOptions ( bool dateOnly, BsonType representation ) : System |
Initializes a new instance of the DateTimeSerializationOptions class.
|
public ApplyAttribute ( IBsonSerializer serializer, |
||
serializer | IBsonSerializer | The serializer that these serialization options are for. |
attribute | The serialization options attribute. | |
return | void |
public DateTimeSerializationOptions ( ) : System | ||
return | System |
public DateTimeSerializationOptions ( DateTimeKind kind ) : System | ||
kind | DateTimeKind | The DateTimeKind (Local, Unspecified or Utc). |
return | System |
public DateTimeSerializationOptions ( DateTimeKind kind, BsonType representation ) : System | ||
kind | DateTimeKind | The DateTimeKind (Local, Unspecified or Utc). |
representation | BsonType | The external representation. |
return | System |
public DateTimeSerializationOptions ( bool dateOnly ) : System | ||
dateOnly | bool | Whether this DateTime consists of a Date only. |
return | System |
public DateTimeSerializationOptions ( bool dateOnly, BsonType representation ) : System | ||
dateOnly | bool | Whether this DateTime consists of a Date only. |
representation | BsonType | The external representation. |
return | System |