ApiConventionNameMatchBehavior Enum
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
The behavior for matching the name of a convention parameter or method.
public enum class ApiConventionNameMatchBehavior
public enum ApiConventionNameMatchBehavior
type ApiConventionNameMatchBehavior =
Public Enum ApiConventionNameMatchBehavior
- Inheritance
-
ApiConventionNameMatchBehavior
Fields
Name | Value | Description |
---|---|---|
Any | 0 | Matches any name. Use this if the parameter does not need to be matched. |
Exact | 1 | The parameter or method name must exactly match the convention. |
Prefix | 2 | The parameter or method name in the convention is a proper prefix. Casing is used to delineate words in a given name. For instance, with this behavior the convention name "Get" will match "Get", "GetPerson" or "GetById", but not "getById", "Getaway". |
Suffix | 3 | The parameter or method name in the convention is a proper suffix. Casing is used to delineate words in a given name. For instance, with this behavior the convention name "id" will match "id", or "personId" but not "grid" or "personid". |