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-localbuild+05637d43e9f34d872e453289d4e240c843e43b09
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
Determines whether the specified object is equal to the current object.
(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
Serves as the default hash function.
(Inherited from Object.)
Public methodGetType
Gets the Type of the current instance.
(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
Returns a string that represents the current object.
(Inherited from Object.)
Top
Fields
  NameDescription
Public fieldStatic memberUnidentifiedId
The identifier of an unidentified instance.
Top
See Also