15 references to GetProperty
Microsoft.AspNetCore.Mvc.ApiExplorer (1)
DefaultApiDescriptionProvider.cs (1)
77
var extensionData = action.
GetProperty
<ApiDescriptionActionData>();
Microsoft.AspNetCore.Mvc.ApiExplorer.Test (2)
DefaultApiDescriptionProviderTest.cs (2)
81
action.
GetProperty
<ApiDescriptionActionData>().GroupName = "Customers";
112
action.
GetProperty
<ApiDescriptionActionData>().GroupName = "NotUsedCustomers";
Microsoft.AspNetCore.Mvc.Core.Test (12)
ApplicationModels\ControllerActionDescriptorProviderTests.cs (12)
955
Assert.NotNull(action.
GetProperty
<ApiDescriptionActionData>());
971
Assert.NotNull(action.
GetProperty
<ApiDescriptionActionData>());
974
Assert.Null(action.
GetProperty
<ApiDescriptionActionData>());
991
Assert.Null(action.
GetProperty
<ApiDescriptionActionData>());
1006
Assert.Null(action.
GetProperty
<ApiDescriptionActionData>().GroupName);
1021
Assert.Equal("Store", action.
GetProperty
<ApiDescriptionActionData>().GroupName);
1035
Assert.Equal("Blog", action.
GetProperty
<ApiDescriptionActionData>().GroupName);
1051
Assert.Equal("Blog", action.
GetProperty
<ApiDescriptionActionData>().GroupName);
1054
Assert.Equal("Store", action.
GetProperty
<ApiDescriptionActionData>().GroupName);
1069
Assert.Null(action.
GetProperty
<ApiDescriptionActionData>());
1086
Assert.Null(action.
GetProperty
<ApiDescriptionActionData>());
1120
Assert.Null(action.
GetProperty
<ApiDescriptionActionData>());