Exemplo n.º 1
0
        public TrendyolApp Build()
        {
            InMemoryDataStore dataStore = new InMemoryDataStore();

            foreach (var task in _beforeBuildTasks)
            {
                task.Invoke();
            }

            TrendyolApp.Instance = new TrendyolApp(dataStore);

            foreach (var task in _afterBuildTasks)
            {
                task.Invoke();
            }

            return(TrendyolApp.Instance);
        }
Exemplo n.º 2
0
 public TrendyolApp(InMemoryDataStore dataStore)
 {
     DataStore = dataStore;
 }