Show / Hide Table of Contents

Class Whitelist

Represents a whitelist of attribute keys.

Inheritance
System.Object
Whitelist
Namespace: System.Dynamic.ExpandoObject
Assembly: cs.temp.dll.dll
Syntax
public class Whitelist : IEnumerable<string>

Constructors

Whitelist()

Creates a new whitelist.

Declaration
public Whitelist()

Whitelist(HashSet<String>)

Creates a new whitelist.

Declaration
public Whitelist(HashSet<string> whitelist)
Parameters
HashSet<System.String> whitelist

Fields

Dummy

The dummy whitelist.

Declaration
public static Whitelist Dummy
Field Value
Whitelist

Properties

Count

Gets the number of items.

Declaration
public int Count { get; }
Property Value
System.Int32

IsDummy

Returns true if this is a dummy whitelist.

Declaration
public bool IsDummy { get; }
Property Value
System.Boolean

Methods

Add(String)

Sets the given key.

Declaration
public void Add(string key)
Parameters
System.String key

Clear()

Clears this whitelist.

Declaration
public void Clear()

Contains(String)

Returns true if the given keys in this whitelist.

Declaration
public bool Contains(string key)
Parameters
System.String key

Returns
System.Boolean

GetEnumerator()

Gets the enumerator.

Declaration
public IEnumerator<string> GetEnumerator()
Returns
IEnumerator<System.String>

Back to top Built by Itinero, MIT licensed.