Share via


SelfLinkBuilder<T>.Factory Property

Gets the factory for generating links.

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

Syntax

'Declaration
Public Property Factory As Func(Of EntityInstanceContext, T)
    Get 
    Private Set
'Usage
Dim instance As SelfLinkBuilder 
Dim value As Func(Of EntityInstanceContext, T)

value = instance.Factory
public Func<EntityInstanceContext, T> Factory { get; private set; }
public:
property Func<EntityInstanceContext^, T>^ Factory {
    Func<EntityInstanceContext^, T>^ get ();
    private: void set (Func<EntityInstanceContext^, T>^ value);
}
member Factory : Func<EntityInstanceContext, 'T> with get, private set
function get Factory () : Func<EntityInstanceContext, T>
private function set Factory (value : Func<EntityInstanceContext, T>)

Property Value

Type: System.Func<EntityInstanceContext, T>

See Also

Reference

SelfLinkBuilder<T> Class

System.Web.Http.OData.Builder Namespace