/// <summary> /// Construct SiteMapApi instance /// </summary> /// <param name="authenticationContext"></param> /// <param name="roleApi"></param> /// <param name="organizationApi"></param> /// <param name="permissionApi"></param> /// <param name="platformConfiguration"></param> /// <param name="siteMapFilePath"></param> public SiteMapApi(IAuthenticationContext authenticationContext, IRoleApi roleApi, IOrganizationApi organizationApi, IPermissionApi permissionApi, IPlatformConfiguration platformConfiguration, string siteMapFilePath) { this.authenticationContext = authenticationContext; this.roleApi = roleApi; this.organizationApi = organizationApi; this.permissionApi = permissionApi; this.platformConfiguration = platformConfiguration; this.siteMapFilePath = siteMapFilePath; }
/// <summary> /// Constructor /// </summary> /// <param name="authenticationContext"></param> /// <param name="permissionApi"></param> /// <param name="siteMapApi"></param> public PermissionBridge(IAuthenticationContext authenticationContext, IPermissionApi permissionApi, ISiteMapApi siteMapApi) { this.authenticationContext = authenticationContext; this.permissionApi = permissionApi; this.siteMapApi = siteMapApi; }