public override void Process(TagHelperContext context, TagHelperOutput output)
        {
            var linkEntry = new LinkEntry();

            linkEntry.Priority = Priority;

            if (!string.IsNullOrEmpty(Src))
            {
                linkEntry.Href = Src;
            }

            if (!string.IsNullOrEmpty(Rel))
            {
                linkEntry.Rel = Rel;
            }

            if (!string.IsNullOrEmpty(Condition))
            {
                linkEntry.Condition = Condition;
            }

            if (!string.IsNullOrEmpty(Title))
            {
                linkEntry.Title = Title;
            }

            if (!string.IsNullOrEmpty(Type))
            {
                linkEntry.Type = Type;
            }

            foreach (var attribute in output.Attributes)
            {
                if (String.Equals(attribute.Name, "href", StringComparison.OrdinalIgnoreCase))
                {
                    continue;
                }

                linkEntry.SetAttribute(attribute.Name, attribute.Value.ToString());
            }

            _resourceManager.RegisterLink(linkEntry);

            output.TagName = null;
        }
 public void RegisterLink(LinkEntry link)
 {
     _links.Add(link);
 }