Click or drag to resize
DigitalRuneTerrainLayerCollection Class
Manages the layers of a terrain tile.
Inheritance Hierarchy
SystemObject
  System.Collections.ObjectModelCollectionTerrainLayer
    DigitalRune.GraphicsTerrainLayerCollection

Namespace: DigitalRune.Graphics
Assembly: DigitalRune.Graphics (in DigitalRune.Graphics.dll) Version: 1.2.0.0 (1.2.1.14562)
Syntax
public class TerrainLayerCollection : Collection<TerrainLayer>, 
	ICollection<TerrainLayer>, IEnumerable<TerrainLayer>, IEnumerable

The TerrainLayerCollection type exposes the following members.

Constructors
  NameDescription
Public methodTerrainLayerCollection
Initializes a new instance of the TerrainLayerCollection class.
Top
Methods
  NameDescription
Public methodAdd (Inherited from CollectionTerrainLayer.)
Public methodClear (Inherited from CollectionTerrainLayer.)
Protected methodClearItems (Overrides CollectionTClearItems.)
Public methodContains (Inherited from CollectionTerrainLayer.)
Public methodCopyTo (Inherited from CollectionTerrainLayer.)
Public methodEquals
Determines whether the specified Object is equal to the current Object.
(Inherited from Object.)
Protected methodFinalize
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object.)
Public methodGetEnumerator
Returns an enumerator that iterates through the TerrainLayerCollection.
Public methodGetHashCode
Serves as a hash function for a particular type.
(Inherited from Object.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Public methodIndexOf (Inherited from CollectionTerrainLayer.)
Public methodInsert (Inherited from CollectionTerrainLayer.)
Protected methodInsertItem (Overrides CollectionTInsertItem(Int32, T).)
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public methodRemove (Inherited from CollectionTerrainLayer.)
Public methodRemoveAt (Inherited from CollectionTerrainLayer.)
Protected methodRemoveItem (Overrides CollectionTRemoveItem(Int32).)
Protected methodSetItem
Replaces the element at the specified index.
(Overrides CollectionTSetItem(Int32, T).)
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
Top
Extension Methods
  NameDescription
Public Extension MethodAddRangeTerrainLayer (Defined by CollectionHelper.)
Public Extension MethodDoTerrainLayer(ActionTerrainLayer)Overloaded.
Performs the given action on each element in a sequence when it is enumerated.
(Defined by LinqHelper.)
Public Extension MethodDoTerrainLayer(ActionTerrainLayer, Int32)Overloaded.
Performs the given action on each element (incorporating its index) in a sequence when it is enumerated.
(Defined by LinqHelper.)
Public Extension MethodForEachTerrainLayer(ActionTerrainLayer)Overloaded.
Immediately performs the given action on each element in a sequence.
(Defined by LinqHelper.)
Public Extension MethodForEachTerrainLayer(ActionTerrainLayer, Int32)Overloaded.
Immediately performs the given action on each element (incorporating its index) in a sequence.
(Defined by LinqHelper.)
Public Extension MethodIndexOfTerrainLayer
Returns the index of the first element in a sequence that satisfies the specified condition.
(Defined by LinqHelper.)
Top
Properties
  NameDescription
Public propertyCount (Inherited from CollectionTerrainLayer.)
Public propertyItem
Gets or sets the element at the specified index.
(Inherited from CollectionTerrainLayer.)
Protected propertyItems (Inherited from CollectionTerrainLayer.)
Public propertyParent
Gets the terrain tile that owns this collection.
Top
Explicit Interface Implementations
  NameDescription
Explicit interface implementationPrivate methodIListAdd
Adds an item to the IList.
(Inherited from CollectionTerrainLayer.)
Explicit interface implementationPrivate methodIListContains
Determines whether the IList contains a specific value.
(Inherited from CollectionTerrainLayer.)
Explicit interface implementationPrivate methodICollectionCopyTo
Copies the elements of the ICollection to an Array, starting at a particular Array index.
(Inherited from CollectionTerrainLayer.)
Explicit interface implementationPrivate methodIEnumerableGetEnumerator
Returns an enumerator that iterates through a collection.
(Inherited from CollectionTerrainLayer.)
Explicit interface implementationPrivate methodIListIndexOf
Determines the index of a specific item in the IList.
(Inherited from CollectionTerrainLayer.)
Explicit interface implementationPrivate methodIListInsert
Inserts an item into the IList at the specified index.
(Inherited from CollectionTerrainLayer.)
Explicit interface implementationPrivate propertyIListIsFixedSize
Gets a value indicating whether the IList has a fixed size.
(Inherited from CollectionTerrainLayer.)
Explicit interface implementationPrivate propertyICollectionTIsReadOnly (Inherited from CollectionTerrainLayer.)
Explicit interface implementationPrivate propertyIListIsReadOnly
Gets a value indicating whether the IList is read-only.
(Inherited from CollectionTerrainLayer.)
Explicit interface implementationPrivate propertyICollectionIsSynchronized
Gets a value indicating whether access to the ICollection is synchronized (thread safe).
(Inherited from CollectionTerrainLayer.)
Explicit interface implementationPrivate propertyIListItem
Gets or sets the element at the specified index.
(Inherited from CollectionTerrainLayer.)
Explicit interface implementationPrivate methodIListRemove
Removes the first occurrence of a specific object from the IList.
(Inherited from CollectionTerrainLayer.)
Explicit interface implementationPrivate propertyICollectionSyncRoot
Gets an object that can be used to synchronize access to the ICollection.
(Inherited from CollectionTerrainLayer.)
Top
See Also