/// <summary> /// Creates a tag for a <see cref="T:TagDictionary" /> value with the specified name. /// </summary> /// <param name="name">The name of the tag create.</param> /// <param name="value">The <see cref="T:TagDictionary" /> value of the tag.</param> /// <returns> /// A new <see cref="TagCompound" />. /// </returns> public static TagCompound CreateTag(string name, TagDictionary value) { return(new TagCompound(name, value)); }
/// <summary> /// Creates a tag for a <see cref="T:TagDictionary" /> value. /// </summary> /// <param name="value">The <see cref="T:TagDictionary" /> value of the tag.</param> /// <returns> /// A new <see cref="TagCompound" />. /// </returns> public static TagCompound CreateTag(TagDictionary value) { return(CreateTag(string.Empty, value)); }
public TagCompound(string name, TagDictionary value) : base(name) { this.Value = value; }
public override void SetValue(object value) { this.Value = (TagDictionary)value; }
public TagCompound(TagDictionary value) : this(string.Empty, value) { }