From 62a80fee8db0a36aac050be3c39acb42227838ef Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Pawe=C5=82=20=C5=81ukasik?= Date: Sun, 14 Apr 2024 21:29:03 +0200 Subject: [PATCH] docs: Provide additional information about ResideInAssembly function MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Paweł Łukasik --- ArchUnitNET/ArchUnitNET.csproj | 1 + ArchUnitNET/Fluent/Syntax/Elements/Types/GivenTypesThat.cs | 4 ++++ 2 files changed, 5 insertions(+) diff --git a/ArchUnitNET/ArchUnitNET.csproj b/ArchUnitNET/ArchUnitNET.csproj index cea267d4..226550ea 100644 --- a/ArchUnitNET/ArchUnitNET.csproj +++ b/ArchUnitNET/ArchUnitNET.csproj @@ -16,6 +16,7 @@ true snupkg README.md + true diff --git a/ArchUnitNET/Fluent/Syntax/Elements/Types/GivenTypesThat.cs b/ArchUnitNET/Fluent/Syntax/Elements/Types/GivenTypesThat.cs index ec0035f0..68748778 100644 --- a/ArchUnitNET/Fluent/Syntax/Elements/Types/GivenTypesThat.cs +++ b/ArchUnitNET/Fluent/Syntax/Elements/Types/GivenTypesThat.cs @@ -183,6 +183,10 @@ public TGivenRuleTypeConjunction ResideInNamespace( return Create(_ruleCreator); } + /// Matches the types that reside in the assembly. + /// Name of the assembly to match. + /// Indicates if pattern shall be considered a regular expression. + /// In case of not using regular expression pattern has to be Assembly Full Name. public TGivenRuleTypeConjunction ResideInAssembly( string pattern, bool useRegularExpressions = false