public static void SetInstanceImpl(IClassFactory inst) { Instance = inst; }
// set custom class factory instance for DI purposes public static void SetInstance(IClassFactory inst) { ClassFactory.SetInstanceImpl(inst); }