Beispiel #1
0
        public DynamicPageEndpointSelector(PageActionEndpointDataSource dataSource)
        {
            if (dataSource == null)
            {
                throw new ArgumentNullException(nameof(dataSource));
            }

            _dataSource = dataSource;
            _cache      = new DataSourceDependentCache <ActionSelectionTable <RouteEndpoint> >(dataSource, Initialize);
        }
 public DynamicPageEndpointSelector(PageActionEndpointDataSource dataSource)
     : this((EndpointDataSource)dataSource)
 {
 }