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) | |
void | Add(string key, Value value) |
bool | ContainsKey(string key) |
bool | Remove(string key) |
bool | TryGetValue(string key, out Value value) |
void | Add(KeyValuePair< string, Value > item) |
void | Clear() |
bool | Contains(KeyValuePair< string, Value > item) |
bool | Remove(KeyValuePair< string, Value > item) |
IEnumerator< KeyValuePair< string, Value > > | GetEnumerator() |
void | Add(object key, object value) |
bool | Contains(object key) |
void | Remove(object key) |
void | CopyTo(Array array, int index) |
Public Properties
Name | |
---|---|
ICollection< string > | Keys |
ICollection< Value > | Values |
Value | this[string key] |
int | Count |
bool | IsReadOnly |
bool | IsFixedSize |
object | this[object key] |
bool | IsSynchronized |
object | SyncRoot |
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;