public MethodInvokingAggregator(object obj)
 {
     AssertUtils.ArgumentNotNull(obj, "object must not be null");
     MethodInfo method = FindAggregatorMethod(obj);
     AssertUtils.ArgumentNotNull(method, "unable to resolve Aggregator method on target class [" + obj.GetType() + "]");
     _methodInvoker = new MessageListMethodAdapter(obj, method);
 }
Exemple #2
0
        public MethodInvokingAggregator(object obj)
        {
            AssertUtils.ArgumentNotNull(obj, "object must not be null");
            MethodInfo method = FindAggregatorMethod(obj);

            AssertUtils.ArgumentNotNull(method, "unable to resolve Aggregator method on target class [" + obj.GetType() + "]");
            _methodInvoker = new MessageListMethodAdapter(obj, method);
        }
Exemple #3
0
 public MethodInvokingAggregator(object obj, string methodName)
 {
     _methodInvoker = new MessageListMethodAdapter(obj, methodName);
 }
Exemple #4
0
 public MethodInvokingAggregator(object obj, MethodInfo method)
 {
     _methodInvoker = new MessageListMethodAdapter(obj, method);
 }
 public MethodInvokingAggregator(object obj, string methodName)
 {
     _methodInvoker = new MessageListMethodAdapter(obj, methodName);
 }
 public MethodInvokingAggregator(object obj, MethodInfo method)
 {
     _methodInvoker = new MessageListMethodAdapter(obj, method);
 }