2019-12-04 18:57:18 +01:00
|
|
|
|
using System;
|
|
|
|
|
using System.Collections.Generic;
|
|
|
|
|
using System.Reflection;
|
|
|
|
|
|
2019-12-08 19:54:52 +01:00
|
|
|
|
namespace Swan.Mappers {
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// Interface object map.
|
|
|
|
|
/// </summary>
|
|
|
|
|
public interface IObjectMap {
|
2019-12-04 18:57:18 +01:00
|
|
|
|
/// <summary>
|
2019-12-08 19:54:52 +01:00
|
|
|
|
/// Gets or sets the map.
|
2019-12-04 18:57:18 +01:00
|
|
|
|
/// </summary>
|
2019-12-08 19:54:52 +01:00
|
|
|
|
Dictionary<PropertyInfo, List<PropertyInfo>> Map {
|
|
|
|
|
get;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// Gets or sets the type of the source.
|
|
|
|
|
/// </summary>
|
|
|
|
|
Type SourceType {
|
|
|
|
|
get;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// Gets or sets the type of the destination.
|
|
|
|
|
/// </summary>
|
|
|
|
|
Type DestinationType {
|
|
|
|
|
get;
|
|
|
|
|
}
|
|
|
|
|
}
|
2019-12-04 18:57:18 +01:00
|
|
|
|
}
|