[This is preliminary documentation and is subject to change.]
The WorkMatch type exposes the following members.Constructors
| Name | Description | |
|---|---|---|
| WorkMatch(IConfigSectionNode) | Initializes a new instance of the WorkMatch class | |
| WorkMatch(String, Int32) | Initializes a new instance of the WorkMatch class |
Methods
| Name | Description | |
|---|---|---|
| Check_AbsentCookies | ||
| Check_AbsentHeaders | ||
| Check_AcceptTypes | ||
| Check_ApiVersions | ||
| Check_ContentTypes | ||
| Check_Cookies | ||
| Check_Headers | ||
| Check_Hosts | ||
| Check_IsLocal | ||
| Check_IsSocialNetBot | ||
| Check_Methods | ||
| Check_Permissions | ||
| Check_Ports | ||
| Check_Schemes | ||
| Check_UserAgents | ||
| Check_UserHosts | ||
| Check_VariablesAndGetValues | ||
Determines whether the specified object is equal to the current object. (Inherited from | ||
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from | ||
Serves as the default hash function. (Inherited from | ||
Gets the (Inherited from | ||
| Make |
Decides whether the specified WorkContext makes the match per this instance and if it does, returns the match variables.
Returns null if match was not made
| |
Creates a shallow copy of the current (Inherited from | ||
Returns a string that represents the current object. (Inherited from |
Extension Methods
Fields
| Name | Description | |
|---|---|---|
| CONFIG_MATCH_SECTION | ||
| CONFIG_NOT_PATH_ATTR | ||
| CONFIG_PATH_ATTR | ||
| CONFIG_VAR_SECTION | ||
| LIST_DELIMITERS |
Properties
| Name | Description | |
|---|---|---|
| AbsentCookies | ||
| AbsentHeaders | ||
| AcceptJson |
Shortcut to AcceptTypes contaioning application/json
| |
| AcceptTypes | ||
| ApiMaxVer | ||
| ApiMinVer | ||
| ContentTypes | ||
| Cookies | ||
| Headers | ||
| Hosts | ||
| IsLocal | ||
| IsSocialNetBot | ||
| Methods | ||
| Name |
Returns the match instance name
| |
| NotPathPattern |
Returns the URIPattern matcher for reverse URI path segment matching
| |
| Order |
Returns the match order in handler registry. Order is used for URI pattern matching.
Although Order property can change the match needs to be Unregistered/Registered again with the handler
to change pattern matching order
| |
| PathPattern |
Returns the URIPattern matcher for URI path segment matching
| |
| Permissions | ||
| Ports | ||
| Schemes | ||
| TypeNsPrefix |
Namespace prefix used for type lookups. The prefix uses '/' or '\' path separation char not '.'
| |
| UserAgents | ||
| UserHosts | ||
| Variables |
Returns registry of variables. May register/unregister variables at runtime
|
See Also