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

GetDefaultMemberName() private static méthode

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