public IRegexView CreateView(IUseCase useCaseInstance) { IRegexView newView = useCaseInstance.CreateNewView(); IRegexEngine engine = useCaseInstance.CreateNewEngine(); engine.AttachView(newView); newView.Init(engine); return newView; }
public IRegexView CreateView(IUseCase useCaseInstance) { IRegexView newView = useCaseInstance.CreateNewView(); IRegexEngine engine = useCaseInstance.CreateNewEngine(); engine.AttachView(newView); newView.Init(engine); return(newView); }