public TileVisualization(ICommand command, TileVisualizationType type, params TileVisualizationElement[] elements) { Debug.Assert(elements != null); Debug.Assert((elements.Length != 0) == (type != TileVisualizationType.Hidden)); Command = command; Type = type; Elements = elements; }
public TileVisualization(ICommand command, TileVisualizationType type, string text) : this(command, type, new TileVisualizationElement(text)) { }