using StructureHelperCommon.Models;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace StructureHelperCommon.Infrastructures.Interfaces
{
///
/// Converts object of type of ISaveable to another one
///
/// Target object type
/// Source object type
public interface IConvertStrategy : IBaseConvertStrategy
where T :ISaveable
where V :ISaveable
{
///
/// Converts object to another one
///
/// Source object
/// Converted object
T Convert(V source);
}
}