Example #1
0
 public void RemoveStepSuggestion(IStepSuggestion <TNativeSuggestionItem> suggestion)
 {
     if (suggestion is StepInstanceTemplate <TNativeSuggestionItem> )
     {
         RemoveStepInstanceTemplate((StepInstanceTemplate <TNativeSuggestionItem>)suggestion);
     }
     if (suggestion is IBoundStepSuggestion <TNativeSuggestionItem> )
     {
         RemoveBoundStepSuggestion((IBoundStepSuggestion <TNativeSuggestionItem>)suggestion);
     }
 }
Example #2
0
 public void AddStepSuggestion(IStepSuggestion <TNativeSuggestionItem> suggestion)
 {
     if (suggestion is StepInstanceTemplate <TNativeSuggestionItem> )
     {
         AddStepInstanceTemplate((StepInstanceTemplate <TNativeSuggestionItem>)suggestion);
     }
     if (suggestion is StepInstance <TNativeSuggestionItem> )
     {
         AddStepInstance((StepInstance <TNativeSuggestionItem>)suggestion);
     }
 }