예제 #1
0
 public ModuleBinding(Wire wire, string name, Type type, MethodInfo methodInfo, object module)
     : base(wire, name, type)
 {
     this.methodInfo = methodInfo;
     this.module     = module;
 }
 public AutoRegisteredPocoBinding(Wire wire, string name, Type type, ConstructorInfo methodInfo)
     : base(wire, name, type)
 {
     this.constructorInfo = methodInfo;
 }
예제 #3
0
 public AbstractBinding(Wire wire, string name, Type type)
 {
     this.wire = wire;
     BoundName = name;
     BoundType = type;
 }
예제 #4
0
 public static object ResolveParametersAndInvokeMethod(Wire wire, MethodInfo methodInfo, object @object)
 {
     return(methodInfo.Invoke(@object, ResolveParameters(wire, methodInfo)));
 }
예제 #5
0
 public static object ResolveParametersAndInvokeConstructor(Wire wire, ConstructorInfo constructorInfo)
 {
     return(constructorInfo.Invoke(ResolveParameters(wire, constructorInfo)));
 }
예제 #6
0
 public AutoRegisteredComponentBinding(Wire wire, string name, Type type)
     : base(wire, name, type)
 {
 }