public void HandlerDelete(IIncomingHeaders incomingHeaders, IOutgoingHeaders outgoingHeaders) { _data = null; }
public EndpointReference HandleCreate(IIncomingHeaders incomingHeaders, IOutgoingHeaders outgoingHeaders, ExtractBodyDelegate extractBodyCallback) { _data = (SampleData)extractBodyCallback(typeof(SampleData)); return(new EndpointReference("http://example.com")); }
public object HandlePut(IIncomingHeaders incomingHeaders, IOutgoingHeaders outgoingHeaders, ExtractBodyDelegate extractBodyCallback) { _data = (SampleData)extractBodyCallback(typeof(SampleData)); return(_data); }
public void HandlerDelete(IIncomingHeaders incomingHeaders, IOutgoingHeaders outgoingHeaders) { _data = null; }
public EndpointReference HandleCreate(IIncomingHeaders incomingHeaders, IOutgoingHeaders outgoingHeaders, ExtractBodyDelegate extractBodyCallback) { _data = (SampleData)extractBodyCallback(typeof(SampleData)); return new EndpointReference("http://example.com"); }
public object HandlePut(IIncomingHeaders incomingHeaders, IOutgoingHeaders outgoingHeaders, ExtractBodyDelegate extractBodyCallback) { _data = (SampleData)extractBodyCallback(typeof (SampleData)); return _data; }