ControllerFactory Class |
Namespace: Crosser.Server.Utilities.Factories
public class ControllerFactory : IControllerFactory
The ControllerFactory type exposes the following members.
Name | Description | |
---|---|---|
ControllerFactory |
Ctor
|
Name | Description | |
---|---|---|
Controllers |
All IController loaded into the factory
|
Name | Description | |
---|---|---|
AddPlugin |
Registers a IController in the factory and also sets custom events if there is any.
| |
ContainsController |
Checks if a specific controller is loaded for a specific BinaryKey | |
Create |
Creates and returns a IController instance from a controllerKey BinaryKey | |
Equals | Determines whether the specified object is equal to the current object. (Inherited from Object.) | |
Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.) | |
GetControllerT |
Get a controller instance of type IController defined by T
| |
GetHashCode | Serves as the default hash function. (Inherited from Object.) | |
GetMethod | ||
GetMethods(BinaryKey) |
Returns all public methods for a controllerKey BinaryKey | |
GetMethods(IController) |
Returns all custom events (action methods) registered in the controller class.
| |
GetType | Gets the Type of the current instance. (Inherited from Object.) | |
MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) | |
RemovePlugin |
Removes the plugin from the factory
| |
ToString | Returns a string that represents the current object. (Inherited from Object.) |