Class Property
A simple non mutable container for properties This will do all the encoding and other validations
Inheritance
Inherited Members
Namespace: Dapplo.ActiveDirectory.Entities
Assembly: Dapplo.ActiveDirectory.dll
Syntax
public class Property
Methods
| Improve this Doc View SourceBitAnd(Property)
This creates a property with the LDAP_MATCHING_RULE_BIT_AND rule
Declaration
public static Property BitAnd(Property property)
Parameters
Type | Name | Description |
---|---|---|
Property | property | The property |
Returns
Type | Description |
---|---|
Property | Property |
BitOr(Property)
This creates a property with the LDAP_MATCHING_RULE_BIT_OR rule
Declaration
public static Property BitOr(Property property)
Parameters
Type | Name | Description |
---|---|---|
Property | property | The property |
Returns
Type | Description |
---|---|
Property | Property |
DnWithData(Property)
This creates a property with the LDAP_MATCHING_RULE_DN_WITH_DATA rule
Declaration
public static Property DnWithData(Property property)
Parameters
Type | Name | Description |
---|---|---|
Property | property | The property |
Returns
Type | Description |
---|---|
Property | Property |
InChain(Property)
This creates a property with the LDAP_MATCHING_RULE_IN_CHAIN rule
Declaration
public static Property InChain(Property property)
Parameters
Type | Name | Description |
---|---|---|
Property | property | The property |
Returns
Type | Description |
---|---|
Property | Property |
ToString()
The to string makes a readable string (decoding is done)
Declaration
public override string ToString()
Returns
Type | Description |
---|---|
System.String |
Overrides
TransitiveEval(Property)
This creates a property with the LDAP_MATCHING_RULE_TRANSITIVE_EVAL rule
Declaration
public static Property TransitiveEval(Property property)
Parameters
Type | Name | Description |
---|---|---|
Property | property | The property |
Returns
Type | Description |
---|---|
Property | Property |
WithRule(Property, Property)
This creates a property with a rule, looks like this: "property:rule:"
Declaration
public static Property WithRule(Property property, Property rule)
Parameters
Type | Name | Description |
---|---|---|
Property | property | The property |
Property | rule | The property |
Returns
Type | Description |
---|---|
Property | Property |
Operators
| Improve this Doc View SourceImplicit(Property to String)
Add implicit casting to string
Declaration
public static implicit operator string (Property property)
Parameters
Type | Name | Description |
---|---|---|
Property | property | Property |
Returns
Type | Description |
---|---|
System.String |
Implicit(Enum to Property)
Add implicit casting from enum
Declaration
public static implicit operator Property(Enum property)
Parameters
Type | Name | Description |
---|---|---|
System.Enum | property | Enum |
Returns
Type | Description |
---|---|
Property |
Implicit(String to Property)
Add implicit casting from string
Declaration
public static implicit operator Property(string property)
Parameters
Type | Name | Description |
---|---|---|
System.String | property | string |
Returns
Type | Description |
---|---|
Property |