IConverter<TValue,TSurrogate> Interfaccia

Definizione

Funzionalità per la conversione tra due tipi.

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

Parametri di tipo

TValue
TSurrogate

Metodi

ConvertFromSurrogate(TSurrogate)

Converte un valore surrogato nel tipo di valore.

ConvertToSurrogate(TValue)

Converte un valore nel tipo di valore.

Si applica a