示例#1
0
        internal void InternalWriteWorkspaceItem(IProgressMonitor monitor, FilePath file, WorkspaceItem item)
        {
            FilePath filePath = this.WriteFile(monitor, file, item, item.FileFormat);

            if (filePath != null)
            {
                item.FileName = filePath;
                return;
            }
            throw new InvalidOperationException("FileFormat not provided for workspace item '" + item.Name + "'");
        }
示例#2
0
 internal void Save(IProgressMonitor monitor, WorkspaceItem workspaceItem)
 {
     workspaceItem.OnSave(monitor);
 }