Energy Core Library
Energy.Base.Collection.StringDictionary< T > Class Template Reference
Inheritance diagram for Energy.Base.Collection.StringDictionary< T >:

Public Member Functions

 StringDictionary ()
 
 StringDictionary (string[] keyValuePairArray)
 
Get (string key)
 
Energy.Base.Collection.StringDictionary< T > Get (string key, out T value)
 
Energy.Base.Collection.StringDictionary< T > Set (string key, T value)
 
Energy.Base.Collection.StringDictionary< T > Set (string[] array)
 
new void Add (string key, T value)
 
string [] ToArray (string separator)
 
object [] ToObjectArray ()
 
object [] ToArray< TToArray > ()
 
string [] ToArray ()
 
XmlSchema GetSchema ()
 
void ReadXml (XmlReader reader)
 
void WriteXml (XmlWriter writer)
 
new bool ContainsKey (string key)
 
string ToString (string glue)
 Return array as multiline string containing key value pairs concatenated with glue string. More...
 
string [] GetKeyArray ()
 Get array of keys More...
 
T [] GetValueArray ()
 Get array of values More...
 
StringDictionary< T > Filter (MatchStyle matchStyle, MatchMode matchMode, bool ignoreCase, string[] filters)
 Filter out dictionary by one or more filters using specified matching style and mode. More...
 
StringDictionary< T > Filter (MatchMode matchMode, bool ignoreCase, string[] filters)
 Filter out dictionary by one or more filters using specified matching mode. More...
 
new StringDictionary Filter (MatchStyle matchStyle, MatchMode matchMode, bool ignoreCase, string[] filters)
 Filter out dictionary by one or more filters using specified matching style and mode. More...
 
new StringDictionary Filter (MatchMode matchMode, bool ignoreCase, string[] filters)
 Filter out dictionary by one or more filters using specified matching mode. More...
 

Public Attributes

Dictionary< string, string > Index = null
 Index of keys for case insensitive option More...
 

Properties

bool CaseSensitive [get, set]
 Should keys be case sensitive (default) or case insensitive. When set to false lower key names will be treated as upper. More...
 
string XmlParentSeparator [get, set]
 XmlParentSeparator More...
 
string XmlEscapeString [get, set]
 XmlSpecialCharacter More...
 
new T this[string key] [get, set]
 

Constructor & Destructor Documentation

◆ StringDictionary() [1/2]

◆ StringDictionary() [2/2]

Energy.Base.Collection.StringDictionary< T >.StringDictionary ( string []  keyValuePairArray)

Member Function Documentation

◆ Add()

new void Energy.Base.Collection.StringDictionary< T >.Add ( string  key,
value 
)

◆ ContainsKey()

new bool Energy.Base.Collection.StringDictionary< T >.ContainsKey ( string  key)

◆ Filter() [1/4]

StringDictionary<T> Energy.Base.Collection.StringDictionary< T >.Filter ( MatchStyle  matchStyle,
MatchMode  matchMode,
bool  ignoreCase,
string []  filters 
)

Filter out dictionary by one or more filters using specified matching style and mode.

Parameters
matchStyle
matchMode
ignoreCase
filters
Returns

◆ Filter() [2/4]

StringDictionary<T> Energy.Base.Collection.StringDictionary< T >.Filter ( MatchMode  matchMode,
bool  ignoreCase,
string []  filters 
)

Filter out dictionary by one or more filters using specified matching mode.

Parameters
matchMode
ignoreCase
filters
Returns

◆ Filter() [3/4]

new StringDictionary Energy.Base.Collection.StringDictionary< T >.Filter ( MatchStyle  matchStyle,
MatchMode  matchMode,
bool  ignoreCase,
string []  filters 
)

Filter out dictionary by one or more filters using specified matching style and mode.

Parameters
matchStyle
matchMode
ignoreCase
filters
Returns

◆ Filter() [4/4]

new StringDictionary Energy.Base.Collection.StringDictionary< T >.Filter ( MatchMode  matchMode,
bool  ignoreCase,
string []  filters 
)

Filter out dictionary by one or more filters using specified matching mode.

Parameters
matchMode
ignoreCase
filters
Returns

◆ Get() [1/2]

T Energy.Base.Collection.StringDictionary< T >.Get ( string  key)

◆ Get() [2/2]

◆ GetKeyArray()

string [] Energy.Base.Collection.StringDictionary< T >.GetKeyArray ( )

Get array of keys

Returns

◆ GetSchema()

XmlSchema Energy.Base.Collection.StringDictionary< T >.GetSchema ( )

◆ GetValueArray()

T [] Energy.Base.Collection.StringDictionary< T >.GetValueArray ( )

Get array of values

Returns

◆ ReadXml()

void Energy.Base.Collection.StringDictionary< T >.ReadXml ( XmlReader  reader)

◆ Set() [1/2]

◆ Set() [2/2]

◆ ToArray() [1/2]

string [] Energy.Base.Collection.StringDictionary< T >.ToArray ( string  separator)

◆ ToArray() [2/2]

string [] Energy.Base.Collection.StringDictionary< T >.ToArray ( )

◆ ToArray< TToArray >()

object [] Energy.Base.Collection.StringDictionary< T >.ToArray< TToArray > ( )

◆ ToObjectArray()

object [] Energy.Base.Collection.StringDictionary< T >.ToObjectArray ( )

◆ ToString()

string Energy.Base.Collection.StringDictionary< T >.ToString ( string  glue)

Return array as multiline string containing key value pairs concatenated with glue string.

Parameters
glue
Returns

◆ WriteXml()

void Energy.Base.Collection.StringDictionary< T >.WriteXml ( XmlWriter  writer)

Member Data Documentation

◆ Index

Dictionary<string, string> Energy.Base.Collection.StringDictionary< T >.Index = null

Index of keys for case insensitive option

Property Documentation

◆ CaseSensitive

bool Energy.Base.Collection.StringDictionary< T >.CaseSensitive
getset

Should keys be case sensitive (default) or case insensitive. When set to false lower key names will be treated as upper.

◆ this[string key]

new T Energy.Base.Collection.StringDictionary< T >.this[string key]
getset

◆ XmlEscapeString

string Energy.Base.Collection.StringDictionary< T >.XmlEscapeString
getset

XmlSpecialCharacter

◆ XmlParentSeparator

string Energy.Base.Collection.StringDictionary< T >.XmlParentSeparator
getset

XmlParentSeparator


The documentation for this class was generated from the following file: