DataService<T>.ODataWriterFactory Property
Public func to wrap the current DataServiceODataWriter with custom one to intercept WCF Data Services calls to ODataWriter. This enables seeing the ODataFeed/ODataEntry/ ODataNavigationLink instances that gets passed to underlying instance.
Namespace: System.Data.Services
Assembly: Microsoft.Data.Services (in Microsoft.Data.Services.dll)
'Declaration
Public Property ODataWriterFactory As Func(Of ODataWriter, DataServiceODataWriter)
Get
Set
'Usage
Dim instance As DataService
Dim value As Func(Of ODataWriter, DataServiceODataWriter)
value = instance.ODataWriterFactory
instance.ODataWriterFactory = value
public Func<ODataWriter, DataServiceODataWriter> ODataWriterFactory { get; set; }
public:
property Func<ODataWriter^, DataServiceODataWriter^>^ ODataWriterFactory {
Func<ODataWriter^, DataServiceODataWriter^>^ get ();
void set (Func<ODataWriter^, DataServiceODataWriter^>^ value);
}
member ODataWriterFactory : Func<ODataWriter, DataServiceODataWriter> with get, set
function get ODataWriterFactory () : Func<ODataWriter, DataServiceODataWriter>
function set ODataWriterFactory (value : Func<ODataWriter, DataServiceODataWriter>)