public HttpResponseMessage Post(string correlationId = null) { var transformer = new TTransformer(); var data = transformer.Transform(Request.Content.ReadAsStreamAsync().Result); var pipelineId = ExtractPipelineId(data, correlationId); Host.Activate(pipelineId, data); var response = Request.CreateResponse(HttpStatusCode.Created); return(response); }
public void Activate() { if (Host != null) { if (Host.Status == ViewHostStatus.AutoHide) { Host.DockSide.ActivateView(this); } else { Host.Activate(this); } } OnActivated(); }