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);
        }
예제 #2
0
 public void Activate()
 {
     if (Host != null)
     {
         if (Host.Status == ViewHostStatus.AutoHide)
         {
             Host.DockSide.ActivateView(this);
         }
         else
         {
             Host.Activate(this);
         }
     }
     OnActivated();
 }