コード例 #1
0
 public EAModel(ChapterWriter ow, string filename)
 {
     this.ow = ow;
     Prelude.LogAction(ow,
                       () => repo = new EA.RepositoryClass(),
                       "opening EA repository...",
                       "done", "failed");
     Prelude.LogAction(ow,
                       () =>
     {
         System.IO.FileInfo f = new System.IO.FileInfo(filename);
         repo.OpenFile(f.FullName);
     },
                       string.Format("loading EAP model file '{0}'...", filename),
                       "done", "not found");
 }
コード例 #2
0
ファイル: CreateChapter.cs プロジェクト: craigjbass/Chapter
 public CreateChapter(ChapterWriter chapterGateway)
 {
     _chapterGateway = chapterGateway;
 }