Skip to content

Commit e495cd7

Browse files
committed
chore: Fixed type in example
1 parent 23d2902 commit e495cd7

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

examples/IBM.Watson.VisualRecognition.v4.Examples/ServiceExample.cs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ static void Main(string[] args)
4747
ServiceExample example = new ServiceExample();
4848

4949
example.Analyze();
50-
50+
5151

5252
Console.WriteLine("Examples complete. Press any key to close the application.");
5353
Console.ReadKey();
@@ -78,8 +78,8 @@ public void Analyze()
7878
imagesFile.Add(fileWithMetadata);
7979

8080
result = service.Analyze(
81-
collectionIds: "{collectionId}",
82-
features: "objects",
81+
collectionIds: new List<string>() { "{collectionId}" },
82+
features: new List<string>() { "objects" },
8383
imagesFile: imagesFile);
8484

8585
Console.WriteLine(result.Response);

0 commit comments

Comments
 (0)