ScriptStack 1.0.0
A .NET scripting language
|
Öffentliche Methoden | |
ReadOnlyICollection (ICollection< T > collectionToWrap) | |
Initializes a new instance of the ReadOnlyICollection<T> class. | |
void | Add (T item) |
Add does not change a ReadOnlyICollection. | |
void | Clear () |
Clear does not change a ReadOnlyICollection. | |
bool | Contains (T item) |
Determines whether the T:System.Collections.Generic.ICollection`1 contains a specific value. | |
void | CopyTo (T[] array, int arrayIndex) |
Copies the elements of the T:System.Collections.Generic.ICollection`1 to an T:System.Array, starting at a particular T:System.Array index. | |
bool | Remove (T item) |
Remove does not change a ReadOnlyICollection. | |
IEnumerator< T > | GetEnumerator () |
Returns an enumerator that iterates through the collection. | |
Öffentliche, statische Methoden | |
static ReadOnlyICollection< T > | AsReadOnly (ICollection< T > collectionToWrap) |
Returned a read only wrapper around the collectionToWrap. | |
Propertys | |
bool | IsReadOnly [get] |
Gets a value indicating whether the T:System.Collections.Generic.ICollection`1 is read-only. | |
int | Count [get] |
Gets the number of elements contained in the T:System.Collections.Generic.ICollection`1. | |
Private Methoden | |
IEnumerator IEnumerable. | GetEnumerator () |
Returns an enumerator that iterates through a collection. | |
Private Attribute | |
ICollection< T > | m_collection |
ScriptStack.Collections.ReadOnlyICollection< T >.ReadOnlyICollection | ( | ICollection< T > | collectionToWrap | ) |
Initializes a new instance of the ReadOnlyICollection<T> class.
collectionToWrap | The collection to wrap. |
Benutzt ScriptStack.Collections.ReadOnlyICollection< T >.m_collection.
void ScriptStack.Collections.ReadOnlyICollection< T >.Add | ( | T | item | ) |
Add does not change a ReadOnlyICollection.
item | The object to add to the T:System.Collections.Generic.ICollection`1. |
T:System.NotSupportedException | The T:System.Collections.Generic.ICollection`1 is read-only. |
|
static |
Returned a read only wrapper around the collectionToWrap.
collectionToWrap | The collection to wrap. |
void ScriptStack.Collections.ReadOnlyICollection< T >.Clear | ( | ) |
Clear does not change a ReadOnlyICollection.
T:System.NotSupportedException | The T:System.Collections.Generic.ICollection`1 is read-only. |
bool ScriptStack.Collections.ReadOnlyICollection< T >.Contains | ( | T | item | ) |
Determines whether the T:System.Collections.Generic.ICollection`1 contains a specific value.
item | The object to locate in the T:System.Collections.Generic.ICollection`1. |
Benutzt ScriptStack.Collections.ReadOnlyDictionary< TKey, TValue >.Contains() und ScriptStack.Collections.ReadOnlyICollection< T >.m_collection.
void ScriptStack.Collections.ReadOnlyICollection< T >.CopyTo | ( | T[] | array, |
int | arrayIndex ) |
Copies the elements of the T:System.Collections.Generic.ICollection`1 to an T:System.Array, starting at a particular T:System.Array index.
array | The one-dimensional T:System.Array that is the destination of the elements copied from T:System.Collections.Generic.ICollection`1. The T:System.Array must have zero-based indexing. |
arrayIndex | The zero-based index in array at which copying begins. |
T:System.ArgumentOutOfRangeException | arrayIndex is less than 0. |
T:System.ArgumentNullException | array is null. |
T:System.ArgumentException | array is multidimensional.-or-arrayIndex is equal to or greater than the length of array.-or-The number of elements in the source T:System.Collections.Generic.ICollection`1 is greater than the available space from arrayIndex to the end of the destination array.-or-Type T cannot be cast automatically to the type of the destination array. |
Benutzt ScriptStack.Collections.ReadOnlyDictionary< TKey, TValue >.CopyTo() und ScriptStack.Collections.ReadOnlyICollection< T >.m_collection.
|
private |
Returns an enumerator that iterates through a collection.
Benutzt ScriptStack.Collections.ReadOnlyDictionary< TKey, TValue >.GetEnumerator() und ScriptStack.Collections.ReadOnlyICollection< T >.m_collection.
IEnumerator< T > ScriptStack.Collections.ReadOnlyICollection< T >.GetEnumerator | ( | ) |
Returns an enumerator that iterates through the collection.
Benutzt ScriptStack.Collections.ReadOnlyDictionary< TKey, TValue >.GetEnumerator() und ScriptStack.Collections.ReadOnlyICollection< T >.m_collection.
bool ScriptStack.Collections.ReadOnlyICollection< T >.Remove | ( | T | item | ) |
Remove does not change a ReadOnlyICollection.
item | The object to remove from the T:System.Collections.Generic.ICollection`1. |
T:System.NotSupportedException | The T:System.Collections.Generic.ICollection`1 is read-only. |
|
private |
|
get |
Gets the number of elements contained in the T:System.Collections.Generic.ICollection`1.
|
get |
Gets a value indicating whether the T:System.Collections.Generic.ICollection`1 is read-only.