Ejemplo n.º 1
0
 public void Populate <T>(object modelObject, string assemblyWithResource) where T : class
 {
     using (var dataStream = _dataStreamHelper.GetResourceStream <T>(".json", assemblyWithResource))
     {
         _jsonDeserializer.DeserializeToExisting(dataStream, modelObject);
     }
 }