예제 #1
0
        public DisposableRepository <TRepositoryType> Create(EmptyFactoryContext context)
        {
            IServiceScope scope = ScopeFactory.CreateScope();

            return(new DisposableRepository <TRepositoryType>(scope.ServiceProvider.GetService <TRepositoryType>(), scope));
        }
예제 #2
0
 public abstract IGameObjectBehaviourDataServiceClient <TBehaviourType> Create(EmptyFactoryContext context);