View Source
Class MethodInfoApiCommonExtensions
Inheritance
System.Object
Assembly: Umbraco.Cms.Api.Common.dll
Syntax
public static class MethodInfoApiCommonExtensions
Methods
View Source
GetMapToApiAttributeValue(MethodInfo)
Declaration
public static string GetMapToApiAttributeValue(this MethodInfo methodInfo)
Parameters
Type |
Name |
Description |
System.Reflection.MethodInfo |
methodInfo |
|
Returns
Type |
Description |
System.String |
|
View Source
GetMapToApiVersionAttributeValue(MethodInfo)
Declaration
public static string GetMapToApiVersionAttributeValue(this MethodInfo methodInfo)
Parameters
Type |
Name |
Description |
System.Reflection.MethodInfo |
methodInfo |
|
Returns
Type |
Description |
System.String |
|
View Source
HasMapToApiAttribute(MethodInfo, String)
Declaration
public static bool HasMapToApiAttribute(this MethodInfo methodInfo, string apiName)
Parameters
Type |
Name |
Description |
System.Reflection.MethodInfo |
methodInfo |
|
System.String |
apiName |
|
Returns
Type |
Description |
System.Boolean |
|