/// <summary> /// Initializes a new instance of the <see cref="OpenFileWith3DModelCommand" /> /// </summary> /// <param name="viewModel">The viewModel to keep state of the importing 3D viewModel operation</param> public OpenFileWith3DModelCommand(Import3DModelViewModel viewModel) { _viewModel = viewModel; }
/// <summary> /// Initializes a new instance of the <see cref="PerformImport3DModelCommand" /> /// </summary> /// <param name="viewModel">Th view-model of the importing view</param> /// <param name="sceneContent">The content of the scene</param> public PerformImport3DModelCommand(Import3DModelViewModel viewModel, ISceneContent sceneContent) { _viewModel = viewModel; _sceneContent = sceneContent; }