public DynamicControllerEndpointSelector(ControllerActionEndpointDataSource dataSource) { if (dataSource == null) { throw new ArgumentNullException(nameof(dataSource)); } _dataSource = dataSource; _cache = new DataSourceDependentCache <ActionSelectionTable <RouteEndpoint> >(dataSource, Initialize); }
public DynamicControllerEndpointSelector(ControllerActionEndpointDataSource dataSource) : this((EndpointDataSource)dataSource) { }