public static ReflectionInoCore <V> GetInstance() { if (_instance == null) { lock (_instanceLock) if (_instance == null) { _instance = new ReflectionInoCore <V>(); Action addItem = () => { ReflectionInoCore <V> .GetInstance().RemoveAllCache(); }; ReflectionInoHelper.AddRemoveFunc(addItem); } } return(_instance); }
public void RemoveCacheAll() { ReflectionInoHelper.RemoveAllCache(); InstanceFactory.RemoveCache(); }