Click or drag to resize
IObjectMapperTFrom, TTo Interface
Represents an object that can convert between instances of two specific types.

Namespace: net.openstack.Core.Domain.Mapping
Assembly: openstacknet (in openstacknet.dll) Version: 1.7.7+Branch.master.Sha.25d803f397c8693c2c13777ef6675f796f520f2c
Syntax
public interface IObjectMapper<TFrom, TTo>

Type Parameters

TFrom
The first type.
TTo
The second type.
Methods
  NameDescription
Public methodMap(TFrom)
Converts an instance of TFrom to an instance of TTo.
Public methodMap(TTo)
Converts an instance of TTo to an instance of TFrom.
Top
Remarks
This interface is similar to a TypeConverter which only supports conversions between exactly two concrete types.
Version Information

.NET Framework

Supported in: 4.5

openstack.net

Supported in: 1.6, 1.5, 1.4, 1.3.6
See Also