Click or drag to resize

ControllerCollection Class

Represents a list of IController instances.
Inheritance Hierarchy
SystemObject
  SampSharp.GameMode.ToolsDisposable
    SampSharp.GameMode.ControllersControllerCollection

Namespace:  SampSharp.GameMode.Controllers
Assembly:  SampSharp.GameMode (in SampSharp.GameMode.dll) Version: 0.0.0-localbuild+05637d43e9f34d872e453289d4e240c843e43b09
Syntax
C#
public class ControllerCollection : Disposable, 
	IEnumerable<IController>, IEnumerable

The ControllerCollection type exposes the following members.

Constructors
  NameDescription
Public methodControllerCollection
Initializes a new instance of the ControllerCollection class
Top
Properties
  NameDescription
Public propertyIsDisposed
Gets whether this resource has been disposed.
(Inherited from Disposable.)
Top
Methods
  NameDescription
Public methodAdd
Adds a IController to this collection.
Protected methodAssertNotDisposed
Checks whether this instance has been disposed. If it has, it throws an exception.
(Inherited from Disposable.)
Public methodDispose
Performs tasks associated with freeing, releasing, or resetting unmanaged resources.
(Inherited from Disposable.)
Protected methodDispose(Boolean)
Performs tasks associated with freeing, releasing, or resetting unmanaged resources.
(Overrides DisposableDispose(Boolean).)
Public methodEquals
Determines whether the specified object is equal to the current object.
(Inherited from Object.)
Protected methodFinalize
Finalizes an instance of the Disposable class.
(Inherited from Disposable.)
Public methodGetT
Get the first instance of IController of the given type.
Public methodGetEnumerator
Returns an enumerator that iterates through this collection.
Public methodGetHashCode
Serves as the default hash function.
(Inherited from Object.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public methodOverride
Adds a IController to this collection and remove controllers it overrides.
Public methodRemove(IController)
Removes a IController from this collection.
Public methodRemoveT
Removes all IController instances of the given type from this collection.
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
Top
Events
  NameDescription
Public eventDisposed
Occurs when this isntance has been disposed.
(Inherited from Disposable.)
Top
See Also