Share via


SelfLinkBuilder<T> Class

Definition

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

public class SelfLinkBuilder<T>
type SelfLinkBuilder<'T> = class
Public Class SelfLinkBuilder(Of T)

Type Parameters

T

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

Inheritance
SelfLinkBuilder<T>

Constructors

SelfLinkBuilder<T>(Func<ResourceContext,T>, Boolean)

Constructs a new instance of SelfLinkBuilder<T>.

Properties

Factory

Gets the factory for generating links.

FollowsConventions

Gets a boolean indicating whether the link factory follows OData conventions or not.

Applies to