Click or drag to resize

PoolContainerTInstance Class

Represents the contents of a pool.
Inheritance Hierarchy
SystemObject
  SampSharp.GameMode.PoolsPoolContainerTInstance

Namespace:  SampSharp.GameMode.Pools
Assembly:  SampSharp.GameMode (in SampSharp.GameMode.dll) Version: 0.0.0-local+709673996c0cc3c0733358a87691d1009326afa7
Syntax
C#
public sealed class PoolContainer<TInstance> : IEnumerable<TInstance>, 
	IEnumerable
where TInstance : class

Type Parameters

TInstance
The type of the instance.

The PoolContainerTInstance type exposes the following members.

Constructors
  NameDescription
Public methodPoolContainerTInstance
Initializes a new instance of the PoolContainerTInstance class
Top
Properties
  NameDescription
Public propertyUnidentifiedItems
Gets the unidentified items.
Top
Methods
  NameDescription
Public methodAdd
Adds the specified item with the specified key.
Public methodContains
Determines whether the specified key exists.
Public methodContainsUnidentified
Determines whether the specified unidentified item exists within this pool.
Public methodEquals (Inherited from Object.)
Public methodGet
Gets the item associated with the specified key.
Public methodGetEnumerator
Returns an enumerator that iterates through the collection.
Public methodGetHashCode (Inherited from Object.)
Public methodGetType (Inherited from Object.)
Public methodMove
Moves the item associated with the specified old key to the specified new key.
Public methodMoveUnidentified
Moves the specified unidentified item to the specified new key.
Public methodRemove
Removes the item associated with the specified key.
Public methodRemoveUnidentified
Removes the specified unidentified item.
Public methodToString (Inherited from Object.)
Top
Fields
  NameDescription
Public fieldStatic memberUnidentifiedId
The identifier of an unidentified instance.
Top
See Also