public void Bind(params ICreateExecutableMapping[] configurations) { if (executor == null) { executor = configurations.FirstOrDefault(its => its.DestinationType == destinationType); } }
public void Bind(params ICreateExecutableMapping[] configurations) { if(executor==null) { executor = configurations.FirstOrDefault(its => its.DestinationType == destinationType); } }
public collection_resolver_tests() { var factory = new TestConfigurationFactory(); var cfg = new DestinationConfiguration(typeof (IntegerDest)); cfg.From(typeof (IntegerSource)); integerComponentElementConfig = factory.CreateBindableConfiguration(cfg.TakeSnapshot()); contextualizer = new TestContextualizer(); }
public collection_resolver_tests() { var factory = new TestConfigurationFactory(); var cfg = new DestinationConfiguration(typeof(IntegerDest)); cfg.From(typeof(IntegerSource)); integerComponentElementConfig = factory.CreateBindableConfiguration(cfg.TakeSnapshot()); contextualizer = new TestContextualizer(); }
public ListResolver(IDescribeMappableProperty sourceProperty, ICreateExecutableMapping executor, IActivate activate) { this.sourceProperty = sourceProperty; this.executor = executor; this.activate = activate; }
internal NestingConfigurationResolver(ICreateExecutableMapping executor) { this.executor = executor; }
public ResolverContext(IDescribeMappableProperty sourceProperty, IDescribeMappableProperty destinationProperty, ICreateExecutableMapping configuration) { DestinationProperty = destinationProperty; SourceProperty = sourceProperty; Configuration = configuration; }
public ConfigurationPropertyCriterion(ICreateExecutableMapping anotherConfiguration) { this.anotherConfiguration = anotherConfiguration; }
public RedirectingConfigurationResolver(IDescribeMappableProperty sourceProperty, ICreateExecutableMapping executor) { this.sourceProperty = sourceProperty; this.executor = executor; }