C# Класс eXeMeL.ViewModel.EditorViewModel

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

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

Метод Описание
CleanXmlIfPossibleAsync ( string xml ) : Task
EditorViewModel ( ) : eXeMeL.Messages
EditorViewModel ( Settings settings ) : eXeMeL.Messages
OpenFileAsync ( string filePath ) : void

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

Метод Описание
AddNewSnapshotOfCurrentDocumentText ( ) : void
AddNewSnapshotWithNewText ( string text ) : void
ChangeToSnapshot ( DocumentSnapshot snapshot ) : void
ChangeToSnapshotCommand_Execute ( DocumentSnapshot snapshot ) : void
CleanXml ( XmlCleanerContext context ) : System.Threading.Tasks.Task
ClearSnapshotsAfterDocument ( TextDocument textDocument ) : void
CopyCommand_Execute ( ) : void
CopyDecodedXmlFromCursorPositionCommand_CanExecute ( ) : bool
CopyDecodedXmlFromCursorPositionCommand_Execute ( ) : void
CreateSnapshotCommand_Execute ( ) : void
DelveIntoDecodedXmlFromCursorPositionCommand_Execute ( ) : void
GetDecodedTextAtCaretPositionAsync ( ) : Task
LoadFileContentsAsync ( string filePath ) : Task
RaiseRefreshComplete ( ) : void
RefreshCommand_Execute ( ) : void
RenameAllSnapshots ( ) : void
ReplaceCurrentDocumentText ( string newText ) : void
ReplaceOldDocumentWithNewDocument ( string newText ) : void
ResetSnapshots ( ) : void
SaveCommand_Execute ( ) : void
SetDocumentTextFromClipboardAsync ( ) : System.Threading.Tasks.Task
XmlShouldBeCleaned ( string xml ) : bool

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

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

public CleanXmlIfPossibleAsync ( string xml ) : Task
xml string
Результат Task

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

public EditorViewModel ( ) : eXeMeL.Messages
Результат eXeMeL.Messages

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

public EditorViewModel ( Settings settings ) : eXeMeL.Messages
settings eXeMeL.Model.Settings
Результат eXeMeL.Messages

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

public OpenFileAsync ( string filePath ) : void
filePath string
Результат void