C# Class Prototype.Platform.Mongo.MongoExtensions

Afficher le fichier Open project: paralect/prototype

Méthodes publiques

Свойство Type Description
DefaultDateTime System.DateTime

Méthodes publiques

Méthode Description
GetBool ( this doc, string key, bool defaultValue = false ) : bool
GetBsonArray ( this doc, string key ) : BsonArray
GetBsonDocument ( this doc, string key ) : BsonDocument
GetDateTime ( this doc, string key, System.DateTime defaultValue = default(DateTime) ) : System.DateTime
GetDouble ( this doc, string key, Double defaultValue ) : Double
GetInt ( this doc, string key, Int32 defaultValue ) : Int32
GetInt32 ( this doc, string key, Int32 defaultValue ) : Int32
GetString ( this doc, string key, string defaultValue = "" ) : string

Method Details

GetBool() public static méthode

public static GetBool ( this doc, string key, bool defaultValue = false ) : bool
doc this
key string
defaultValue bool
Résultat bool

GetBsonArray() public static méthode

public static GetBsonArray ( this doc, string key ) : BsonArray
doc this
key string
Résultat BsonArray

GetBsonDocument() public static méthode

public static GetBsonDocument ( this doc, string key ) : BsonDocument
doc this
key string
Résultat BsonDocument

GetDateTime() public static méthode

public static GetDateTime ( this doc, string key, System.DateTime defaultValue = default(DateTime) ) : System.DateTime
doc this
key string
defaultValue System.DateTime
Résultat System.DateTime

GetDouble() public static méthode

public static GetDouble ( this doc, string key, Double defaultValue ) : Double
doc this
key string
defaultValue Double
Résultat Double

GetInt() public static méthode

public static GetInt ( this doc, string key, Int32 defaultValue ) : Int32
doc this
key string
defaultValue System.Int32
Résultat System.Int32

GetInt32() public static méthode

public static GetInt32 ( this doc, string key, Int32 defaultValue ) : Int32
doc this
key string
defaultValue System.Int32
Résultat System.Int32

GetString() public static méthode

public static GetString ( this doc, string key, string defaultValue = "" ) : string
doc this
key string
defaultValue string
Résultat string

Property Details

DefaultDateTime public_oe static_oe property

public static DateTime,System DefaultDateTime
Résultat System.DateTime