コード例 #1
0
        public override async Task ProcessAsync(TagHelperContext context, TagHelperOutput output)
        {
            var elementName = context.TagName;

            var component = _vueEngine.GetComponent(elementName);

            if (null != component)
            {
                _vueEngine.NotifyUsed(component);
            }
            await base.ProcessAsync(context, output);
        }
コード例 #2
0
 public void OnGet()
 {
     _vueEngine.NotifyUsed(_vueEngine.GetComponent("base-page-component"));
     _vueEngine.NotifyUsed(_vueEngine.GetComponent("blog-page-component"));
 }