Example #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();
 }
Example #2
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();
 }