Class MapToApiAttribute
Inheritance
object
Attribute
Namespace: Umbraco.Cms.Api.Common.Attributes
Assembly: Umbraco.Cms.Api.Common.dll
Syntax
[AttributeUsage(AttributeTargets.Class, AllowMultiple = false)]
public class MapToApiAttribute : Attribute
Constructors
View SourceMapToApiAttribute(string)
Declaration
public MapToApiAttribute(string apiName)
Parameters
| Type | Name | Description |
|---|---|---|
| string | apiName |
Properties
View SourceApiName
Declaration
public string ApiName { get; }
Property Value
| Type | Description |
|---|---|
| string |