Skip to content
This repository has been archived by the owner on Feb 14, 2022. It is now read-only.

Commit

Permalink
Update StackWrapperSettings.configuration.cs
Browse files Browse the repository at this point in the history
removed warning CA106
  • Loading branch information
JacopoWolf committed Dec 8, 2020
1 parent a369663 commit 8b8a403
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions StackInjector/Settings/StackWrapperSettings.configuration.cs
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,9 @@ public sealed partial class StackWrapperSettings
/// <returns>the modified settings</returns>
public StackWrapperSettings RegisterAssemblies ( params Assembly[] assemblies )
{
if( assemblies is null )
throw new ArgumentNullException(nameof(assemblies));

foreach( var assembly in assemblies )
this._registredAssemblies.Add(assembly);
return this;
Expand Down

0 comments on commit 8b8a403

Please sign in to comment.