Exemplo n.º 1
0
 /// <summary>
 /// 初始化一个<see cref="MapTupleProfile"/>类型的新实例
 /// </summary>
 public MapTupleProfile(
     IMapFromAttributeTypeFinder mapFromAttributeTypeFinder,
     IMapToAttributeTypeFinder mapToAttributeTypeFinder,
     ILoggerFactory loggerFactory)
 {
     _mapFromAttributeTypeFinder = mapFromAttributeTypeFinder;
     _mapToAttributeTypeFinder   = mapToAttributeTypeFinder;
     _logger = loggerFactory.CreateLogger <MapTupleProfile>();
 }
Exemplo n.º 2
0
 /// <summary>
 /// 初始化一个<see cref="MapAttributeProfile"/>类型的新实例
 /// </summary>
 public MapAttributeProfile(IMapFromAttributeTypeFinder mapFromAttributeTypeFinder, IMapToAttributeTypeFinder mapToAttributeTypeFinder)
 {
     _mapFromAttributeTypeFinder = mapFromAttributeTypeFinder;
     _mapToAttributeTypeFinder   = mapToAttributeTypeFinder;
 }