public override async Task ProcessAsync(TagHelperContext context, TagHelperOutput output) { if (!Resource.IsNullOrWhiteSpace()) { var localizer = WorkContext.GetLocalizer(); if (!output.IsContentModified) { var content = await output.GetChildContentAsync(); string resourceValue = localizer(Resource, String.Empty); if (resourceValue.IsNullOrWhiteSpace()) { output.Content.SetContent(content.GetContent()); } else { output.Content.SetContent(resourceValue); } } } }