|
// <auto-generated/>
#nullable enable annotations
#nullable disable warnings
// Suppress warnings about [Obsolete] member usage in generated code.
#pragma warning disable CS0612, CS0618
namespace Microsoft.VisualStudio.TestPlatform.CommunicationUtilities
{
internal partial class TestPlatformJsonContext
{
private global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::Microsoft.VisualStudio.TestPlatform.ObjectModel.ValidateValueCallback>? _ValidateValueCallback;
/// <summary>
/// Defines the source generated JSON serialization contract metadata for a given type.
/// </summary>
#nullable disable annotations // Marking the property type as nullable-oblivious.
public global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::Microsoft.VisualStudio.TestPlatform.ObjectModel.ValidateValueCallback> ValidateValueCallback
#nullable enable annotations
{
get => _ValidateValueCallback ??= (global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::Microsoft.VisualStudio.TestPlatform.ObjectModel.ValidateValueCallback>)Options.GetTypeInfo(typeof(global::Microsoft.VisualStudio.TestPlatform.ObjectModel.ValidateValueCallback));
}
private global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::Microsoft.VisualStudio.TestPlatform.ObjectModel.ValidateValueCallback> Create_ValidateValueCallback(global::System.Text.Json.JsonSerializerOptions options)
{
if (!TryGetTypeInfoForRuntimeCustomConverter<global::Microsoft.VisualStudio.TestPlatform.ObjectModel.ValidateValueCallback>(options, out global::System.Text.Json.Serialization.Metadata.JsonTypeInfo<global::Microsoft.VisualStudio.TestPlatform.ObjectModel.ValidateValueCallback> jsonTypeInfo))
{
jsonTypeInfo = global::System.Text.Json.Serialization.Metadata.JsonMetadataServices.CreateValueInfo<global::Microsoft.VisualStudio.TestPlatform.ObjectModel.ValidateValueCallback>(options, global::System.Text.Json.Serialization.Metadata.JsonMetadataServices.GetUnsupportedTypeConverter<global::Microsoft.VisualStudio.TestPlatform.ObjectModel.ValidateValueCallback>());
}
jsonTypeInfo.OriginatingResolver = this;
return jsonTypeInfo;
}
}
}
|