cohtml.Net.ValueObject

Class for compound JavaScript objects, behaves like a Dictionary type string, value class Value

Inherits from IDictionary< string, Value >, IDictionary

Public Functions

Name
ValueObject()
ValueObject(Dictionary< string, Value > properties)
voidAdd(string key, Value value)
boolContainsKey(string key)
boolRemove(string key)
boolTryGetValue(string key, out Value value)
voidAdd(KeyValuePair< string, Value > item)
voidClear()
boolContains(KeyValuePair< string, Value > item)
boolRemove(KeyValuePair< string, Value > item)
IEnumerator< KeyValuePair< string, Value > >GetEnumerator()
voidAdd(object key, object value)
boolContains(object key)
voidRemove(object key)
voidCopyTo(Array array, int index)

Public Properties

Name
ICollection< string >Keys
ICollection< Value >Values
Valuethis[string key]
intCount
boolIsReadOnly
boolIsFixedSize
objectthis[object key]
boolIsSynchronized
objectSyncRoot

Public Functions Documentation

function ValueObject

ValueObject()

function ValueObject

ValueObject(
    Dictionary< string, Value > properties
)

function Add

void Add(
    string key,
    Value value
)

function ContainsKey

bool ContainsKey(
    string key
)

function Remove

bool Remove(
    string key
)

function TryGetValue

bool TryGetValue(
    string key,
    out Value value
)

function Add

void Add(
    KeyValuePair< string, Value > item
)

function Clear

void Clear()

function Contains

bool Contains(
    KeyValuePair< string, Value > item
)

function Remove

bool Remove(
    KeyValuePair< string, Value > item
)

function GetEnumerator

IEnumerator< KeyValuePair< string, Value > > GetEnumerator()

function Add

void Add(
    object key,
    object value
)

function Contains

bool Contains(
    object key
)

function Remove

void Remove(
    object key
)

function CopyTo

void CopyTo(
    Array array,
    int index
)

Public Property Documentation

property Keys

ICollection< string > Keys;

property Values

ICollection< Value > Values;

property this[string key]

Value this[string key];

property Count

int Count;

property IsReadOnly

bool IsReadOnly;

property IsFixedSize

bool IsFixedSize;

property this[object key]

object this[object key];

property IsSynchronized

bool IsSynchronized;

property SyncRoot

object SyncRoot;