示例#1
0
        /// <summary>
        /// Unregisters all components and clears the dependency graph
        /// </summary>
        public void UnregisterAll()
        {
            if (log.IsDebugEnabled())
            {
                log.Debug("Unregistering components.");
            }

            registeredComponents.Clear();
            dependencyGraph.Clear();
        }
示例#2
0
 /// <summary>Clears the <see cref="InheritablePermissionsManager{TSubject, TObject, TRole}"/>.</summary>
 public override void Clear()
 {
     base.Clear();
     _subjInheritance.Clear();
     _objInheritance.Clear();
 }