ScopeStorageDictionary
Assembly: ServiceStack.Razor.dll
View Source
Declaration
public class ScopeStorageDictionary : IDictionary<object, object>, ICollection<KeyValuePair<object, object>>, IEnumerable<KeyValuePair<object, object>>, IEnumerable
Properties
BackingStore
View Source
Declaration
protected IDictionary<object, object> BackingStore { get; }
BaseScope
View Source
Declaration
protected IDictionary<object, object> BaseScope { get; }
Keys
View Source
Declaration
public virtual ICollection<object> Keys { get; }
Values
View Source
Declaration
public virtual ICollection<object> Values { get; }
Count
View Source
Declaration
public virtual int Count { get; }
IsReadOnly
View Source
Declaration
public virtual bool IsReadOnly { get; }
Item[Object]
View Source
Declaration
public object this[object key] { get; set; }
Methods
SetValue(Object, Object)
View Source
Declaration
public virtual void SetValue(object key, object value)
Parameters
Type | Name |
---|---|
System.Object | key |
System.Object | value |
TryGetValue(Object, out Object)
View Source
Declaration
public virtual bool TryGetValue(object key, out object value)
Returns
System.Boolean
Parameters
Type | Name |
---|---|
System.Object | key |
System.Object | value |
Remove(Object)
View Source
Declaration
public virtual bool Remove(object key)
Returns
System.Boolean
Parameters
Type | Name |
---|---|
System.Object | key |
GetEnumerator()
View Source
Declaration
public virtual IEnumerator<KeyValuePair<object, object>> GetEnumerator()
Returns
System.Collections.Generic.IEnumerator<System.Collections.Generic.KeyValuePair<System.Object,System.Object>>
IEnumerable.GetEnumerator()
View Source
Declaration
IEnumerator IEnumerable.GetEnumerator()
Returns
System.Collections.IEnumerator
Add(Object, Object)
View Source
Declaration
public virtual void Add(object key, object value)
Parameters
Type | Name |
---|---|
System.Object | key |
System.Object | value |
ContainsKey(Object)
View Source
Declaration
public virtual bool ContainsKey(object key)
Returns
System.Boolean
Parameters
Type | Name |
---|---|
System.Object | key |
Add(KeyValuePair<Object, Object>)
View Source
Declaration
public virtual void Add(KeyValuePair<object, object> item)
Parameters
Type | Name |
---|---|
System.Collections.Generic.KeyValuePair<System.Object,System.Object> | item |
Clear()
View Source
Declaration
public virtual void Clear()
Contains(KeyValuePair<Object, Object>)
View Source
Declaration
public virtual bool Contains(KeyValuePair<object, object> item)
Returns
System.Boolean
Parameters
Type | Name |
---|---|
System.Collections.Generic.KeyValuePair<System.Object,System.Object> | item |
CopyTo(KeyValuePair<Object, Object>[], Int32)
View Source
Declaration
public virtual void CopyTo(KeyValuePair<object, object>[] array, int arrayIndex)
Parameters
Type | Name |
---|---|
System.Collections.Generic.KeyValuePair<System.Object,System.Object>[] | array |
System.Int32 | arrayIndex |
Remove(KeyValuePair<Object, Object>)
View Source
Declaration
public virtual bool Remove(KeyValuePair<object, object> item)
Returns
System.Boolean
Parameters
Type | Name |
---|---|
System.Collections.Generic.KeyValuePair<System.Object,System.Object> | item |
GetItems()
View Source
Declaration
protected virtual IEnumerable<KeyValuePair<object, object>> GetItems()
Returns
System.Collections.Generic.IEnumerable<System.Collections.Generic.KeyValuePair<System.Object,System.Object>>
Implements
System.Collections.Generic.IDictionary<System.Object,System.Object>
System.Collections.Generic.ICollection<System.Collections.Generic.KeyValuePair<System.Object,System.Object>>
System.Collections.Generic.IEnumerable<System.Collections.Generic.KeyValuePair<System.Object,System.Object>>
System.Collections.IEnumerable