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