File: ApiExplorer\ApiConventionTypeMatchBehavior.cs
Web Access
Project: src\src\Mvc\Mvc.Core\src\Microsoft.AspNetCore.Mvc.Core.csproj (Microsoft.AspNetCore.Mvc.Core)
// Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
 
namespace Microsoft.AspNetCore.Mvc.ApiExplorer;
 
/// <summary>
/// The behavior for matching the type of a convention parameter.
/// </summary>
public enum ApiConventionTypeMatchBehavior
{
    /// <summary>
    /// Matches any type. Use this if the parameter does not need to be matched.
    /// </summary>
    Any,
 
    /// <summary>
    /// The parameter in the convention is the exact type or a subclass of the type
    /// specified in the convention.
    /// </summary>
    AssignableFrom,
}