/// <summary>
 /// Initializes a new instance of the <see cref="StageContentViewModel" />
 /// </summary>
 /// <param name="sceneContent"></param>
 public StageContentViewModel(ISceneContent sceneContent)
 {
     SelectItemsCommand = new SelectSceneEntitiesCommand(sceneContent);
     sceneContent.StageChanged += (sender, stage) => Stage = stage;
     Stage = sceneContent.Stage;
 }
Ejemplo n.º 2
0
 /// <summary>
 /// Initializes a new instance of the <see cref="StageContentViewModel" />
 /// </summary>
 /// <param name="sceneContent"></param>
 public StageContentViewModel(ISceneContent sceneContent)
 {
     SelectItemsCommand         = new SelectSceneEntitiesCommand(sceneContent);
     sceneContent.StageChanged += (sender, stage) => Stage = stage;
     Stage = sceneContent.Stage;
 }