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.
1 parent cd9804a commit fc4c6b8Copy full SHA for fc4c6b8
articles/iot-develop/concepts-model-repository.md
@@ -50,8 +50,8 @@ The client accepts a `DTMI` as input and returns a dictionary with all required
50
using Azure.IoT.ModelsRepository;
51
52
var client = new ModelsRepositoryClient();
53
-IDictionary<string, string> models = client.GetModels("dtmi:com:example:TemperatureController;1");
54
-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));
55
```
56
57
The expected output should display the `DTMI` of the three interfaces found in the dependency chain:
0 commit comments