Share via


SelfLinkBuilder<T> Class

Encapsulates a self-link factory and whether the link factory follows conventions or not.

Inheritance Hierarchy

System.Object
  System.Web.Http.OData.Builder.SelfLinkBuilder<T>

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

Syntax

'Declaration
Public Class SelfLinkBuilder(Of T)
'Usage
Dim instance As SelfLinkBuilder(Of T)
public class SelfLinkBuilder<T>
generic<typename T>
public ref class SelfLinkBuilder
type SelfLinkBuilder<'T> =  class end
JScript does not support generic types and methods.

Type Parameters

  • T
    The type of the self link generated. This should be for ID links and for read and edit links.

The SelfLinkBuilder<T> type exposes the following members.

Constructors

  Name Description
Public method SelfLinkBuilder<T> Constructs a new instance of SelfLinkBuilder<T>.

Top

Properties

  Name Description
Public property Factory Gets the factory for generating links.
Public property FollowsConventions Gets a boolean indicating whether the link factory follows OData conventions or not.

Top

Methods

  Name Description
Public method Equals (Inherited from Object.)
Protected method Finalize (Inherited from Object.)
Public method GetHashCode (Inherited from Object.)
Public method GetType (Inherited from Object.)
Protected method MemberwiseClone (Inherited from Object.)
Public method ToString (Inherited from Object.)

Top

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

Reference

System.Web.Http.OData.Builder Namespace