IConverter<TValue,TSurrogate> Interface
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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. |