• Core
  • Infrastructure
  • Web
  • Extensions
Search Results for

    Show / Hide Table of Contents
    View Source

    Class IncludeInApiVersionAttribute

    Inheritance
    System.Object
    Namespace: Umbraco.Cms.Core.DeliveryApi
    Assembly: Umbraco.Core.dll
    Syntax
    public class IncludeInApiVersionAttribute : Attribute

    Constructors

    View Source

    IncludeInApiVersionAttribute(Int32, Int32)

    Initializes a new instance of the IncludeInApiVersionAttribute class. Specifies that the property should be included in the API response if the API version falls within the specified bounds.

    Declaration
    public IncludeInApiVersionAttribute(int minVersion = -1, int maxVersion = -1)
    Parameters
    Type Name Description
    System.Int32 minVersion

    The minimum API version (inclusive) for which the property should be included.

    System.Int32 maxVersion

    The maximum API version (inclusive) for which the property should be included.

    Properties

    View Source

    MaxVersion

    Declaration
    public int? MaxVersion { get; }
    Property Value
    Type Description
    System.Nullable<System.Int32>
    View Source

    MinVersion

    Declaration
    public int? MinVersion { get; }
    Property Value
    Type Description
    System.Nullable<System.Int32>
    • Improve this Doc
    • View Source
    In This Article
    • Constructors
      • IncludeInApiVersionAttribute(Int32, Int32)
    • Properties
      • MaxVersion
      • MinVersion
    Back to top Copyright © 2016-present Umbraco
    Generated by DocFX