C# Класс PReview.GitDiffMarginCommandHandler

Наследование: TextViewCommandFilter
Показать файл Открыть проект

Открытые методы

Метод Описание
GitDiffMarginCommandHandler ( Microsoft.VisualStudio.TextManager.Interop.IVsTextView textViewAdapter, IVsEditorAdaptersFactoryService editorAdaptersFactoryService, ITextView textView ) : System

Защищенные методы

Метод Описание
HandlePreExec ( System.Guid &commandGroup, uint commandId, Microsoft.VisualStudio.OLE.Interop.OLECMDEXECOPT executionOptions, IntPtr pvaIn, IntPtr pvaOut ) : bool
QueryCommandStatus ( System.Guid &commandGroup, uint commandId ) : Microsoft.VisualStudio.OLE.Interop.OLECMDF

Приватные методы

Метод Описание
CompareToHead ( ) : void
CompareToIndex ( ) : void
GetDiffViewModelToMoveTo ( uint commandId, DiffMarginViewModelBase viewModel ) : EditorDiffViewModel
ToggleCompareToIndex ( ) : void
TryGetMarginViewModel ( EditorDiffMarginViewModel &viewModel ) : bool

Описание методов

GitDiffMarginCommandHandler() публичный Метод

public GitDiffMarginCommandHandler ( Microsoft.VisualStudio.TextManager.Interop.IVsTextView textViewAdapter, IVsEditorAdaptersFactoryService editorAdaptersFactoryService, ITextView textView ) : System
textViewAdapter Microsoft.VisualStudio.TextManager.Interop.IVsTextView
editorAdaptersFactoryService IVsEditorAdaptersFactoryService
textView ITextView
Результат System

HandlePreExec() защищенный Метод

protected HandlePreExec ( System.Guid &commandGroup, uint commandId, Microsoft.VisualStudio.OLE.Interop.OLECMDEXECOPT executionOptions, IntPtr pvaIn, IntPtr pvaOut ) : bool
commandGroup System.Guid
commandId uint
executionOptions Microsoft.VisualStudio.OLE.Interop.OLECMDEXECOPT
pvaIn System.IntPtr
pvaOut System.IntPtr
Результат bool

QueryCommandStatus() защищенный Метод

protected QueryCommandStatus ( System.Guid &commandGroup, uint commandId ) : Microsoft.VisualStudio.OLE.Interop.OLECMDF
commandGroup System.Guid
commandId uint
Результат Microsoft.VisualStudio.OLE.Interop.OLECMDF