public AclModuleVisibilityProvider(
            IAclModule aclModule
            )
        {
            if (aclModule == null)
                throw new ArgumentNullException("aclModule");

            this.aclModule = aclModule;
        }
        public SiteMapPluginProviderFactory(
            IAclModule aclModule
            )
        {
            if (aclModule == null)
                throw new ArgumentNullException("aclModule");

            this.aclModule = aclModule;
        }
示例#3
0
        public AclModuleVisibilityProvider(
            IAclModule aclModule
            )
        {
            if (aclModule == null)
            {
                throw new ArgumentNullException("aclModule");
            }

            this.aclModule = aclModule;
        }
示例#4
0
        public SiteMapPluginProviderFactory(
            IAclModule aclModule
            )
        {
            if (aclModule == null)
            {
                throw new ArgumentNullException("aclModule");
            }

            this.aclModule = aclModule;
        }
        public SiteMapPluginProvider(
            IMvcResolver mvcResolver,
            ISiteMapBuilder siteMapBuilder,
            IAclModule aclModule
            )
        {
            if (siteMapBuilder == null)
                throw new ArgumentNullException("siteMapBuilder");
            if (mvcResolver == null)
                throw new ArgumentNullException("mvcResolver");
            if (aclModule == null)
                throw new ArgumentNullException("aclModule");

            this.siteMapBuilder = siteMapBuilder;
            this.mvcResolver = mvcResolver;
            this.aclModule = aclModule;
        }
        public SiteMapPluginProvider(
            IMvcResolver mvcResolver,
            ISiteMapBuilder siteMapBuilder,
            IAclModule aclModule
            )
        {
            if (siteMapBuilder == null)
            {
                throw new ArgumentNullException("siteMapBuilder");
            }
            if (mvcResolver == null)
            {
                throw new ArgumentNullException("mvcResolver");
            }
            if (aclModule == null)
            {
                throw new ArgumentNullException("aclModule");
            }

            this.siteMapBuilder = siteMapBuilder;
            this.mvcResolver    = mvcResolver;
            this.aclModule      = aclModule;
        }