ActionLinkBuilder Constructor (Func<EntityInstanceContext, Uri>, Boolean)
Create a new ActionLinkBuilder based on an actionLinkFactory.
Remarks
If the action is not available the actionLinkFactory delegate should return NULL.
Namespace: System.Web.Http.OData.Builder
Assembly: System.Web.Http.OData (in System.Web.Http.OData.dll)
Syntax
public ActionLinkBuilder(
Func<EntityInstanceContext, Uri> actionLinkFactory,
bool followsConventions
)
public:
ActionLinkBuilder(
Func<EntityInstanceContext^, Uri^>^ actionLinkFactory,
bool followsConventions
)
new :
actionLinkFactory:Func<EntityInstanceContext, Uri> *
followsConventions:bool -> ActionLinkBuilder
Public Sub New (
actionLinkFactory As Func(Of EntityInstanceContext, Uri),
followsConventions As Boolean
)
Parameters
actionLinkFactory
Type: System.Func<EntityInstanceContext, Uri>The actionLinkFactory this ActionLinkBuilder should use when building links.
followsConventions
Type: System.BooleanA value indicating whether the action link factory generates links that follow OData conventions.
See Also
ActionLinkBuilder Class
System.Web.Http.OData.Builder Namespace
Return to top