Exemplo n.º 1
0
    public void Execute()
    {
        if (ExecuteAction != null)
        {
            ExecuteAction();
        }

        if (AttachedState != null)
        {
            AttachedState.Execute();
        }
    }
Exemplo n.º 2
0
    public void Execute(TContext ctx)
    {
        if (ExecuteAction != null)
        {
            ExecuteAction(ctx);
        }

        if (AttachedState != null)
        {
            AttachedState.Execute(ctx);
        }
    }