Exemplo n.º 1
0
        public static IHtmlString BreadCrumb(this ApiServices context, DocumentedNamespace @namespace)
        {
            var breadcrumb = new Breadcrumb();

            breadcrumb.AppendApiRoot();
            breadcrumb.AppendNamespaces(context, @namespace, false);
            return(breadcrumb.Render());
        }
Exemplo n.º 2
0
        public static IHtmlString BreadCrumb(this ApiServices context, DocumentedProperty property)
        {
            var breadcrumb = new Breadcrumb();

            breadcrumb.AppendApiRoot();
            breadcrumb.AppendNamespaces(context, property.Type.Namespace, true);
            breadcrumb.AppendType(context, property.Type, true);
            breadcrumb.AppendProperty(context, property);
            return(breadcrumb.Render());
        }
Exemplo n.º 3
0
        public static IHtmlString BreadCrumb(this ApiServices context, DocumentedMethod method)
        {
            var breadcrumb = new Breadcrumb();

            breadcrumb.AppendApiRoot();
            breadcrumb.AppendNamespaces(context, method.Type.Namespace, true);
            breadcrumb.AppendType(context, method.Type, true);
            breadcrumb.AppendMethod(context, method);
            return(breadcrumb.Render());
        }