Example #1
0
 public TestContextualizer()
 {
     reflection = new Fasterflection();
     inner = new DefaultContextualizer(reflection,
                                       new ValueAssignments(new DefaultValueConverterContainer(reflection),
                                                            reflection), reflection);
 }
 public DefaultResolutionContext(object source, 
     object destination,
     IContextualizeResolution contextualizer,
     ICreateValueAssignment valueAssignments,
     IInvoke invoke)
 {
     if (source == null)
         throw new ArgumentNullException("source");
     if (destination == null)
         throw new ArgumentNullException("destination");
     if (valueAssignments == null)
         throw new ArgumentNullException("valueAssignments");
     this.source = source;
     this.destination = destination;
     this.contextualizer = contextualizer;
     this.valueAssignments = valueAssignments;
     this.invoke = invoke;
 }