/// <summary> /// Load the metatags from a string - such as a comment. /// </summary> /// <param name="s">The string from which to load the metatags.</param> /// <seealso cref="MetaTag.Extract(string)"/> public void Load(string s) { foreach (var pair in MetaTag.Extract(s)) { this[pair.Key] = pair.Value; } }
/// <summary> /// Update and embed metatags into an existing string - such as a comment. /// </summary> /// <param name="s">The string into which to embed the metatags.</param> /// <returns>A string with updated metatags.</returns> /// <seealso cref="MetaTag.EmbedAndUpdateMetaTags(string, IEnumerable{KeyValuePair{string, string}})"/> public string EmbedAndUpdate(string s) { return(MetaTag.EmbedAndUpdate(s, this)); }