Exemple #1
0
 public FrontendBehavior(StepType type, ChallengeType challengeType, FrontendBehavior nextBehavior)
 {
     Type          = type;
     ActionType    = ActionType.GoToNext;
     ChallengeType = challengeType;
     NextBehavior  = nextBehavior;
 }
Exemple #2
0
 public FrontendBehavior(StepType type, ChallengeType challengeType, CallAction callback,
                         FrontendBehavior alternativeBehavior = null)
 {
     Type                = type;
     ActionType          = ActionType.Callback;
     Callback            = callback;
     ChallengeType       = challengeType;
     AlternativeBehavior = alternativeBehavior;
 }