示例#1
0
 public BindableConfiguration(DestinationConfigurationMemento snapshot)
 {
     DestinationType = snapshot.DestinationType;
     DestinationProperties = snapshot.DestinationProperties;
     SourceContexts = snapshot.SourceContexts;
     SourcedConventions =
         snapshot.Conventions.SelectMany(cnv => snapshot.SourceContexts.Select(ctx => ctx.ApplyConvention(cnv))).
             ToArray();
     Logger = new NullLogFactory();
     InitializeResolverContainers();
 }
 public BindingDestinationConfigurationContainer(IProvideBinders binders,
                                                 IMapCommandFactory mapCommands,
                                                 IProvideDestinationConfigurationSnapshots destinationConfigurationSnapshots,
                                                 ICreateBindableConfiguration bindableConfigurations)
 {
     this.binders                = binders;
     this.mapCommands            = mapCommands;
     this.snapshots              = destinationConfigurationSnapshots.TakeSnapshots();
     this.bindableConfigurations = bindableConfigurations;
     Logger = new NullLogFactory();
 }
 public BindingDestinationConfigurationContainer(IProvideBinders binders, 
     IMapCommandFactory mapCommands, 
     IProvideDestinationConfigurationSnapshots destinationConfigurationSnapshots,
     ICreateBindableConfiguration bindableConfigurations)
 {
     this.binders = binders;
     this.mapCommands = mapCommands;
     this.snapshots = destinationConfigurationSnapshots.TakeSnapshots();
     this.bindableConfigurations = bindableConfigurations;
     Logger = new NullLogFactory();
 }
示例#4
0
 public BindableConfiguration(DestinationConfigurationMemento snapshot)
 {
     DestinationType       = snapshot.DestinationType;
     DestinationProperties = snapshot.DestinationProperties;
     SourceContexts        = snapshot.SourceContexts;
     SourcedConventions    =
         snapshot.Conventions.SelectMany(cnv => snapshot.SourceContexts.Select(ctx => ctx.ApplyConvention(cnv))).
         ToArray();
     Logger = new NullLogFactory();
     InitializeResolverContainers();
 }
示例#5
0
 public ListPropertyBinder(ICreateResolver resolvers)
 {
     this.resolvers = resolvers;
     Logger = new NullLogFactory();
 }
示例#6
0
 public ListPropertyBinder(ICreateResolver resolvers)
 {
     this.resolvers = resolvers;
     Logger         = new NullLogFactory();
 }
示例#7
0
 public DestinationPropertyTypeBinder(ICreateResolver resolvers)
 {
     this.resolvers = resolvers;
     Logger         = new NullLogFactory();
 }
示例#8
0
 public BinderFactory(IActivate activate)
 {
     this.activate = activate;
     Logger = new NullLogFactory();
 }
示例#9
0
 public Fasterflection()
 {
     Logger = new NullLogFactory();
 }
示例#10
0
 public BinderFactory(IActivate activate)
 {
     this.activate = activate;
     Logger        = new NullLogFactory();
 }
 public DestinationPropertyTypeBinder(ICreateResolver resolvers)
 {
     this.resolvers = resolvers;
     Logger = new NullLogFactory();
 }
示例#12
0
 public Fasterflection()
 {
     Logger = new NullLogFactory();
 }