CSScheme.DotNetMember.apply C# (CSharp) Метод

apply() публичный Метод

public apply ( Scheme interpreter, Object args ) : Object
interpreter Scheme
args Object
Результат Object
        public override Object apply(Scheme interpreter, Object args)
        {
            try
            {
                if (isStatic) return method.Invoke(null, toArray(args));
                else return method.Invoke(first(args), toArray(rest(args)));
            }
            catch (IllegalAccessException e) { ; }
            catch (IllegalArgumentException e) { ; }
            catch (InvocationTargetException e) { ; }
            catch (NullPointerException e) { ; }
            return error("Bad CLR Method application:" + this
                + stringify(args) + ", ");
        }