We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents af609c7 + fc4c6b8 commit 611c422Copy full SHA for 611c422
articles/iot-develop/concepts-model-repository.md
@@ -58,8 +58,8 @@ The client accepts a `DTMI` as input and returns a dictionary with all required
58
using Azure.IoT.ModelsRepository;
59
60
var client = new ModelsRepositoryClient();
61
-IDictionary<string, string> models = client.GetModels("dtmi:com:example:TemperatureController;1");
62
-models.Keys.ToList().ForEach(k => Console.WriteLine(k));
+ModelResult models = client.GetModel("dtmi:com:example:TemperatureController;1");
+models.Content.Keys.ToList().ForEach(k => Console.WriteLine(k));
63
```
64
65
The expected output should display the `DTMI` of the three interfaces found in the dependency chain:
0 commit comments