C# Class ArtOfWords.MainService.SaveFileService

セーブファイルを扱うサービス
Exibir arquivo Open project: kienaiProject/ArtOfWords Class Usage Examples

Public Methods

Method Description
CreateNew ( IEditor iEditor ) : bool

新規作成

CreateNewPlus ( IEditor iEditor ) : bool

引き継いで新規作成

OpenFile ( IEditor editor ) : bool

ファイルを開く

OpenFile ( IEditor editor, String filePath ) : bool

パスを指定してファイルを開く

SaveFile ( ) : bool

ファイルをセーブする

SaveFile ( string toFile ) : bool

ファイル名を指定してファイルを保存する

SaveFileWithName ( ) : bool

名前をつけて保存

Private Methods

Method Description
GetFolderPath ( ) : string

保存先フォルダーのパスを取得する

Method Details

CreateNew() public method

新規作成
public CreateNew ( IEditor iEditor ) : bool
iEditor IEditor テキストを取得するためのIEditorインターフェース
return bool

CreateNewPlus() public method

引き継いで新規作成
public CreateNewPlus ( IEditor iEditor ) : bool
iEditor IEditor テキストを取得するためのIEditorインターフェース
return bool

OpenFile() public method

ファイルを開く
public OpenFile ( IEditor editor ) : bool
editor IEditor テキストを展開するためのIEditorインターフェース
return bool

OpenFile() public method

パスを指定してファイルを開く
public OpenFile ( IEditor editor, String filePath ) : bool
editor IEditor テキストを展開するためのIEditorインターフェース
filePath String ファイルを開くパス
return bool

SaveFile() public method

ファイルをセーブする
public SaveFile ( ) : bool
return bool

SaveFile() public method

ファイル名を指定してファイルを保存する
public SaveFile ( string toFile ) : bool
toFile string
return bool

SaveFileWithName() public method

名前をつけて保存
public SaveFileWithName ( ) : bool
return bool