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