You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
/// Gets the capability value with the specified name.
@@ -91,6 +85,7 @@ internal int FirstMatchOptionsCount
91
85
/// <exception cref="ArgumentException">
92
86
/// The specified capability name is not in the set of capabilities.
93
87
/// </exception>
88
+
/// <exception cref="ArgumentNullException">If <paramref name="capabilityName"/> is null.</exception>
94
89
publicobjectthis[stringcapabilityName]
95
90
{
96
91
get
@@ -145,7 +140,7 @@ public void AddMetadataSetting(string settingName, object settingValue)
145
140
thrownewArgumentException(string.Format("'{0}' is a reserved name for a metadata setting, and cannot be used as a name.",settingName),nameof(settingName));
146
141
}
147
142
148
-
if(!this.IsJsonSerializable(settingValue))
143
+
if(!IsJsonSerializable(settingValue))
149
144
{
150
145
thrownewArgumentException("Metadata setting value must be JSON serializable.",nameof(settingValue));
151
146
}
@@ -160,9 +155,9 @@ public void AddMetadataSetting(string settingName, object settingValue)
160
155
/// <param name="options">The <see cref="DriverOptions"/> to add to the list of "first matched" options.</param>
stringmsg=string.Format(CultureInfo.InvariantCulture,"You cannot request the same capability in both must-match and first-match capabilities. You are attempting to add a first-match driver options object that defines a capability, '{0}', that is already defined in the must-match driver options.",mergeResult.MergeConflictOptionName);
@@ -197,7 +192,7 @@ public void SetMustMatchDriverOptions(DriverOptions options)
197
192
}
198
193
}
199
194
200
-
this.mustMatchDriverOptions=options;
195
+
this.MustMatchDriverOptions=options;
201
196
}
202
197
203
198
/// <summary>
@@ -255,7 +250,7 @@ public Dictionary<string, object> ToDictionary()
0 commit comments