Share via


UrlHelperExtensions Class

 

Provides extension methods for the UrlHelper class.

Namespace:   System.Web.Http.OData.Extensions
Assembly:  System.Web.Http.OData (in System.Web.Http.OData.dll)

Inheritance Hierarchy

System.Object
  System.Web.Http.OData.Extensions.UrlHelperExtensions

Syntax

[EditorBrowsableAttribute(EditorBrowsableState.Never)]
public static class UrlHelperExtensions
[EditorBrowsableAttribute(EditorBrowsableState::Never)]
[ExtensionAttribute]
public ref class UrlHelperExtensions abstract sealed 
[<AbstractClass>]
[<Sealed>]
[<EditorBrowsableAttribute(EditorBrowsableState.Never)>]
type UrlHelperExtensions = class end
<EditorBrowsableAttribute(EditorBrowsableState.Never)>
<ExtensionAttribute>
Public NotInheritable Class UrlHelperExtensions

Methods

Name Description
System_CAPS_pubmethodSystem_CAPS_static CreateODataLink(UrlHelper, IList<ODataPathSegment>)

Generates an OData link using the request's OData route name and path handler and given segments.

System_CAPS_pubmethodSystem_CAPS_static CreateODataLink(UrlHelper, ODataPathSegment[])

Generates an OData link using the request's OData route name and path handler and given segments.

System_CAPS_pubmethodSystem_CAPS_static CreateODataLink(UrlHelper, String, IODataPathHandler, IList<ODataPathSegment>)

Generates an OData link using the given OData route name, path handler, and segments.

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

See Also

System.Web.Http.OData.Extensions Namespace

Return to top