File tree Expand file tree Collapse file tree 4 files changed +6
-6
lines changed
ArchUnitNET/Fluent/Syntax/Elements Expand file tree Collapse file tree 4 files changed +6
-6
lines changed Original file line number Diff line number Diff line change @@ -896,7 +896,7 @@ public TRuleTypeShouldConjunction DoNotHaveName(string name)
896896 public TRuleTypeShouldConjunction DoNotHaveNameMatching ( string pattern )
897897 {
898898 _ruleCreator . ContinueComplexCondition (
899- ObjectPredicatesDefinition < TReferenceType > . DoNotHaveName ( pattern )
899+ ObjectPredicatesDefinition < TReferenceType > . DoNotHaveNameMatching ( pattern )
900900 ) ;
901901 return Create < TRuleTypeShouldConjunction , TRuleType > ( _ruleCreator ) ;
902902 }
Original file line number Diff line number Diff line change @@ -138,7 +138,7 @@ public TGivenRuleTypeConjunction ResideInNamespace(string fullName)
138138 public TGivenRuleTypeConjunction ResideInNamespaceMatching ( string pattern )
139139 {
140140 _ruleCreator . AddPredicate (
141- TypePredicatesDefinition < TRuleType > . ResideInNamespace ( pattern )
141+ TypePredicatesDefinition < TRuleType > . ResideInNamespaceMatching ( pattern )
142142 ) ;
143143 return Create < TGivenRuleTypeConjunction , TRuleType > ( _ruleCreator ) ;
144144 }
Original file line number Diff line number Diff line change @@ -534,7 +534,7 @@ public static ICondition<TRuleType> ResideInNamespace(string fullName)
534534 public static ICondition < TRuleType > ResideInNamespaceMatching ( string pattern )
535535 {
536536 return new SimpleCondition < TRuleType > (
537- type => type . ResidesInNamespace ( pattern ) ,
537+ type => type . ResidesInNamespaceMatching ( pattern ) ,
538538 obj => "does reside in " + obj . Namespace . FullName ,
539539 "reside in namespace with full name matching \" " + pattern + "\" "
540540 ) ;
Original file line number Diff line number Diff line change @@ -368,7 +368,7 @@ public static IPredicate<T> ResideInAssembly(string fullName)
368368 public static IPredicate < T > ResideInAssemblyMatching ( string pattern )
369369 {
370370 return new SimplePredicate < T > (
371- type => type . ResidesInAssembly ( pattern ) ,
371+ type => type . ResidesInAssemblyMatching ( pattern ) ,
372372 "reside in assembly with full name matching \" " + pattern + "\" "
373373 ) ;
374374 }
@@ -681,7 +681,7 @@ public static IPredicate<T> DoNotResideInNamespace(string fullName)
681681 public static IPredicate < T > DoNotResideInNamespaceMatching ( string pattern )
682682 {
683683 return new SimplePredicate < T > (
684- type => ! type . ResidesInNamespace ( pattern ) ,
684+ type => ! type . ResidesInNamespaceMatching ( pattern ) ,
685685 "do not reside in namespace with full name matching \" " + pattern + "\" "
686686 ) ;
687687 }
@@ -697,7 +697,7 @@ public static IPredicate<T> DoNotResideInAssembly(string fullName)
697697 public static IPredicate < T > DoNotResideInAssemblyMatching ( string pattern )
698698 {
699699 return new SimplePredicate < T > (
700- type => ! type . ResidesInAssembly ( pattern ) ,
700+ type => ! type . ResidesInAssemblyMatching ( pattern ) ,
701701 "do not reside in assembly with full name matching \" " + pattern + "\" "
702702 ) ;
703703 }
You can’t perform that action at this time.
0 commit comments