• Articles
  • Api Documentation
Show / Hide Table of Contents
  • Dapplo.ActiveDirectory
    • ActiveDirectoryExtensions
    • ActiveDirectoryGlobals
    • AdPropertyAttribute
    • IAdObject
    • IAdObjectFactory
  • Dapplo.ActiveDirectory.Entities
    • Comparisons
    • DistinguishedName
    • Operators
    • Property
    • PropertyComparison
    • Query
    • QueryElement
    • Value
  • Dapplo.ActiveDirectory.Enums
    • AdProperties
    • ClassNames
    • ComputerProperties
    • DistinguishedNameAttributes
    • UserAccountControlFlags
    • UserProperties
  • Dapplo.ActiveDirectory.Extensions
    • AdDateTimeExtensions
    • DirectoryEntryPropertyExtensions
    • EnumExtensions
    • PropertyInfoExtension
  • Dapplo.ActiveDirectory.Finder
    • FinderAddonModule
    • Startup
  • Dapplo.ActiveDirectory.Finder.Configuration
    • IFinderTranslations
  • Dapplo.ActiveDirectory.Finder.Entities
    • IUser
  • Dapplo.ActiveDirectory.Finder.Ui.ViewModels
    • FinderViewModel
  • Dapplo.ActiveDirectory.Finder.Ui.Views
    • FinderView
  • Dapplo.ActiveDirectory.Internal
    • IAdsLargeInteger
    • IADsSecurityDescriptor
    • SimpleDictionaryProxy

Class Value

A simple non mutable container for values This will do all the encoding and other validations

Inheritance
System.Object
Value
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
Namespace: Dapplo.ActiveDirectory.Entities
Assembly: Dapplo.ActiveDirectory.dll
Syntax
public class Value

Properties

| Improve this Doc View Source

Any

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

| Improve this Doc View Source

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 Source

Contains(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

| Improve this Doc View Source

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

| Improve this Doc View Source

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

| Improve this Doc View Source

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

| Improve this Doc View Source

ToString()

The to string makes a readable string (decoding is done)

Declaration
public override string ToString()
Returns
Type Description
System.String
Overrides
System.Object.ToString()

Operators

| Improve this Doc View Source

Implicit(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
| Improve this Doc View Source

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
| Improve this Doc View Source

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
| Improve this Doc View Source

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
  • Improve this Doc
  • View Source
In This Article
Back to top Copyright © Dapplo