







![]() ![]() |
C# Webserver |
ControllerModule..::.Item Property |
ControllerModule Class Example See Also Send Feedback |
Get a prototype
Namespace:
HttpServer.HttpModules
Assembly:
HttpServer (in HttpServer.dll) Version: 1.0.0.0 (1.0.0.0)
Syntax
C# |
---|
public RequestController this[ string controllerName ] { get; } |
Visual Basic (Declaration) |
---|
Public ReadOnly Default Property Item ( _ controllerName As String _ ) As RequestController |
Visual C++ |
---|
public: property RequestController^ default[String^ controllerName] { RequestController^ get (String^ controllerName); } |
Parameters
- controllerName
- Type: System..::.String
in lowercase, without "Controller"
Return Value
The controller if found; otherwise null.
Examples
RequestController userController = controllerModule["user"]; //fetches the class UserController