Edytuj

Udostępnij za pośrednictwem


IConverter<TValue,TSurrogate> Interface

Definition

Functionality for converting between two types.

public interface IConverter<TValue,TSurrogate> where TSurrogate : struct
type IConverter<'Value, 'Surrogate (requires 'Surrogate : struct)> = interface
Public Interface IConverter(Of TValue, TSurrogate)

Type Parameters

TValue
TSurrogate

Methods

ConvertFromSurrogate(TSurrogate)

Converts a surrogate value to the value type.

ConvertToSurrogate(TValue)

Converts a value to the value type.

Applies to