AjTalk.Language.DotNetObject.GetMethod C# (CSharp) Method

GetMethod() private static method

private static GetMethod ( System.Machine machine, object obj, object args ) : object
machine System.Machine
obj object
args object
return object
        private static object GetMethod(Machine machine, object obj, object[] args)
        {
            return obj.GetType().GetProperty((string)args[0]).GetValue(obj, null);
        }