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