public MessageMappingMethodInvoker(object obj, string methodName)
 {
     AssertUtils.ArgumentNotNull(obj, "object must not be null");
     AssertUtils.ArgumentNotNull(methodName, "methodName must not be null");
     _obj = obj;
     _methodResolver = CreateResolverForMethodName(methodName);
 }
 public MessageMappingMethodInvoker(object obj, Type attributeType)
 {
     AssertUtils.ArgumentNotNull(obj, "object must not be null");
     AssertUtils.ArgumentNotNull(attributeType, "annotation type must not be null");
     _obj = obj;
     _methodResolver = CreateResolverForAnnotation(attributeType);
 }
 public MessageMappingMethodInvoker(object obj, MethodInfo method)
 {
     AssertUtils.ArgumentNotNull(obj, "object must not be null");
     AssertUtils.ArgumentNotNull(method, "method must not be null");
     _obj = obj;
     _methodResolver = new StaticHandlerMethodResolver(method);
 }
Esempio n. 4
0
 public MessageMappingMethodInvoker(object obj, string methodName)
 {
     AssertUtils.ArgumentNotNull(obj, "object must not be null");
     AssertUtils.ArgumentNotNull(methodName, "methodName must not be null");
     _obj            = obj;
     _methodResolver = CreateResolverForMethodName(methodName);
 }
Esempio n. 5
0
 public MessageMappingMethodInvoker(object obj, Type attributeType)
 {
     AssertUtils.ArgumentNotNull(obj, "object must not be null");
     AssertUtils.ArgumentNotNull(attributeType, "annotation type must not be null");
     _obj            = obj;
     _methodResolver = CreateResolverForAnnotation(attributeType);
 }
Esempio n. 6
0
 public MessageMappingMethodInvoker(object obj, MethodInfo method)
 {
     AssertUtils.ArgumentNotNull(obj, "object must not be null");
     AssertUtils.ArgumentNotNull(method, "method must not be null");
     _obj            = obj;
     _methodResolver = new StaticHandlerMethodResolver(method);
 }