Exemple #1
0
 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();
 }
Exemple #4
0
        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();
        }
Exemple #5
0
 public ListResolver(IDescribeMappableProperty sourceProperty, ICreateExecutableMapping executor, IActivate activate)
 {
     this.sourceProperty = sourceProperty;
     this.executor = executor;
     this.activate = activate;
 }
 internal NestingConfigurationResolver(ICreateExecutableMapping executor)
 {
     this.executor = executor;
 }
Exemple #7
0
 public ResolverContext(IDescribeMappableProperty sourceProperty, IDescribeMappableProperty destinationProperty, ICreateExecutableMapping configuration)
 {
     DestinationProperty = destinationProperty;
     SourceProperty      = sourceProperty;
     Configuration       = configuration;
 }
 public ConfigurationPropertyCriterion(ICreateExecutableMapping anotherConfiguration)
 {
     this.anotherConfiguration = anotherConfiguration;
 }
 public ConfigurationPropertyCriterion(ICreateExecutableMapping anotherConfiguration)
 {
     this.anotherConfiguration = anotherConfiguration;
 }
Exemple #10
0
 public ListResolver(IDescribeMappableProperty sourceProperty, ICreateExecutableMapping executor, IActivate activate)
 {
     this.sourceProperty = sourceProperty;
     this.executor       = executor;
     this.activate       = activate;
 }
Exemple #11
0
 public RedirectingConfigurationResolver(IDescribeMappableProperty sourceProperty, ICreateExecutableMapping executor)
 {
     this.sourceProperty = sourceProperty;
     this.executor       = executor;
 }
 public RedirectingConfigurationResolver(IDescribeMappableProperty sourceProperty, ICreateExecutableMapping executor)
 {
     this.sourceProperty = sourceProperty;
     this.executor = executor;
 }
Exemple #13
0
 public ResolverContext(IDescribeMappableProperty sourceProperty, IDescribeMappableProperty destinationProperty, ICreateExecutableMapping configuration)
 {
     DestinationProperty = destinationProperty;
     SourceProperty = sourceProperty;
     Configuration = configuration;
 }
 internal NestingConfigurationResolver(ICreateExecutableMapping executor)
 {
     this.executor = executor;
 }