C# Class ArtOfWords.MainService.SaveFileService

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

Méthodes publiques

Méthode 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

Méthode Description
GetFolderPath ( ) : string

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

Method Details

CreateNew() public méthode

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

CreateNewPlus() public méthode

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

OpenFile() public méthode

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

OpenFile() public méthode

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

SaveFile() public méthode

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

SaveFile() public méthode

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

SaveFileWithName() public méthode

名前をつけて保存
public SaveFileWithName ( ) : bool
Résultat bool