IConverter<TValue,TSurrogate> インターフェイス

定義

2 つの型間で変換するための機能。

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

型パラメーター

TValue
TSurrogate

メソッド

ConvertFromSurrogate(TSurrogate)

サロゲート値を値型に変換します。

ConvertToSurrogate(TValue)

値を値型に変換します。

適用対象