Class Value
A simple non mutable container for values This will do all the encoding and other validations
Inheritance
Inherited Members
Namespace: Dapplo.ActiveDirectory.Entities
Assembly: Dapplo.ActiveDirectory.dll
Syntax
public class Value
Properties
| Improve this Doc View SourceAny
The resulting value will make it possible to search for properties which have a value (are not empty)
Declaration
public static Value Any { get; }
Property Value
Type | Description |
---|---|
Value | Value |
RawValue
The raw value is used in the query, and is the encoded value
Declaration
public string RawValue { get; }
Property Value
Type | Description |
---|---|
System.String |
Methods
| Improve this Doc View SourceContains(String)
The resulting value will make it possible to search for properties which contain specified value
Declaration
public static Value Contains(string value)
Parameters
Type | Name | Description |
---|---|---|
System.String | value | your value |
Returns
Type | Description |
---|---|
Value | Value |
EndsWith(String)
The resulting value will make it possible to search for properties which end with the specified value
Declaration
public static Value EndsWith(string value)
Parameters
Type | Name | Description |
---|---|---|
System.String | value | your value |
Returns
Type | Description |
---|---|
Value | Value |
Raw(String)
The resulting value uses the passed string without conversion
Declaration
public static Value Raw(string value)
Parameters
Type | Name | Description |
---|---|---|
System.String | value | your value |
Returns
Type | Description |
---|---|
Value | Value |
StartsWith(String)
The resulting value will make it possible to search for properties which start with the specified value
Declaration
public static Value StartsWith(string value)
Parameters
Type | Name | Description |
---|---|---|
System.String | value | your value |
Returns
Type | Description |
---|---|
Value | Value |
ToString()
The to string makes a readable string (decoding is done)
Declaration
public override string ToString()
Returns
Type | Description |
---|---|
System.String |
Overrides
Operators
| Improve this Doc View SourceImplicit(Value to String)
Add implicit casting to string
Declaration
public static implicit operator string (Value value)
Parameters
Type | Name | Description |
---|---|---|
Value | value | string |
Returns
Type | Description |
---|---|
System.String |
Implicit(Enum to Value)
Add implicit casting from enum
Declaration
public static implicit operator Value(Enum value)
Parameters
Type | Name | Description |
---|---|---|
System.Enum | value | string |
Returns
Type | Description |
---|---|
Value |
Implicit(Int32 to Value)
Add implicit casting from string
Declaration
public static implicit operator Value(int value)
Parameters
Type | Name | Description |
---|---|---|
System.Int32 | value | string |
Returns
Type | Description |
---|---|
Value |
Implicit(String to Value)
Add implicit casting from string
Declaration
public static implicit operator Value(string value)
Parameters
Type | Name | Description |
---|---|---|
System.String | value | string |
Returns
Type | Description |
---|---|
Value |