C# 클래스 Prototype.Platform.Mongo.MongoExtensions

파일 보기 프로젝트 열기: paralect/prototype

공개 프로퍼티들

프로퍼티 타입 설명
DefaultDateTime System.DateTime

공개 메소드들

메소드 설명
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

메소드 상세

GetBool() 공개 정적인 메소드

public static GetBool ( this doc, string key, bool defaultValue = false ) : bool
doc this
key string
defaultValue bool
리턴 bool

GetBsonArray() 공개 정적인 메소드

public static GetBsonArray ( this doc, string key ) : BsonArray
doc this
key string
리턴 BsonArray

GetBsonDocument() 공개 정적인 메소드

public static GetBsonDocument ( this doc, string key ) : BsonDocument
doc this
key string
리턴 BsonDocument

GetDateTime() 공개 정적인 메소드

public static GetDateTime ( this doc, string key, System.DateTime defaultValue = default(DateTime) ) : System.DateTime
doc this
key string
defaultValue System.DateTime
리턴 System.DateTime

GetDouble() 공개 정적인 메소드

public static GetDouble ( this doc, string key, Double defaultValue ) : Double
doc this
key string
defaultValue Double
리턴 Double

GetInt() 공개 정적인 메소드

public static GetInt ( this doc, string key, Int32 defaultValue ) : Int32
doc this
key string
defaultValue System.Int32
리턴 System.Int32

GetInt32() 공개 정적인 메소드

public static GetInt32 ( this doc, string key, Int32 defaultValue ) : Int32
doc this
key string
defaultValue System.Int32
리턴 System.Int32

GetString() 공개 정적인 메소드

public static GetString ( this doc, string key, string defaultValue = "" ) : string
doc this
key string
defaultValue string
리턴 string

프로퍼티 상세

DefaultDateTime 공개적으로 정적으로 프로퍼티

public static DateTime,System DefaultDateTime
리턴 System.DateTime