/// <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;
 }
示例#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;
 }