C# 클래스 MongoUtility.Command.ElementHelper

파일 보기 프로젝트 열기: magicdict/MongoCola

공개 프로퍼티들

프로퍼티 타입 설명
ClipElement object
IsElementClip bool

공개 메소드들

메소드 설명
AddArrayValue ( string elementPath, BsonValue addValue, BsonDocument currentDocument, MongoCollection currentCollection ) : void

Add Value

AddElement ( string elementPath, BsonElement addElement, BsonDocument currentDocument, MongoCollection currentCollection ) : string

Add Element

CopyElement ( BsonElement el ) : void

Cut Element

CopyValue ( BsonValue val ) : void

Cut Array Value

CutElement ( string elementPath, BsonElement el, BsonDocument currentDocument, MongoCollection currentCollection ) : void

Cut Element

CutValue ( string elementPath, int valueIndex, BsonValue val, BsonDocument currentDocument, MongoCollection currentCollection ) : void

Cut Array Value

DropArrayValue ( string elementPath, int valueIndex, BsonDocument currentDocument, MongoCollection currentCollection ) : void

Drop A Value of Array

DropElement ( string elementPath, BsonElement el, BsonDocument currentDocument, MongoCollection currentCollection ) : void

Drop Element

GetLastParentDocument ( BsonDocument baseDoc, string elementPath, bool isGetLast ) : BsonValue

Locate the Operation Place

ModifyArrayValue ( string elementPath, BsonValue newValue, int valueIndex, BsonDocument currentDocument, MongoCollection currentCollection ) : void

Modify A Value of Array

ModifyElement ( string elementPath, BsonValue newValue, BsonElement el, BsonDocument currentDocument, MongoCollection currentCollection ) : void

Modify Element

PasteElement ( string elementPath, BsonDocument currentDocument, MongoCollection currentCollection ) : string

Paste

PasteValue ( string elementPath, BsonDocument currentDocument, MongoCollection currentCollection ) : void

메소드 상세

AddArrayValue() 공개 정적인 메소드

Add Value
public static AddArrayValue ( string elementPath, BsonValue addValue, BsonDocument currentDocument, MongoCollection currentCollection ) : void
elementPath string
addValue BsonValue
currentDocument BsonDocument
currentCollection MongoCollection
리턴 void

AddElement() 공개 정적인 메소드

Add Element
public static AddElement ( string elementPath, BsonElement addElement, BsonDocument currentDocument, MongoCollection currentCollection ) : string
elementPath string
addElement BsonElement
currentDocument BsonDocument
currentCollection MongoCollection
리턴 string

CopyElement() 공개 정적인 메소드

Cut Element
public static CopyElement ( BsonElement el ) : void
el BsonElement
리턴 void

CopyValue() 공개 정적인 메소드

Cut Array Value
public static CopyValue ( BsonValue val ) : void
val BsonValue
리턴 void

CutElement() 공개 정적인 메소드

Cut Element
public static CutElement ( string elementPath, BsonElement el, BsonDocument currentDocument, MongoCollection currentCollection ) : void
elementPath string
el BsonElement
currentDocument BsonDocument
currentCollection MongoCollection
리턴 void

CutValue() 공개 정적인 메소드

Cut Array Value
public static CutValue ( string elementPath, int valueIndex, BsonValue val, BsonDocument currentDocument, MongoCollection currentCollection ) : void
elementPath string
valueIndex int
val BsonValue
currentDocument BsonDocument
currentCollection MongoCollection
리턴 void

DropArrayValue() 공개 정적인 메소드

Drop A Value of Array
public static DropArrayValue ( string elementPath, int valueIndex, BsonDocument currentDocument, MongoCollection currentCollection ) : void
elementPath string
valueIndex int
currentDocument BsonDocument
currentCollection MongoCollection
리턴 void

DropElement() 공개 정적인 메소드

Drop Element
public static DropElement ( string elementPath, BsonElement el, BsonDocument currentDocument, MongoCollection currentCollection ) : void
elementPath string
el BsonElement
currentDocument BsonDocument
currentCollection MongoCollection
리턴 void

GetLastParentDocument() 공개 정적인 메소드

Locate the Operation Place
public static GetLastParentDocument ( BsonDocument baseDoc, string elementPath, bool isGetLast ) : BsonValue
baseDoc BsonDocument
elementPath string
isGetLast bool T:GetOperationPlace F:GetOperationPlace Parent
리턴 BsonValue

ModifyArrayValue() 공개 정적인 메소드

Modify A Value of Array
public static ModifyArrayValue ( string elementPath, BsonValue newValue, int valueIndex, BsonDocument currentDocument, MongoCollection currentCollection ) : void
elementPath string
newValue BsonValue
valueIndex int
currentDocument BsonDocument
currentCollection MongoCollection
리턴 void

ModifyElement() 공개 정적인 메소드

Modify Element
public static ModifyElement ( string elementPath, BsonValue newValue, BsonElement el, BsonDocument currentDocument, MongoCollection currentCollection ) : void
elementPath string
newValue BsonValue
el BsonElement
currentDocument BsonDocument
currentCollection MongoCollection
리턴 void

PasteElement() 공개 정적인 메소드

Paste
public static PasteElement ( string elementPath, BsonDocument currentDocument, MongoCollection currentCollection ) : string
elementPath string
currentDocument BsonDocument
currentCollection MongoCollection
리턴 string

PasteValue() 공개 정적인 메소드

public static PasteValue ( string elementPath, BsonDocument currentDocument, MongoCollection currentCollection ) : void
elementPath string
currentDocument BsonDocument
currentCollection MongoCollection
리턴 void

프로퍼티 상세

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

public static object ClipElement
리턴 object

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

public static bool IsElementClip
리턴 bool