C# Класс MongoDB.Bson.Serialization.Attributes.BsonTimeSpanOptionsAttribute

Наследование: BsonSerializationOptionsAttribute
Показать файл Открыть проект

Открытые методы

Метод Описание
BsonTimeSpanOptionsAttribute ( BsonType representation ) : System

Initializes a new instance of the BsonTimeSpanOptionsAttribute class.

BsonTimeSpanOptionsAttribute ( BsonType representation, TimeSpanUnits units ) : System

Initializes a new instance of the BsonTimeSpanOptionsAttribute class.

Описание методов

BsonTimeSpanOptionsAttribute() публичный Метод

Initializes a new instance of the BsonTimeSpanOptionsAttribute class.
public BsonTimeSpanOptionsAttribute ( BsonType representation ) : System
representation BsonType The external representation.
Результат System

BsonTimeSpanOptionsAttribute() публичный Метод

Initializes a new instance of the BsonTimeSpanOptionsAttribute class.
public BsonTimeSpanOptionsAttribute ( BsonType representation, TimeSpanUnits units ) : System
representation BsonType The external representation.
units TimeSpanUnits The TimeSpanUnits.
Результат System