Пример #1
0
 /// <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));
 }
Пример #2
0
 /// <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));
 }
Пример #3
0
 public TagCompound(string name, TagDictionary value)
     : base(name)
 {
     this.Value = value;
 }
Пример #4
0
 public override void SetValue(object value)
 {
     this.Value = (TagDictionary)value;
 }
Пример #5
0
 public TagCompound(TagDictionary value)
     : this(string.Empty, value)
 {
 }