protected override void RenderOperations(HtmlTextWriter writer, IHttpRequest httpReq, ServiceMetadata metadata)
        {
            var defaultPage = new OperationsControl
            {
                Title          = metadata.FullServiceName,
                OperationNames = metadata.GetAllOperationNames(),
            };

            defaultPage.RenderControl(writer);
        }
Esempio n. 2
0
        protected override void RenderOperations(HtmlTextWriter writer, IHttpRequest httpReq, ServiceMetadata metadata)
        {
            var defaultPage = new IndexOperationsControl
            {
                HttpRequest            = httpReq,
                MetadataConfig         = EndpointHost.Config.CreateMetadataPagesConfig(metadata),
                Title                  = metadata.FullServiceName,
                AntServiceStackVersion = metadata.AntServiceStackVersion,
                AntCodeGenVersion      = metadata.AntCodeGenVersion,
                OperationNames         = metadata.GetAllOperationNames()
            };

            defaultPage.RenderControl(writer);
        }