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

GetDefaultMemberName() 개인적인 정적인 메소드

private static GetDefaultMemberName ( Type type ) : String
type System.Type
리턴 String
		private static String GetDefaultMemberName(Type type)
		{
			DefaultMemberAttribute attribute =
				(DefaultMemberAttribute) Attribute.GetCustomAttribute(type, typeof(DefaultMemberAttribute));
			return attribute != null ? attribute.MemberName : "";
		}