Skip to content

Commit

Permalink
classe propertyMapping
Browse files Browse the repository at this point in the history
  • Loading branch information
suarezrafael committed Aug 15, 2021
1 parent 4f9e13a commit 675de05
Showing 1 changed file with 19 additions and 0 deletions.
19 changes: 19 additions & 0 deletions CourseLibrary.API/ResourcesParameters/PropertyMapping.cs
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
using CourseLibrary.API.Services;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;

namespace CourseLibrary.API.ResourcesParameters
{
public class PropertyMapping<TSource, TDestination> : IPropertyMapping
{
public Dictionary<string, PropertyMappingValue> _mappingDictionary { get; private set; }

public PropertyMapping(Dictionary<string, PropertyMappingValue> mappingDictionary)
{
_mappingDictionary = mappingDictionary ??
throw new ArgumentNullException(nameof(mappingDictionary));
}
}
}

0 comments on commit 675de05

Please sign in to comment.