Skip to content

Commit

Permalink
docs: Provide additional information about ResideInAssembly function
Browse files Browse the repository at this point in the history
  • Loading branch information
pawlos committed Apr 14, 2024
1 parent 98f7f0e commit 13e76de
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 0 deletions.
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

0 comments on commit 13e76de

Please sign in to comment.