Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

docs: Provide additional information about ResideInAssembly function #251

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open
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
1 change: 1 addition & 0 deletions ArchUnitNET/ArchUnitNET.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@
<IncludeSymbols>true</IncludeSymbols>
<SymbolPackageFormat>snupkg</SymbolPackageFormat>
<PackageReadmeFile>README.md</PackageReadmeFile>
<GenerateDocumentationFile>true</GenerateDocumentationFile>
</PropertyGroup>

<ItemGroup>
Expand Down
4 changes: 4 additions & 0 deletions ArchUnitNET/Fluent/Syntax/Elements/Types/GivenTypesThat.cs
Original file line number Diff line number Diff line change
Expand Up @@ -183,6 +183,10 @@ public TGivenRuleTypeConjunction ResideInNamespace(
return Create<TGivenRuleTypeConjunction, TRuleType>(_ruleCreator);
}

/// <summary>Matches the types that reside in the assembly.</summary>
/// <param name="pattern">Name of the assembly to match.</param>
/// <param name="useRegularExpressions">Indicates if pattern shall be considered a regular expression.</param>
/// <remarks>In case of not using regular expression pattern has to be Assembly Full Name.</remarks>
public TGivenRuleTypeConjunction ResideInAssembly(
string pattern,
bool useRegularExpressions = false
Expand Down
Loading