Castle.MonoRail.Views.Brail.ExpandDuckTypedExpressions_WorkaroundForDuplicateVirtualMethods.GetResolvedMethod C# (CSharp) 메소드

GetResolvedMethod() 개인적인 메소드

private GetResolvedMethod ( IType type, string name ) : IMethod
type IType
name string
리턴 IMethod
		private IMethod GetResolvedMethod(IType type, string name)
		{
			IMethod method = NameResolutionService.ResolveMethod(type, name);
			if (null == method) throw new System.ArgumentException(string.Format("Method '{0}' not found in type '{1}'", type, name));
			return method;
		}
		#endregion