/// <summary> /// Converts the instance of <see cref="!:TSource" /> type to the instance of <see cref="!:TTarget" />. /// </summary> /// <param name="source">The instance of <see cref="!:TSource" />.</param> /// <param name="target">The instance of <see cref="!:TTarget" />.</param> /// <returns> /// The converted instance of <see cref="!:TTarget" />. /// </returns> public Contracts.CatalogDocument Convert(Storage source, Contracts.CatalogDocument target) { return(this.Convert((CatalogRoot)source, target)); }
/// <summary> /// Converts the instance of <see cref="!:TSource" /> type to the instance of <see cref="!:TTarget" />. /// </summary> /// <param name="source">The instance of <see cref="!:TSource" />.</param> /// <param name="target">The instance of <see cref="!:TTarget" />.</param> /// <returns> /// The converted instance of <see cref="!:TTarget" />. /// </returns> public Contracts.CatalogDocument Convert(Catalog source, Contracts.CatalogDocument target) { target = this.Convert((CatalogRoot)source, target); return(target); }
/// <summary> /// Converts the instance of <see cref="!:TSource" /> type to the instance of <see cref="!:TTarget" />. /// </summary> /// <param name="source">The instance of <see cref="!:TSource" />.</param> /// <param name="target">The instance of <see cref="!:TTarget" />.</param> /// <returns> /// The converted instance of <see cref="!:TTarget" />. /// </returns> public Storage Convert(Contracts.CatalogDocument source, Storage target) { this.Convert(source, (CatalogRoot)target); return(target); }
/// <summary> /// Converts the instance of <see cref="!:TSource" /> type to the instance of <see cref="!:TTarget" />. /// </summary> /// <param name="source">The instance of <see cref="!:TSource" />.</param> /// <param name="target">The instance of <see cref="!:TTarget" />.</param> /// <returns> /// The converted instance of <see cref="!:TTarget" />. /// </returns> public Catalog Convert(Contracts.CatalogDocument source, Catalog target) { this.Convert(source, (CatalogRoot)target); return(target); }