Example #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;
            }
Example #2
0
 protected internal abstract void Apply(Call call, LogRegistry logRegistry);
 protected internal abstract void Handle(ExecutionException executionException, LogRegistry logRegistry);
Example #4
0
 protected internal abstract void Action(Call call, LogRegistry logRegistry);
Example #5
0
 protected internal abstract bool Check(Call call, LogRegistry logRegistry);
Example #6
0
 protected override void Apply(Call call, LogRegistry logRegistry)
 {
     var logExtensions = call.GetActionAs<TestActions.LogExtensions>();
     logExtensions.SetPreEventLog();
 }
Example #7
0
 protected override void Handle(ExecutionException executionException, LogRegistry logRegistry)
 {
     var logExtensions = executionException.Call.GetActionAs<TestActions.LogExtensions>();
     logExtensions.SetExceptionHandlerLog();
 }
Example #8
0
 protected override void End(Call call, LogRegistry logRegistry)
 {
     var logExtensions = call.GetActionAs<TestActions.LogExtensions>();
     logExtensions.SetSessionEndLog();
 }
Example #9
0
 protected override void Action(Call call, LogRegistry logRegistry)
 {
     var logExtensions = call.GetActionAs<TestActions.LogExtensions>();
     logExtensions.SetRecklessLog();
 }