C# Class Zetetic.Ldap.Schema.SchemaInfoBase

Inheritance: ISchemaInfo
Show file Open project: skradel/Zetetic.Ldap

Protected Properties

Property Type Description
_attrs AttributeSchema>.Dictionary
_ocs ObjectClassSchema>.Dictionary
_schemaExtensions AttrLangType>.Dictionary

Public Methods

Method Description
GetAttribute ( string attrName ) : AttributeSchema
GetObjectClass ( string ocName ) : ObjectClassSchema
GetValuesAsLanguageType ( System.DirectoryServices.Protocols.SearchResultEntry se, string attrName ) : ReadOnlyCollection
Initialize ( System.DirectoryServices.Protocols.LdapConnection conn ) : void
LoadExtension ( string path ) : void

Supplement the schema reader's knowledge of attribute-OID-to-usable-type mappings from an XML file; see the serialization hints in SchemaExtension.cs

Protected Methods

Method Description
InferType ( string syntaxOid ) : AttrLangType
StringOrNull ( System.DirectoryServices.Protocols.SearchResultEntry se, string attrName ) : string

Method Details

GetAttribute() public method

public GetAttribute ( string attrName ) : AttributeSchema
attrName string
return AttributeSchema

GetObjectClass() public method

public GetObjectClass ( string ocName ) : ObjectClassSchema
ocName string
return ObjectClassSchema

GetValuesAsLanguageType() public method

public GetValuesAsLanguageType ( System.DirectoryServices.Protocols.SearchResultEntry se, string attrName ) : ReadOnlyCollection
se System.DirectoryServices.Protocols.SearchResultEntry
attrName string
return ReadOnlyCollection

InferType() protected method

protected InferType ( string syntaxOid ) : AttrLangType
syntaxOid string
return AttrLangType

Initialize() public abstract method

public abstract Initialize ( System.DirectoryServices.Protocols.LdapConnection conn ) : void
conn System.DirectoryServices.Protocols.LdapConnection
return void

LoadExtension() public method

Supplement the schema reader's knowledge of attribute-OID-to-usable-type mappings from an XML file; see the serialization hints in SchemaExtension.cs
public LoadExtension ( string path ) : void
path string
return void

StringOrNull() protected static method

protected static StringOrNull ( System.DirectoryServices.Protocols.SearchResultEntry se, string attrName ) : string
se System.DirectoryServices.Protocols.SearchResultEntry
attrName string
return string

Property Details

_attrs protected property

protected Dictionary _attrs
return AttributeSchema>.Dictionary

_ocs protected property

protected Dictionary _ocs
return ObjectClassSchema>.Dictionary

_schemaExtensions protected property

protected Dictionary _schemaExtensions
return AttrLangType>.Dictionary