44 references to WebMessageBodyStyle
System.ServiceModel.Web (44)
System\ServiceModel\Configuration\WebHttpElement.cs (4)
29
public
WebMessageBodyStyle
DefaultBodyStyle
31
get { return (
WebMessageBodyStyle
)base[WebConfigurationStrings.DefaultBodyStyle]; }
65
properties.Add(new ConfigurationProperty(WebConfigurationStrings.DefaultBodyStyle, typeof(System.ServiceModel.Web.
WebMessageBodyStyle
), System.ServiceModel.Web.
WebMessageBodyStyle
.Bare, null, new System.ServiceModel.Configuration.InternalEnumValidator(typeof(System.ServiceModel.Web.WebMessageBodyStyleHelper)), System.Configuration.ConfigurationPropertyOptions.None));
System\ServiceModel\Description\WebHttpBehavior.cs (17)
28
WebMessageBodyStyle
defaultBodyStyle;
38
this.defaultBodyStyle =
WebMessageBodyStyle
.Bare;
44
public virtual
WebMessageBodyStyle
DefaultBodyStyle
475
internal
WebMessageBodyStyle
GetBodyStyle(OperationDescription od)
574
WebMessageBodyStyle
style = GetBodyStyle(operationDescription);
591
internal virtual bool UseBareReplyFormatter(
WebMessageBodyStyle
style, OperationDescription operationDescription, WebMessageFormat responseFormat, out Type parameterType)
624
WebMessageBodyStyle
style = GetBodyStyle(operationDescription);
673
WebMessageBodyStyle
style = GetBodyStyle(operationDescription);
747
WebMessageBodyStyle
style = GetBodyStyle(operationDescription);
824
internal virtual bool UseBareRequestFormatter(
WebMessageBodyStyle
style, OperationDescription operationDescription, out Type parameterType)
932
static bool IsBareRequest(
WebMessageBodyStyle
style)
934
return (style ==
WebMessageBodyStyle
.Bare || style ==
WebMessageBodyStyle
.WrappedResponse);
937
static bool IsBareResponse(
WebMessageBodyStyle
style)
939
return (style ==
WebMessageBodyStyle
.Bare || style ==
WebMessageBodyStyle
.WrappedRequest);
1187
WebMessageBodyStyle
style = GetBodyStyle(operation);
System\ServiceModel\Description\WebScriptEnablingBehavior.cs (5)
24
static readonly
WebMessageBodyStyle
webScriptBodyStyle =
WebMessageBodyStyle
.WrappedRequest;
34
public override
WebMessageBodyStyle
DefaultBodyStyle
183
WebMessageBodyStyle
bodyStyle = GetBodyStyle(operation);
213
internal override bool UseBareReplyFormatter(
WebMessageBodyStyle
style, OperationDescription operationDescription, WebMessageFormat responseFormat, out Type parameterType)
System\ServiceModel\Dispatcher\HelpPage.cs (5)
187
public
WebMessageBodyStyle
BodyStyle
202
this.BodyStyle ==
WebMessageBodyStyle
.WrappedRequest || this.BodyStyle ==
WebMessageBodyStyle
.Wrapped);
215
this.BodyStyle ==
WebMessageBodyStyle
.WrappedResponse || this.BodyStyle ==
WebMessageBodyStyle
.Wrapped);
System\ServiceModel\Web\WebGetAttribute.cs (4)
18
WebMessageBodyStyle
bodyStyle;
30
public
WebMessageBodyStyle
BodyStyle
130
internal
WebMessageBodyStyle
GetBodyStyleOrDefault(
WebMessageBodyStyle
defaultStyle)
System\ServiceModel\Web\WebInvokeAttribute.cs (4)
17
WebMessageBodyStyle
bodyStyle;
30
public
WebMessageBodyStyle
BodyStyle
113
internal
WebMessageBodyStyle
GetBodyStyleOrDefault(
WebMessageBodyStyle
defaultStyle)
System\ServiceModel\Web\WebMessageBodyStyleHelper.cs (5)
9
internal static bool IsDefined(
WebMessageBodyStyle
style)
11
return (style ==
WebMessageBodyStyle
.Bare
12
|| style ==
WebMessageBodyStyle
.Wrapped
13
|| style ==
WebMessageBodyStyle
.WrappedRequest
14
|| style ==
WebMessageBodyStyle
.WrappedResponse);