public PageTreeStrategy( IContentLoader contentLoader, IFilterAccessWrapper filterAccessWrapper, IHostBindingsService hostBindingsService) { if (contentLoader == null) throw new ArgumentNullException("contentLoader"); if (filterAccessWrapper == null) throw new ArgumentNullException("filterAccessWrapper"); if (hostBindingsService == null) throw new ArgumentNullException("hostBindingsService"); _contentLoader = contentLoader; _filterAccessWrapper = filterAccessWrapper; _hostBindingsService = hostBindingsService; }
public PageTreeStrategy( IContentLoader contentLoader, IFilterAccessWrapper filterAccessWrapper, IHostBindingsService hostBindingsService) { if (contentLoader == null) { throw new ArgumentNullException("contentLoader"); } if (filterAccessWrapper == null) { throw new ArgumentNullException("filterAccessWrapper"); } if (hostBindingsService == null) { throw new ArgumentNullException("hostBindingsService"); } _contentLoader = contentLoader; _filterAccessWrapper = filterAccessWrapper; _hostBindingsService = hostBindingsService; }