Skip to content

Commit 96acd44

Browse files
committed
Refactor assembly resolution comments for clarity.
Simplified comments on assembly resolution by removing unnecessary details about using AppDomain's loaded assemblies. Highlighted the sufficiency of .NET Runtime's Application Base Directory for locating assemblies.
1 parent 5922de3 commit 96acd44

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

source/Commas/EntryPoint.cs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,8 @@ public class Commas : IPlugin
2020

2121
public Commas()
2222
{
23+
// note: no need to try to get the resolve via current appdomain's loaded assemblies
24+
// Application Base Directory will work just fine which is one of the steps performed when .net Runtime Locates Assemblies
2325
// AppDomain.CurrentDomain.AssemblyResolve += (sender, args) =>
2426
// {
2527
// _ = AppDomain.CurrentDomain.GetAssemblies();

0 commit comments

Comments
 (0)