C# 클래스 Zetetic.Ldap.MutableEntry

MutableEntry is a wrapper around a basic Zetetic.Ldap.Entry with change-tracking. You can create, inspect, rename, modify, and delete a MutableEntry, and save it to an LDAP host, without dealing with the semantics of the LDAP operations.
상속: Zetetic.Ldap.Entry, IDisposable
파일 보기 프로젝트 열기: skradel/Zetetic.Ldap 1 사용 예제들

보호된 프로퍼티들

프로퍼티 타입 설명
_changes DirectoryAttributeModification>.Dictionary

공개 메소드들

메소드 설명
AppendAttrValue ( string attrName, string value ) : void
ClearAttr ( string attrName ) : void

Replace all values of 'attrName' with the empty string.

CommitChanges ( System.DirectoryServices.Protocols.LdapConnection ldap ) : void

Send all pending changes to the directory service. If there is a pending rename / re-superior, it will fire first.

ContainsAttrValue ( string propName, object value ) : bool
CreateUncommitted ( string dn ) : MutableEntry
Delete ( System.DirectoryServices.Protocols.LdapConnection ldap ) : void
Dispose ( ) : void
GetAttrStringValue ( string propName ) : string
HasAttribute ( string attrName ) : bool
MutableEntry ( System.DirectoryServices.Protocols.SearchResultEntry se ) : System
MutableEntry ( string dn ) : System
RemoveAttrValue ( string attrName, string value ) : void

On a new/uncommitted entry, check for any in-queue Add / Replace operations on 'propName' and remove 'value' if present. On a regular existing entry, queue a deletion of the specified value.

SetAttr ( string attrName, object values ) : void

Replace the values of 'propName' with 'values'. If there is already an in-flight Replace request on 'propName', this method will add to its values.

SetAttr ( string attrName, string value ) : void

Replace the values of 'propName' with 'value'. If there is already an in-flight Replace request on 'propName', this method will add to its values.

보호된 메소드들

메소드 설명
CheckForDeletion ( ) : void
Dispose ( bool isDisposing ) : void

비공개 메소드들

메소드 설명
ChangesAsDAMC ( ) : System.DirectoryServices.Protocols.DirectoryAttributeModificationCollection

Collect the set of pending modifications for sending to the LDAP DSA

메소드 상세

AppendAttrValue() 공개 메소드

public AppendAttrValue ( string attrName, string value ) : void
attrName string
value string
리턴 void

CheckForDeletion() 보호된 메소드

protected CheckForDeletion ( ) : void
리턴 void

ClearAttr() 공개 메소드

Replace all values of 'attrName' with the empty string.
public ClearAttr ( string attrName ) : void
attrName string
리턴 void

CommitChanges() 공개 메소드

Send all pending changes to the directory service. If there is a pending rename / re-superior, it will fire first.
public CommitChanges ( System.DirectoryServices.Protocols.LdapConnection ldap ) : void
ldap System.DirectoryServices.Protocols.LdapConnection
리턴 void

ContainsAttrValue() 공개 메소드

public ContainsAttrValue ( string propName, object value ) : bool
propName string
value object
리턴 bool

CreateUncommitted() 공개 정적인 메소드

public static CreateUncommitted ( string dn ) : MutableEntry
dn string
리턴 MutableEntry

Delete() 공개 메소드

public Delete ( System.DirectoryServices.Protocols.LdapConnection ldap ) : void
ldap System.DirectoryServices.Protocols.LdapConnection
리턴 void

Dispose() 공개 메소드

public Dispose ( ) : void
리턴 void

Dispose() 보호된 메소드

protected Dispose ( bool isDisposing ) : void
isDisposing bool
리턴 void

GetAttrStringValue() 공개 메소드

public GetAttrStringValue ( string propName ) : string
propName string
리턴 string

HasAttribute() 공개 메소드

public HasAttribute ( string attrName ) : bool
attrName string
리턴 bool

MutableEntry() 공개 메소드

public MutableEntry ( System.DirectoryServices.Protocols.SearchResultEntry se ) : System
se System.DirectoryServices.Protocols.SearchResultEntry
리턴 System

MutableEntry() 공개 메소드

public MutableEntry ( string dn ) : System
dn string
리턴 System

RemoveAttrValue() 공개 메소드

On a new/uncommitted entry, check for any in-queue Add / Replace operations on 'propName' and remove 'value' if present. On a regular existing entry, queue a deletion of the specified value.
public RemoveAttrValue ( string attrName, string value ) : void
attrName string
value string
리턴 void

SetAttr() 공개 메소드

Replace the values of 'propName' with 'values'. If there is already an in-flight Replace request on 'propName', this method will add to its values.
public SetAttr ( string attrName, object values ) : void
attrName string
values object
리턴 void

SetAttr() 공개 메소드

Replace the values of 'propName' with 'value'. If there is already an in-flight Replace request on 'propName', this method will add to its values.
public SetAttr ( string attrName, string value ) : void
attrName string
value string
리턴 void

프로퍼티 상세

_changes 보호되어 있는 프로퍼티

protected Dictionary _changes
리턴 DirectoryAttributeModification>.Dictionary