Kooboo.Commerce.Categories.CategoryTree.Remove C# (CSharp) Méthode

Remove() public static méthode

public static Remove ( string instance ) : void
instance string
Résultat void
        public static void Remove(string instance)
        {
            Require.NotNullOrEmpty(instance, "instance");

            CategoryTree cache;
            _caches.TryRemove(instance, out cache);
        }

Usage Example

Exemple #1
0
 public void Handle(CategoryDeleted @event, CommerceInstance instance)
 {
     CategoryTree.Remove(CommerceInstance.Current.Name);
 }