Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -896,7 +896,7 @@ public TRuleTypeShouldConjunction DoNotHaveName(string name)
public TRuleTypeShouldConjunction DoNotHaveNameMatching(string pattern)
{
_ruleCreator.ContinueComplexCondition(
ObjectPredicatesDefinition<TReferenceType>.DoNotHaveName(pattern)
ObjectPredicatesDefinition<TReferenceType>.DoNotHaveNameMatching(pattern)
);
return Create<TRuleTypeShouldConjunction, TRuleType>(_ruleCreator);
}
Expand Down
2 changes: 1 addition & 1 deletion ArchUnitNET/Fluent/Syntax/Elements/Types/GivenTypesThat.cs
Original file line number Diff line number Diff line change
Expand Up @@ -138,7 +138,7 @@ public TGivenRuleTypeConjunction ResideInNamespace(string fullName)
public TGivenRuleTypeConjunction ResideInNamespaceMatching(string pattern)
{
_ruleCreator.AddPredicate(
TypePredicatesDefinition<TRuleType>.ResideInNamespace(pattern)
TypePredicatesDefinition<TRuleType>.ResideInNamespaceMatching(pattern)
);
return Create<TGivenRuleTypeConjunction, TRuleType>(_ruleCreator);
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -534,7 +534,7 @@ public static ICondition<TRuleType> ResideInNamespace(string fullName)
public static ICondition<TRuleType> ResideInNamespaceMatching(string pattern)
{
return new SimpleCondition<TRuleType>(
type => type.ResidesInNamespace(pattern),
type => type.ResidesInNamespaceMatching(pattern),
obj => "does reside in " + obj.Namespace.FullName,
"reside in namespace with full name matching \"" + pattern + "\""
);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -368,7 +368,7 @@ public static IPredicate<T> ResideInAssembly(string fullName)
public static IPredicate<T> ResideInAssemblyMatching(string pattern)
{
return new SimplePredicate<T>(
type => type.ResidesInAssembly(pattern),
type => type.ResidesInAssemblyMatching(pattern),
"reside in assembly with full name matching \"" + pattern + "\""
);
}
Expand Down Expand Up @@ -681,7 +681,7 @@ public static IPredicate<T> DoNotResideInNamespace(string fullName)
public static IPredicate<T> DoNotResideInNamespaceMatching(string pattern)
{
return new SimplePredicate<T>(
type => !type.ResidesInNamespace(pattern),
type => !type.ResidesInNamespaceMatching(pattern),
"do not reside in namespace with full name matching \"" + pattern + "\""
);
}
Expand All @@ -697,7 +697,7 @@ public static IPredicate<T> DoNotResideInAssembly(string fullName)
public static IPredicate<T> DoNotResideInAssemblyMatching(string pattern)
{
return new SimplePredicate<T>(
type => !type.ResidesInAssembly(pattern),
type => !type.ResidesInAssemblyMatching(pattern),
"do not reside in assembly with full name matching \"" + pattern + "\""
);
}
Expand Down