Returns the current options as a . The current options as a .
()
| 293 | /// </summary> |
| 294 | /// <returns>The current options as a <see cref="Dictionary{TKey, TValue}"/>.</returns> |
| 295 | internal IDictionary<string, object>? ToDictionary() |
| 296 | { |
| 297 | ICapabilities? capabilities = this.ToCapabilities(); |
| 298 | if (capabilities is not IHasCapabilitiesDictionary desired) |
| 299 | { |
| 300 | return null; |
| 301 | } |
| 302 | |
| 303 | return desired.CapabilitiesDictionary; |
| 304 | } |
| 305 | |
| 306 | /// <summary> |
| 307 | /// Validates the name of the capability to verify it is not a capability |
nothing calls this directly
no test coverage detected