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);
		}
Ejemplo n.º 3
0
 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());
		}
Ejemplo n.º 5
0
 public bool Matches(MashupPlaceholder mashupPlaceHolderValue, AccountName accountName)
 {
     return(PlaceholderMatches(mashupPlaceHolderValue) && AccountMatches(accountName));
 }