Ejemplo n.º 1
0
 public override void Methods(object obj,InjectMethod[] InjectMethods)
 {
     if(InjectMethods != null && InjectMethods.Count() > 0)
     {
         foreach(var m in InjectMethods)
         {
             MethodInfo methodInfo = obj.GetType().GetMethod(m.Name,BindingFlags.Public | BindingFlags.Instance | BindingFlags.FlattenHierarchy);
             methodInfo.Invoke(obj,m.Argments);
         }
     }
 }
Ejemplo n.º 2
0
 public BindingTarget(Type type,InjectProperty[] property,InjectMethod[] method)
 {
     this.type = type;
     this.property = property;
     this.method = method;
 }
Ejemplo n.º 3
0
 public virtual void Methods(object obj,InjectMethod[] InjectMethods)
 {
 }