Ejemplo n.º 1
0
 public TestContextualizer()
 {
     reflection = new Fasterflection();
     inner      = new DefaultContextualizer(reflection,
                                            new ValueAssignments(new DefaultValueConverterContainer(reflection),
                                                                 reflection), reflection);
 }
Ejemplo n.º 2
0
 public TestContextualizer()
 {
     reflection = new Fasterflection();
     inner = new DefaultContextualizer(reflection,
                                       new ValueAssignments(new DefaultValueConverterContainer(reflection),
                                                            reflection), reflection);
 }
Ejemplo n.º 3
0
 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;
 }
Ejemplo n.º 4
0
 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;
 }
Ejemplo n.º 5
0
 public DefaultMapCommand(IExecuteMapping executableMapping, IContextualizeResolution contextualizer)
 {
     this.executableMapping = executableMapping;
     this.contextualizer    = contextualizer;
 }