Ejemplo n.º 1
0
        protected override void RenderOperations(HtmlTextWriter writer, IHttpRequest httpReq, ServiceMetadata metadata)
        {
            var defaultPage = new OperationsControl {
                Title = EndpointHost.Config.ServiceName,
                OperationNames = metadata.GetOperationNamesForMetadata(httpReq, Format),
                MetadataOperationPageBodyHtml = EndpointHost.Config.MetadataOperationPageBodyHtml,
            };

            defaultPage.RenderControl(writer);
        }
        protected override void RenderOperations(HtmlTextWriter writer, IHttpRequest httpReq, Operations allOperations)
        {
            var defaultPage = new OperationsControl {
                Title = EndpointHost.Config.ServiceName,
                OperationNames = allOperations.Names,
                MetadataOperationPageBodyHtml = EndpointHost.Config.MetadataOperationPageBodyHtml,
            };

            defaultPage.RenderControl(writer);
        }
        protected override void RenderOperations(HtmlTextWriter writer, Operations allOperations)
        {
            var defaultPage = new OperationsControl {
                Title = EndpointHost.Config.ServiceName,
                OperationNames = allOperations.Names,
                UsageExamplesBaseUri = EndpointHost.Config.UsageExamplesBaseUri,
            };

            defaultPage.RenderControl(writer);
        }