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-local+709673996c0cc3c0733358a87691d1009326afa7
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 (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 (Inherited from Object.)
Public methodGetType (Inherited from Object.)
Protected methodMemberwiseClone (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 (Inherited from Object.)
Top
Events
  NameDescription
Public eventDisposed
Occurs when this isntance has been disposed.
(Inherited from Disposable.)
Top
See Also