public void SaveAsFile() { FileDesignBuffer buffer; FileDesignBuffer current = _buffer as FileDesignBuffer; if (current != null) { buffer = current.PromptForBuffer(_designer); } else { buffer = Dataphoria.PromptForFileBuffer(_designer, String.Empty); } ValidateBuffer(buffer); Save(buffer); }
public FileDesignBuffer PromptForBuffer(IDesigner designer) { return(Dataphoria.PromptForFileBuffer(designer, FileName)); }