Share via


HttpConfigurationExtensions.Expand Method

Definition

Overloads

Expand(HttpConfiguration, QueryOptionSetting)

Sets the EnableExpand of DefaultQuerySettings in the configuration, depends on QueryOptionSetting. Todo: change QueryOptionSetting to SelectExpandType.

Expand(HttpConfiguration)

Sets the EnableExpand to true of DefaultQuerySettings in the configuration.

Expand(HttpConfiguration, QueryOptionSetting)

Sets the EnableExpand of DefaultQuerySettings in the configuration, depends on QueryOptionSetting. Todo: change QueryOptionSetting to SelectExpandType.

public static System.Web.Http.HttpConfiguration Expand (this System.Web.Http.HttpConfiguration configuration, Microsoft.AspNet.OData.Query.QueryOptionSetting setting);
static member Expand : System.Web.Http.HttpConfiguration * Microsoft.AspNet.OData.Query.QueryOptionSetting -> System.Web.Http.HttpConfiguration
<Extension()>
Public Function Expand (configuration As HttpConfiguration, setting As QueryOptionSetting) As HttpConfiguration

Parameters

configuration
System.Web.Http.HttpConfiguration

Returns

System.Web.Http.HttpConfiguration

Applies to

Expand(HttpConfiguration)

Sets the EnableExpand to true of DefaultQuerySettings in the configuration.

public static System.Web.Http.HttpConfiguration Expand (this System.Web.Http.HttpConfiguration configuration);
static member Expand : System.Web.Http.HttpConfiguration -> System.Web.Http.HttpConfiguration
<Extension()>
Public Function Expand (configuration As HttpConfiguration) As HttpConfiguration

Parameters

configuration
System.Web.Http.HttpConfiguration

Returns

System.Web.Http.HttpConfiguration

Applies to