Beispiel #1
0
 /// <summary>
 /// Initializes a new instance of the <see cref="TileItem"/> class.
 /// </summary>
 /// <param name="tile">
 /// The tile.
 /// </param>
 public TileItem(BaseTile tile)
 {
     this.Id          = tile.TemplateType;
     this.Tile        = tile;
     this.Xml         = System.Xml.Linq.XDocument.Parse(tile.ToString()).ToString();
     this.Description = tile.GetDescription();
 }