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 | |
---|---|---|
SelfLinkBuilder<T> | Constructs a new instance of SelfLinkBuilder<T>. |
Top
Properties
Name | Description | |
---|---|---|
Factory | Gets the factory for generating links. | |
FollowsConventions | Gets a boolean indicating whether the link factory follows OData conventions or not. |
Top
Methods
Name | Description | |
---|---|---|
Equals | (Inherited from Object.) | |
Finalize | (Inherited from Object.) | |
GetHashCode | (Inherited from Object.) | |
GetType | (Inherited from Object.) | |
MemberwiseClone | (Inherited from Object.) | |
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.