SenseNet.ContentRepository.HttpEndpointDemoContent.ProcessRequest C# (CSharp) Method

ProcessRequest() public method

public ProcessRequest ( HttpContext context ) : void
context System.Web.HttpContext
return void
        public void ProcessRequest(HttpContext context)
        {
            string responseString = string.Format("<html><head><title>Repository Path: {0}</title></head><body><div><h2>{0}</h2><br />A = {1}<br />B = {2}<br /><b>A + B = {3}</div></body></html>", this.Path, A, B, A + B);
            context.Response.Clear();
            context.Response.ContentType = "text/html";
            context.Response.Write(responseString);
            context.Response.End();
        }