Click or drag to resize

ControllerFactory Class

Handles all identified controllers
Inheritance Hierarchy
SystemObject
  Crosser.Server.Utilities.FactoriesControllerFactory

Namespace:  Crosser.Server.Utilities.Factories
Assembly:  Crosser.Server (in Crosser.Server.dll) Version: 0.0.5
Syntax
C#
public class ControllerFactory : IControllerFactory

The ControllerFactory type exposes the following members.

Constructors
  NameDescription
Public methodControllerFactory
Ctor
Top
Properties
  NameDescription
Public propertyControllers
All IController loaded into the factory
Top
Methods
  NameDescription
Public methodAddPlugin
Registers a IController in the factory and also sets custom events if there is any.
Public methodContainsController
Checks if a specific controller is loaded for a specific BinaryKey
Public methodCreate
Creates and returns a IController instance from a controllerKey BinaryKey
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 methodGetControllerT
Get a controller instance of type IController defined by T
Public methodGetHashCode
Serves as the default hash function.
(Inherited from Object.)
Public methodGetMethod
Returns IControllerEventInfo for a specific controller BinaryKey and method BinaryKey
Public methodGetMethods(BinaryKey)
Returns all public methods for a controllerKey BinaryKey
Public methodGetMethods(IController)
Returns all custom events (action methods) registered in the controller class.
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 methodRemovePlugin
Removes the plugin from the factory
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
Top
See Also