Esempio n. 1
0
 public FlashMapperSettingsBuilder()
 {
     unresolvedPropertyBehavior    = UnresolvedPropertyBehavior.Inherit;
     selectSourceCollisionBehavior = SelectSourceCollisionBehavior.Inherit;
     sourceNamingConvention        = null;
     destinationNamingConvention   = null;
 }
Esempio n. 2
0
 public FlashMapperSettings(UnresolvedPropertyBehavior unresolvedBehavior,
                            SelectSourceCollisionBehavior collisionBehavior,
                            IMapNamingConventionSettings namingConventions)
 {
     UnresolvedBehavior = unresolvedBehavior;
     CollisionBehavior  = collisionBehavior;
     NamingConventions  = namingConventions;
 }
 public FlashMapperMappingConfigurator(IFlashMapperDependencyResolver internalDependencyResolver)
 {
     this.unresolvedPropertyBehavior    = UnresolvedPropertyBehavior.Inherit;
     this.selectSourceCollisionBehavior = SelectSourceCollisionBehavior.Inherit;
     this.sourceNamingConvention        = null;
     this.destinationNamingConvention   = null;
     this.afterMapCallback  = null;
     this.beforeMapCallback = null;
     dependencyResolver     = new FlashMapperDependencyResolver(internalDependencyResolver, Enumerable.Empty <IFlashMapperService>());
 }
Esempio n. 4
0
 public IFlashMapperSettingsBuilder UnresolvedBehavior(UnresolvedPropertyBehavior unresolvedPropertyBehavior)
 {
     this.unresolvedPropertyBehavior = unresolvedPropertyBehavior;
     return(this);
 }
 public IFlashMapperMappingConfigurator <TSource, TDestination> UnresolvedBehavior(UnresolvedPropertyBehavior unresolvedPropertyBehavior)
 {
     this.unresolvedPropertyBehavior = unresolvedPropertyBehavior;
     return(this);
 }
 public TConfigurator UnresolvedBehavior(UnresolvedPropertyBehavior unresolvedPropertyBehavior)
 {
     return(ApplyBuilderMethod(nameof(UnresolvedBehavior), ma(unresolvedPropertyBehavior)));
 }