Castle.MonoRail.Views.Brail.ExpandDuckTypedExpressions_WorkaroundForDuplicateVirtualMethods.GetResolvedMethod C# (CSharp) Méthode

GetResolvedMethod() private méthode

private GetResolvedMethod ( IType type, string name ) : IMethod
type IType
name string
Résultat 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