public bool PlaceholderMatches(MashupPlaceholder mashupPlaceHolderValue) { return Placeholders.Any(x => x.Equals(mashupPlaceHolderValue.Value,StringComparison.InvariantCultureIgnoreCase)); }
public bool Matches(MashupPlaceholder mashupPlaceHolderValue, AccountName accountName) { return PlaceholderMatches(mashupPlaceHolderValue) && AccountMatches(accountName); }
public bool PlaceholderMatches(MashupPlaceholder mashupPlaceHolderValue) { return(Placeholders.Any(x => x.Equals(mashupPlaceHolderValue.Value, StringComparison.InvariantCultureIgnoreCase))); }
public bool Matches(MashupPlaceholder mashupPlaceHolderValue, AccountName accountName) { return Placeholders.Any(x => x.Equals(mashupPlaceHolderValue.Value,StringComparison.InvariantCultureIgnoreCase)) && (Accounts.Contains(accountName.Value.ToLower()) || Accounts.IsNullOrEmpty()); }
public bool Matches(MashupPlaceholder mashupPlaceHolderValue, AccountName accountName) { return(PlaceholderMatches(mashupPlaceHolderValue) && AccountMatches(accountName)); }