C# 클래스 eXeMeL.ViewModel.EditorViewModel

상속: ViewModelBase
파일 보기 프로젝트 열기: Grandpappy/eXeMeL

공개 메소드들

메소드 설명
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