/// <summary>
 /// Constructor.
 /// </summary>
 public PermissionManager(IPermissionProviderFinder providerFinder)
 {
     _providerFinder = providerFinder;
     _permissions = new Dictionary<string, Permission>();
     _rootGroups = new Dictionary<string, PermissionGroup>();
     Initialize();
 }
 /// <summary>
 /// Constructor.
 /// </summary>
 public PermissionManager(IPermissionProviderFinder providerFinder)
 {
     _providerFinder = providerFinder;
     _permissions    = new Dictionary <string, Permission>();
     _rootGroups     = new Dictionary <string, PermissionGroup>();
     Initialize();
 }
        /// <summary>
        /// Constructor.
        /// </summary>
        public PermissionManager(IIocManager iocManager, IPermissionProviderFinder providerFinder)
        {
            PermissionGrantStore = NullPermissionGrantStore.Instance;
            Logger = NullLogger.Instance;

            _iocManager     = iocManager;
            _providerFinder = providerFinder;

            _rootGroups  = new Dictionary <string, PermissionGroup>();
            _permissions = new PermissionDictionary();

            Initialize();
        }