/// <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));
 }
Esempio n. 2
0
 public TagCompound(string name, TagDictionary value)
     : base(name)
 {
     Value = 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));
 }
Esempio n. 4
0
 public TagCompound(TagDictionary value)
     : this(string.Empty, value)
 {
 }