private ITagExpression ParseScope(string scope) { if (string.IsNullOrWhiteSpace(scope)) { return(null); } return(_tagExpressionParser.Parse(scope)); }
private Scope ParseScope(StepScope bindingScope) { if (bindingScope == null) { return(null); } return(new Scope { FeatureTitle = bindingScope.FeatureTitle, ScenarioTitle = bindingScope.ScenarioTitle, Tag = string.IsNullOrWhiteSpace(bindingScope.Tag) ? null : _tagExpressionParser.Parse(bindingScope.Tag) }); }