Пример #1
0
    public static InitPipeline Create(Action <DependencyGraph <IInitTask> > configure, Action <string> onTaskComplete = null)
    {
        var graph = new DependencyGraph <IInitTask>();

        configure(graph);

        var runner = AsyncRunner.GetRunner("InitRunner");

        return(new InitPipeline(graph, runner, onTaskComplete));
    }