public static T ForceAllocate <T>(int cookie, System.Action <T> processor = null) where T : ModuleLogicActivator <T>, new() { var instance = ModuleLogicActivator <T> .ForceAllocate(cookie, processor); Submit(instance); return(instance); }
public static void ForceCache <T>(int cookie, T instance) where T : ModuleLogicActivator <T>, new() { ModuleLogicActivator <T> .Cache(instance, cookie); }
public static T Get <T>(int cookie) where T : ModuleLogicActivator <T>, new() { return(ModuleLogicActivator <T> .Get(cookie)); }