public virtual void Setup() { GlobalStatisticStorage = new GlobalServerStatisticStorage(); ServerStatisticStorage = new ServerStatisticStorage(GlobalStatisticStorage); PlayerStatisticStorage = new PlayerStatisticStorage(); ReportStorage = new ReportStorage(ServerStatisticStorage, PlayerStatisticStorage); DocumentStore = RavenDbStore.GetStore(new ApplicationOptions { InMemory = true, UnitTesting = true }); DataRepository = new RavenDbStorage(DocumentStore); StatisticStorage = new DataStatisticStorage( DataRepository, GlobalStatisticStorage, ServerStatisticStorage, PlayerStatisticStorage, ReportStorage); }
public GetStatisticModule(IDataStatisticStorage storage) { dataStatisticStorage = storage; }
public UpdateStatisticModule(IDataStatisticStorage storage) { dataStatisticStorage = storage; }