Exemplo n.º 1
0
            protected override bool Check(Call call, LogRegistry logRegistry)
            {
                var simpleAction = call.GetAction();
                if (!simpleAction.IsObjTypeOf<TestActions.LogExtensions>())
                    return false;

                var logExtensions = simpleAction.CastObj<TestActions.LogExtensions>();
                logExtensions.SetConditionLog();
                return true;
            }
Exemplo n.º 2
0
 protected internal abstract void Apply(Call call, LogRegistry logRegistry);
Exemplo n.º 3
0
 protected internal abstract void Handle(ExecutionException executionException, LogRegistry logRegistry);
Exemplo n.º 4
0
 protected internal abstract void Action(Call call, LogRegistry logRegistry);
Exemplo n.º 5
0
 protected internal abstract bool Check(Call call, LogRegistry logRegistry);
Exemplo n.º 6
0
 protected override void Apply(Call call, LogRegistry logRegistry)
 {
     var logExtensions = call.GetActionAs<TestActions.LogExtensions>();
     logExtensions.SetPreEventLog();
 }
Exemplo n.º 7
0
 protected override void Handle(ExecutionException executionException, LogRegistry logRegistry)
 {
     var logExtensions = executionException.Call.GetActionAs<TestActions.LogExtensions>();
     logExtensions.SetExceptionHandlerLog();
 }
Exemplo n.º 8
0
 protected override void End(Call call, LogRegistry logRegistry)
 {
     var logExtensions = call.GetActionAs<TestActions.LogExtensions>();
     logExtensions.SetSessionEndLog();
 }
Exemplo n.º 9
0
 protected override void Action(Call call, LogRegistry logRegistry)
 {
     var logExtensions = call.GetActionAs<TestActions.LogExtensions>();
     logExtensions.SetRecklessLog();
 }