ControllerEventInfo Constructor |
Ctor
Namespace:
Crosser.Common.Server
Assembly:
Crosser.Common (in Crosser.Common.dll) Version: 0.0.4
Syntaxpublic ControllerEventInfo(
MethodInfo methodInfo,
bool authorize = false,
AuthorizeAttribute authorizeAttribute = null,
bool allowHttpPost = false,
bool allowHttpGet = false,
bool runSynchronously = false
)
Parameters
- methodInfo
- Type: System.ReflectionMethodInfo
MethodInfo to use in delegate - authorize (Optional)
- Type: SystemBoolean
true if method needs authorization - authorizeAttribute (Optional)
- Type: Crosser.Common.ServerAuthorizeAttribute
Information about authorization requirements - allowHttpPost (Optional)
- Type: SystemBoolean
true if method allows HTTP POST requests - allowHttpGet (Optional)
- Type: SystemBoolean
true if method allows HTTP GET requests - runSynchronously (Optional)
- Type: SystemBoolean
true if the method will execute synchronously
See Also