@@ -35,13 +35,13 @@ public static IReadOnlyList<ICommand> GetCommands(Weave? weave = null)
3535 {
3636 ICommand [ ] modules =
3737 {
38- new DirectorySizeAnalyzer ( ) , new LogTailCommand ( ) , new HeaderExtractor ( ) , new ResXtract ( ) ,
38+ new DirectorySizeAnalyzer ( weave . Runtime . Variables ) , new LogTailCommand ( ) , new HeaderExtractor ( ) , new ResXtract ( ) ,
3939 new AllocationAnalyzer ( ) , new DisposableAnalyzer ( ) , new DoubleNewlineAnalyzer ( ) ,
4040 new DuplicateStringLiteralAnalyzer ( ) , new EventHandlerAnalyzer ( ) , new HotPathAnalyzer ( ) ,
4141 new LicenseHeaderAnalyzer ( ) , new UnusedClassAnalyzer ( ) , new UnusedConstantAnalyzer ( ) ,
4242 new UnusedLocalVariableAnalyzer ( ) , new UnusedParameterAnalyzer ( ) , new UnusedPrivateFieldAnalyzer ( ) ,
4343 new DocCommentCoverageCommand ( ) , new DeadReferenceAnalyzer ( ) , new ApiExplorerCommand ( ) ,
44- new FileLockScanner ( ) , new SmartPingPro ( ) , new WhoAmI ( weave . Runtime . Variables ) , new Tree ( )
44+ new FileLockScanner ( weave . Runtime . Variables ) , new SmartPingPro ( ) , new WhoAmI ( weave . Runtime . Variables ) , new Tree ( )
4545 } ;
4646
4747 return modules ;
@@ -50,28 +50,28 @@ public static IReadOnlyList<ICommand> GetCommands(Weave? weave = null)
5050 /// <summary>
5151 /// Gets the commands.
5252 /// </summary>
53- /// <param name="userspace ">The userspace .</param>
53+ /// <param name="userSpace ">The user space .</param>
5454 /// <param name="weave">The weave.</param>
5555 /// <returns>
5656 /// All commands by Namespace.
5757 /// </returns>
58- public static IReadOnlyList < ICommand > GetCommands ( string userspace , Weave ? weave = null )
58+ public static IReadOnlyList < ICommand > GetCommands ( string userSpace , Weave ? weave = null )
5959 {
6060 ICommand [ ] modules =
6161 {
62- new DirectorySizeAnalyzer ( ) , new DirectorySizeAnalyzer ( ) , new LogTailCommand ( ) ,
62+ new DirectorySizeAnalyzer ( weave . Runtime . Variables ) , new LogTailCommand ( ) ,
6363 new HeaderExtractor ( ) , new ResXtract ( ) , new AllocationAnalyzer ( ) , new DisposableAnalyzer ( ) ,
6464 new DoubleNewlineAnalyzer ( ) , new DuplicateStringLiteralAnalyzer ( ) , new EventHandlerAnalyzer ( ) ,
6565 new HotPathAnalyzer ( ) , new LicenseHeaderAnalyzer ( ) , new UnusedClassAnalyzer ( ) ,
6666 new UnusedConstantAnalyzer ( ) , new UnusedLocalVariableAnalyzer ( ) , new UnusedParameterAnalyzer ( ) ,
6767 new UnusedPrivateFieldAnalyzer ( ) , new DocCommentCoverageCommand ( ) , new DeadReferenceAnalyzer ( ) ,
68- new ApiExplorerCommand ( ) , new FileLockScanner ( ) , new SmartPingPro ( ) ,
68+ new ApiExplorerCommand ( ) , new FileLockScanner ( weave . Runtime . Variables ) , new SmartPingPro ( ) ,
6969 new WhoAmI ( weave . Runtime . Variables ) , new Tree ( )
7070 } ;
7171
7272 // Filter by Namespace
7373 return modules
74- . Where ( m => string . Equals ( m . Namespace , userspace , StringComparison . OrdinalIgnoreCase ) )
74+ . Where ( m => string . Equals ( m . Namespace , userSpace , StringComparison . OrdinalIgnoreCase ) )
7575 . ToList ( ) ;
7676 }
7777
@@ -106,4 +106,4 @@ public static IReadOnlyList<ICodeAnalyzer> GetAllAnalyzers()
106106 return modules ;
107107 }
108108 }
109- }
109+ }
0 commit comments