예제 #1
0
        public T Construct <T>(IServiceManager provider) where T : class
        {
            var obj = Construct <T>();

            PluginManager.Inject(provider, obj);
            TriggerEventMethods(obj);
            return(obj);
        }
예제 #2
0
        public T Construct <T>(IServiceManager provider, TabletReference tabletReference = null) where T : class
        {
            var obj = Construct <T>(tabletReference, false);

            PluginManager.Inject(provider, obj);
            TriggerEventMethods(obj, tabletReference);
            return(obj);
        }