/// <summary>calling this method "method" will break C# conversion with the old converter /// </summary> public static MethodInfo GetMethod(string className, string methodName, Type[] paramClasses ) { Type clazz = ReflectPlatform.ForName(className); if (clazz == null) { return(null); } return(GetMethod(clazz, methodName, paramClasses)); }
/// <exception cref="Sharpen.Lang.InstantiationException"></exception> /// <exception cref="System.MemberAccessException"></exception> private IObjectTranslator NewTranslatorFromPlatform(string translatorName) { return((IObjectTranslator)System.Activator.CreateInstance(ReflectPlatform.ForName (translatorName))); }