WebMessageBodyStyle GetBodyStyle (WebAttributeInfo wai) { return wai != null && wai.IsBodyStyleSetExplicitly ? wai.BodyStyle : DefaultBodyStyle; }