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"); }
public CreateChapter(ChapterWriter chapterGateway) { _chapterGateway = chapterGateway; }