public static BehaviorGraph BuildFrom(Action<FubuRegistry> configure, IPerfTimer timer = null) { var registry = new FubuRegistry(); configure(registry); return BehaviorGraphBuilder.Build(registry, timer ?? new PerfTimer(), new Assembly[0], new ActivationDiagnostics(), FubuApplicationFiles.ForDefault()); }
public static BehaviorGraph BuildFrom(Action <FubuRegistry> configure) { var registry = new FubuRegistry(); configure(registry); return(BehaviorGraphBuilder.Build(registry)); }
public static BehaviorGraph BuildFrom<T>(IPerfTimer timer = null) where T : FubuRegistry, new() { return BehaviorGraphBuilder.Build(new T(), timer ?? new PerfTimer(), new Assembly[0], new ActivationDiagnostics(), FubuApplicationFiles.ForDefault()); }
public static BehaviorGraph BuildFrom <T>() where T : FubuRegistry, new() { return(BehaviorGraphBuilder.Build(new T())); }
public static BehaviorGraph BuildFrom(FubuRegistry registry) { return(BehaviorGraphBuilder.Build(registry)); }