public static Remove ( string instance ) : void | ||
instance | string | |
return | void |
public static void Remove(string instance)
{
Require.NotNullOrEmpty(instance, "instance");
CategoryTree cache;
_caches.TryRemove(instance, out cache);
}
public void Handle(CategoryDeleted @event, CommerceInstance instance) { CategoryTree.Remove(CommerceInstance.Current.Name); }