Exemple #1
0
        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;
        }
Exemple #2
0
 public TileVisualization(ICommand command, TileVisualizationType type, string text)
     : this(command, type, new TileVisualizationElement(text))
 {
 }