Share via


FunctionLinkBuilder Class

 

FunctionLinkBuilder can be used to annotate an Function. This is how formatters create links to invoke bound functions.

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

Inheritance Hierarchy

System.Object
  System.Web.OData.Builder.FunctionLinkBuilder

Syntax

public class FunctionLinkBuilder
public ref class FunctionLinkBuilder 
type FunctionLinkBuilder = class end
Public Class FunctionLinkBuilder

Constructors

Name Description
System_CAPS_pubmethod FunctionLinkBuilder(Func<EntityInstanceContext, Uri>, Boolean)

Create a new FunctionLinkBuilder based on an functionLinkFactory.

Properties

Name Description
System_CAPS_pubproperty FollowsConventions

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

Methods

Name Description
System_CAPS_pubmethod BuildFunctionLink(EntityInstanceContext)

Builds the function link for the given entity.

System_CAPS_pubmethodSystem_CAPS_static CreateFunctionLinkFactory(Func<EntityInstanceContext, Uri>, Func<EntityInstanceContext, Boolean>)

Creates an function link factory that builds an function link, but only when appropriate based on the expensiveAvailabilityCheck, and whether expensive checks should be made, which is deduced by looking at the EntityInstanceContext.SkipExpensiveFunctionAvailabilityChecks property.

System_CAPS_pubmethod Equals(Object)

(Inherited from Object.)

System_CAPS_protmethod Finalize()

(Inherited from Object.)

System_CAPS_pubmethod GetHashCode()

(Inherited from Object.)

System_CAPS_pubmethod GetType()

(Inherited from Object.)

System_CAPS_protmethod MemberwiseClone()

(Inherited from Object.)

System_CAPS_pubmethod ToString()

(Inherited from Object.)

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.OData.Builder Namespace

Return to top