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 : "";
		}