public PageRoute( IApplicationContext appContext, IRouteUrlPageListFactory routeUrlPageListFactory, IRouteUtilities routeUtilities ) { if (appContext == null) throw new ArgumentNullException("appContext"); if (routeUrlPageListFactory == null) throw new ArgumentNullException("routeUrlPageListFactory"); if (routeUtilities == null) throw new ArgumentNullException("routeUtilities"); this.appContext = appContext; this.routeUrlPageListFactory = routeUrlPageListFactory; this.routeUtilities = routeUtilities; }
public PageRoute( IApplicationContext appContext, IRouteUrlPageListFactory routeUrlPageListFactory, IRouteUtilities routeUtilities ) { if (appContext == null) { throw new ArgumentNullException("appContext"); } if (routeUrlPageListFactory == null) { throw new ArgumentNullException("routeUrlPageListFactory"); } if (routeUtilities == null) { throw new ArgumentNullException("routeUtilities"); } this.appContext = appContext; this.routeUrlPageListFactory = routeUrlPageListFactory; this.routeUtilities = routeUtilities; }