Allow for clearing a module from cache
This commit is contained in:
@@ -21,5 +21,10 @@ namespace Upsilon
|
|||||||
_cachedModules.Add(name, module);
|
_cachedModules.Add(name, module);
|
||||||
return module;
|
return module;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
public void ClearCachedModule(string name)
|
||||||
|
{
|
||||||
|
_cachedModules.Remove(name);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
Reference in New Issue
Block a user