1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
| using System;
|
| namespace ezxamairn
| {
| public class App
| {
| public static bool UseMockDataStore = true;
| public static string BackendUrl = "http://localhost:5000";
|
| public static void Initialize()
| {
| if (UseMockDataStore)
| ServiceLocator.Instance.Register<IDataStore<Item>, MockDataStore>();
| else
| ServiceLocator.Instance.Register<IDataStore<Item>, CloudDataStore>();
| }
| }
| }
|
|