System.ServiceModel.Description.ContractDescriptionGenerator.GetMessageBodyMemberAttribute C# (CSharp) Метод

GetMessageBodyMemberAttribute() статический приватный Метод

static private GetMessageBodyMemberAttribute ( MemberInfo mi ) : System.ServiceModel.MessageBodyMemberAttribute
mi System.Reflection.MemberInfo
Результат System.ServiceModel.MessageBodyMemberAttribute
		static MessageBodyMemberAttribute GetMessageBodyMemberAttribute (MemberInfo mi)
		{
			object [] matts = mi.GetCustomAttributes (
				typeof (MessageBodyMemberAttribute), true);
			return matts.Length > 0 ? (MessageBodyMemberAttribute) matts [0] : null;
		}
	}