1 write to Version
Microsoft.AspNetCore.Mvc.Core (1)
Infrastructure\ActionDescriptorCollection.cs (1)
25Version = version;
15 references to Version
Microsoft.AspNetCore.Mvc.ApiExplorer (2)
ApiDescriptionGroupCollectionProvider.cs (2)
50if (_apiDescriptionGroups == null || _apiDescriptionGroups.Version != actionDescriptors.Version) 82return new ApiDescriptionGroupCollection(groups, actionDescriptors.Version);
Microsoft.AspNetCore.Mvc.Core (8)
ActionConstraints\ActionConstraintCache.cs (2)
35if (current == null || current.Version != actionDescriptors.Version) 178public int Version => _actions.Version;
Infrastructure\ActionSelectionTable.cs (1)
64version: actions.Version,
Infrastructure\ActionSelector.cs (1)
52if (cache != null && cache.Version == actions.Version)
Infrastructure\IActionDescriptorCollectionProvider.cs (1)
17/// <see cref="ActionDescriptorCollection.Version"/> the collection is reconstructed.
Routing\AttributeRoute.cs (2)
57if (_router == null || _router.Version != actions.Version) 61_router = builder.Build(actions.Version);
Routing\KnownRouteValueConstraint.cs (1)
92var version = actionDescriptors.Version;
Microsoft.AspNetCore.Mvc.Core.Test (5)
Infrastructure\DefaultActionDescriptorCollectionProviderTest.cs (5)
33Assert.Equal(0, collection.Version); 56Assert.Equal(0, collection1.Version); 114Assert.Equal(0, collection1.Version); 136Assert.Equal(1, collection2.Version); 153Assert.Equal(2, collection3.Version);