コード例 #1
0
        /// <summary>
        /// Navigate to the FileSystemTree directory entry corresponding to
        /// <paramref name="relativePathEntry"/>. This is a no-op if the FileSystemTree
        /// is already the currently active ViewModel.
        /// </summary>
        public void ShowInSourceExplorer(FileSystemEntryViewModel relativePathEntry)
        {
            var path = relativePathEntry.GetFullPath();

            _eventBus.Fire("ShowInSolutionExplorer", relativePathEntry, new FilePathEventArgs {
                FilePath = path
            });
        }
コード例 #2
0
        /// <summary>
        /// Navigate to the FileSystemTree directory entry corresponding to
        /// <paramref name="relativePathEntry"/>. This is a no-op if the FileSystemTree
        /// is already the currently active ViewModel.
        /// </summary>
        public void ShowInSourceExplorer(FileSystemEntryViewModel relativePathEntry)
        {
            var path = relativePathEntry.GetFullPath();

            _eventBus.PostEvent(EventNames.SolutionExplorer.ShowFile, relativePathEntry, new FilePathEventArgs {
                FilePath = path
            });
        }