public static object InvokeActionMethod(this IDDRef objRef, DriverAction action, params object[] objects) { var method = objRef.GetActionMethod(action); if (method == null) { return(null); } return(method.Invoke(objRef, objects)); }
public static DriverAction GetAcceptDriverActions(this IDDRef refObj) { return(refObj.GetType().GetAcceptDriverActions()); }
public static IEnumerable <Type> GetDomainTypes(this IDDRef refObj) { return(refObj.GetType().GetDomainTypes()); }
public static MethodInfo GetActionMethod(this IDDRef objRef, DriverAction action) { return(objRef.GetType().GetActionMethod(action)); }