internal FileServiceOpenedFile(FileService fileService, FileName fileName) { this.fileService = fileService; this.FileName = fileName; IsUntitled = false; fileChangeWatcher = new FileChangeWatcher(this); }
internal FileServiceOpenedFile(FileService fileService, byte[] fileData) { this.fileService = fileService; this.FileName = null; SetData(fileData); IsUntitled = true; MakeDirty(); fileChangeWatcher = new FileChangeWatcher(this); }