Example #1
0
 public void HandlerDelete(IIncomingHeaders incomingHeaders, IOutgoingHeaders outgoingHeaders)
 {
     _data = null;
 }
Example #2
0
 public EndpointReference HandleCreate(IIncomingHeaders incomingHeaders, IOutgoingHeaders outgoingHeaders, ExtractBodyDelegate extractBodyCallback)
 {
     _data = (SampleData)extractBodyCallback(typeof(SampleData));
     return(new EndpointReference("http://example.com"));
 }
Example #3
0
 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;
 }