Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
#if AUTOMATION
[Export("LoadApiData")]
public void LoadApiData(string jsonData)
{
var rp = AppContainer.Instance.Resolve<INetworkService>() as MockNetworkService;
rp.LoadApiData(jsonData);
}
[Export("ReloadApiData")]
public void ReloadApiData(string jsonData)
{
var rp = AppContainer.Instance.Resolve<INetworkService>() as MockNetworkService;
rp.ReloadApiData(jsonData);
}
#endif
public void LoadApiData(string jsonData)
{
LoadMockData(jsonData, false);
}
public void ReloadApiData(string jsonData)
{
LoadMockData(jsonData, true);
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.