MergeMetadata Method
Definition
MergeMetadata<TSource, TDestination>(TDestination, TSource)
Copies model from the source to the destination if not already existing.
public static TDestination MergeMetadata<TSource, TDestination>(this TDestination destination, TSource source) where TSource : IMetadata where TDestination : IMetadata
Parameters
destinationTDestinationThe IMetadata to extend. Receives model from
source.sourceTSourceThe model that will give metadata to
destination.
Returns
- TDestination
A reference to
destinationafter the operation has completed.