Partager via


ValueTypeBase<TValue> Class

Definition

Base class to implement supported value types.

[System.Runtime.CompilerServices.Nullable(0)]
public abstract class ValueTypeBase<TValue> : Microsoft.VisualStudio.ProjectSystem.Query.ValueTypes.IJsonValueSerializer, Microsoft.VisualStudio.ProjectSystem.Query.ValueTypes.IJsonValueSerializer<TValue>, Microsoft.VisualStudio.ProjectSystem.Query.ValueTypes.IValueType<TValue>
[<System.Runtime.CompilerServices.Nullable(0)>]
type ValueTypeBase<'Value> = class
    interface IValueType
    interface IJsonValueSerializer
    interface IValueType<'Value>
    interface IJsonValueSerializer<'Value>
Public MustInherit Class ValueTypeBase(Of TValue)
Implements IJsonValueSerializer, IJsonValueSerializer(Of TValue), IValueType(Of TValue)

Type Parameters

TValue

The value type in the framework.

Inheritance
ValueTypeBase<TValue>
Derived
Attributes
Implements

Constructors

ValueTypeBase<TValue>()

Properties

MetadataObjectPath

How to retrieve the value type metadata instance. It is used in code generation.

Name
RunTimeType
TypeName

Methods

GetCustomizedCoreEqualityComparer(IValueTypeMetadata)
GetCustomizedEqualityComparer(IValueTypeMetadata)
ReadFromJsonCore(JsonReader, IValueTypeMetadata, Boolean)

Read value from the JSON.

WriteToJson(TValue, JsonWriter)

Explicit Interface Implementations

IJsonValueSerializer.ReadFromJson(JsonReader, IValueTypeMetadata)
IJsonValueSerializer.WriteToJson(Object, JsonWriter)
IJsonValueSerializer<TValue>.ReadFromJson(JsonReader, IValueTypeMetadata)
IValueType.GetCustomizedEqualityComparer(IValueTypeMetadata)

Applies to