public LoadJsonFromResource ( string namespaceKey, string typeKey, string resourcePath ) : void | ||
namespaceKey | string | |
typeKey | string | |
resourcePath | string | |
return | void |
public override void LoadJsonFromResource(string namespaceKey, string typeKey, string resourcePath)
{
var service = ResourceLoader;
var json = service.GetTextResource(resourcePath);
if (string.IsNullOrEmpty(json))
throw new FileNotFoundException("Unable to find resource file " + resourcePath);
LoadJsonFromText(namespaceKey, typeKey, json);
}
}