Edit

Share via


IConverter<TValue,TSurrogate> Interface

Definition

Functionality for converting between two types.

C#
public interface IConverter<TValue,TSurrogate> where TSurrogate : struct

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

Product Versions
.NET Orleans 7.0.0, 8.0.0, 8.1.0, 8.2.0, 9.0.0