protected override Task ProcessComponent(TagHelperContext context, TagHelperOutput output)
        {
            if (Multiple)
            {
                CshtmlComponentInjectionContentStore.AddBodyInjectionContentItem(new CshtmlComponentInjectionContentItem(ContentOrder, ChildContent));
            }
            else
            {
                if (!CshtmlComponentTracker.HasComponentTypeInjectedBodyContent(CshtmlComponentTrackerKey))
                {
                    CshtmlComponentTracker.AddInjectedBodyContentComponentType(CshtmlComponentTrackerKey);

                    CshtmlComponentInjectionContentStore.AddBodyInjectionContentItem(new CshtmlComponentInjectionContentItem(ContentOrder, ChildContent));
                }
            }

            output.SuppressOutput();

            return(base.ProcessComponent(context, output));
        }
        protected override Task ProcessComponent(TagHelperContext context, TagHelperOutput output)
        {
            if (string.Equals(context.TagName, "head", StringComparison.OrdinalIgnoreCase))
            {
            }

            if (Multiple)
            {
                CshtmlComponentInjectionContentStore.AddHeadInjectionContentItem(new CshtmlComponentInjectionContentItem(ContentOrder, ChildContent));
            }
            else
            {
                if (!CshtmlComponentTracker.HasComponentTypeInjectedHeadContent(CshtmlComponentTrackerKey))
                {
                    CshtmlComponentTracker.AddInjectedHeadContentComponentType(CshtmlComponentTrackerKey);

                    CshtmlComponentInjectionContentStore.AddHeadInjectionContentItem(new CshtmlComponentInjectionContentItem(ContentOrder, ChildContent));
                }
            }

            output.SuppressOutput();

            return(base.ProcessComponent(context, output));
        }