Skip to content

Commit fb6c29a

Browse files
committed
Refactor "userDefinedDic" to "userDefinedDictionary"
1 parent d3ba80b commit fb6c29a

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

examples/IBM.Watson.Assistant.v2.Examples/ServiceExample.cs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -112,10 +112,10 @@ public void MessageWithContext()
112112

113113
MessageContextSkills skills = new MessageContextSkills();
114114
MessageContextSkill skill = new MessageContextSkill();
115-
Dictionary<string, object> userDefinedDic = new Dictionary<string, object>();
115+
Dictionary<string, object> userDefinedDictionary = new Dictionary<string, object>();
116116

117-
userDefinedDic.Add("account_number", "123456");
118-
skill.UserDefined = userDefinedDic;
117+
userDefinedDictionary.Add("account_number", "123456");
118+
skill.UserDefined = userDefinedDictionary;
119119
skills.Add("main skill", skill);
120120

121121
var result = service.Message(

0 commit comments

Comments
 (0)