OptionalProperty
IsCollectionDefined<T>(IEnumerable<T>)
IsCollectionDefined<TKey, TValue>(IDictionary<TKey, TValue>)
IsCollectionDefined<TKey, TValue>(IReadOnlyDictionary<TKey, TValue>)
IsDefined(JsonElement)
IsDefined(Object)
IsDefined(String)
IsDefined<T>(T?)
ToDictionary<TKey, TValue>(OptionalProperty<IDictionary<TKey, TValue>>)
ToDictionary<TKey, TValue>(OptionalProperty<IReadOnlyDictionary<TKey, TValue>>)
ToList<T>(OptionalProperty<IList<T>>)
ToList<T>(OptionalProperty<IReadOnlyList<T>>)
ToNullable<T>(OptionalProperty<T?>)
ToNullable<T>(OptionalProperty<T>)
net11.0-windows7.0
namespace System.Net.ClientModel.Internal
{
public static class OptionalProperty
{
public static IReadOnlyDictionary<TKey, TValue> ToDictionary<TKey, TValue>(OptionalProperty<IReadOnlyDictionary<TKey, TValue>> optional);
}
}
| .NET | 5.06.07.08.09.010.011.0 |
|---|---|
| .NET Core | 2.02.12.23.03.1 |
| .NET Framework | 4.6.14.6.24.74.7.14.7.24.84.8.1 |
| .NET Standard | 2.02.1 |
Information specific to net11.0 | |
| Platforms | This API is only available when you target a specific platform: |
| Windows | 7.0 |
Information specific to net11.0-windows7.0 | |
| Assembly | System.Net.ClientModel , Version=1.0.0.0, PublicKeyToken=92742159e12e44c8 |
| Referencing | Your project needs a package reference to |
| Package | System.Net.ClientModel (1.0.0-beta.1) net6.0 |
| Preview | This API is contained in a prerelease package. |
| Platform Restrictions | This API is supported on all platforms. |
- Built-in API
- Package-provided API