Exemplo n.º 1
0
    public ContextBuilder SetStartSignalAndCommand <T, U>()
        where T : TestableSignal, new()
        where U : ICommand, new()
    {
        UseSignals();
        Action <ICrossContextCapable> action = new StartSignalMapper().SetSignalAndCommand <T, U>();

        launchBindings.Add(action);
        return(this);
    }
    public ContextBuilder SetStartSignalAndCommand <T, U>()
        where T : Signal, new()
        where U : ICommand, new()
    {
        UseSignals();
        Action <MVCSContext> action = new StartSignalMapper().SetSignalAndCommand <T, U>();

        _launchBindings.Add(action);
        return(this);
    }