IObjectMapperTFrom, TTo Interface |
Represents an object that can convert between instances of two specific types.
Namespace: net.openstack.Core.Domain.MappingAssembly: openstacknet (in openstacknet.dll) Version: 1.7.7+Branch.master.Sha.25d803f397c8693c2c13777ef6675f796f520f2c
Syntax public interface IObjectMapper<TFrom, TTo>
Public Interface IObjectMapper(Of TFrom, TTo)
generic<typename TFrom, typename TTo>
public interface class IObjectMapper
type IObjectMapper<'TFrom, 'TTo> = interface end
Type Parameters
- TFrom
- The first type.
- TTo
- The second type.
Methods
| Name | Description |
---|
| Map(TFrom) |
Converts an instance of TFrom to an instance of TTo.
|
| Map(TTo) |
Converts an instance of TTo to an instance of TFrom.
|
TopRemarks
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