15 instantiations of ApiConventionTypeMatchAttribute
Microsoft.AspNetCore.Mvc.Core (11)
DefaultApiConventions.cs (11)
25
[
ApiConventionTypeMatch
(ApiConventionTypeMatchBehavior.Any)]
39
[
ApiConventionTypeMatch
(ApiConventionTypeMatchBehavior.Any)]
55
[
ApiConventionTypeMatch
(ApiConventionTypeMatchBehavior.Any)]
69
[
ApiConventionTypeMatch
(ApiConventionTypeMatchBehavior.Any)]
87
[
ApiConventionTypeMatch
(ApiConventionTypeMatchBehavior.Any)]
91
[
ApiConventionTypeMatch
(ApiConventionTypeMatchBehavior.Any)]
107
[
ApiConventionTypeMatch
(ApiConventionTypeMatchBehavior.Any)]
111
[
ApiConventionTypeMatch
(ApiConventionTypeMatchBehavior.Any)]
127
[
ApiConventionTypeMatch
(ApiConventionTypeMatchBehavior.Any)]
131
[
ApiConventionTypeMatch
(ApiConventionTypeMatchBehavior.Any)]
148
[
ApiConventionTypeMatch
(ApiConventionTypeMatchBehavior.Any)]
Microsoft.AspNetCore.Mvc.Core.Test (2)
ApiExplorer\ApiConventionMatcherTest.cs (2)
516
new
ApiConventionTypeMatchAttribute
(expected),
556
public static void GetParameterNotMatching([
ApiConventionTypeMatch
(ApiConventionTypeMatchBehavior.AssignableFrom)] Derived model) { }
Mvc.Api.Analyzers.Test (2)
TestFiles\SymbolApiConventionMatcherTest\SymbolApiConventionMatcherTestFile.cs (2)
37
public static void GetParameterNotMatching([
ApiConventionTypeMatch
(ApiConventionTypeMatchBehavior.AssignableFrom)] Derived model) { }
56
public static void MethodWithAnyTypeMatchBehaviorParameter([
ApiConventionTypeMatch
(ApiConventionTypeMatchBehavior.Any)] int value) { }
6 references to ApiConventionTypeMatchAttribute
Microsoft.AspNetCore.Mvc.Core (6)
ApiConventionMethodAttribute.cs (1)
32
/// that may be applied to a method name or its parameters and <see cref="
ApiConventionTypeMatchAttribute
"/>
ApiConventionTypeAttribute.cs (2)
18
/// that may be applied to a method name or its parameters and <see cref="
ApiConventionTypeMatchAttribute
"/>
38
/// that may be applied to a method name or its parameters and <see cref="
ApiConventionTypeMatchAttribute
"/>
ApiExplorer\ApiConventionMatcher.cs (2)
62
var
attribute = GetCustomAttribute<
ApiConventionTypeMatchAttribute
>(attributeProvider);
ApiExplorer\ApiConventionTypeMatchAttribute.cs (1)
19
/// Initialzes a new instance of <see cref="
ApiConventionTypeMatchAttribute
"/> with the specified <paramref name="matchBehavior"/>.