Alex.Controls.Shared.Extentions.AccessExtensions.Call C# (CSharp) Method

Call() static private method

static private Call ( this o, string methodName ) : object
o this
methodName string
return object
		internal static object Call(this object o, string methodName, params object[] args)
		{
			var mi = o.GetType ().GetMethod (methodName, System.Reflection.BindingFlags.NonPublic | System.Reflection.BindingFlags.Instance );
			if (mi != null) {
				return mi.Invoke (o, args);
			}
			return null;
		}
	}
AccessExtensions