Class IncludeInApiVersionAttribute
Inheritance
System.Object
Namespace: Umbraco.Cms.Core.DeliveryApi
Assembly: Umbraco.Core.dll
Syntax
public class IncludeInApiVersionAttribute : Attribute
Constructors
View SourceIncludeInApiVersionAttribute(Int32, Int32)
Initializes a new instance of the Include
Declaration
public IncludeInApiVersionAttribute(int minVersion = -1, int maxVersion = -1)
Parameters
Type | Name | Description |
---|---|---|
System. |
minVersion | The minimum API version (inclusive) for which the property should be included. |
System. |
maxVersion | The maximum API version (inclusive) for which the property should be included. |
Properties
View SourceMaxVersion
Declaration
public int? MaxVersion { get; }
Property Value
Type | Description |
---|---|
System. |
MinVersion
Declaration
public int? MinVersion { get; }
Property Value
Type | Description |
---|---|
System. |