Пример #1
0
 /// <summary>
 /// Initialyze the StubGenerator
 /// </summary>
 private void Init()
 {
     _outputOptions   = Configuration.OutputOptions;
     _inputAssemblies = GetAssemblies(Configuration.assembliesToAnalyzePath, true).ToArray <string>();
     _referencedAssembliesFolderPath = Configuration.ReferencedAssembliesFolderPath;
     _referencedAssembliesToLookInto = GetAssemblies(_referencedAssembliesFolderPath);
     GetModules();
     AnalysisUtils.SetModules(_modules);
     GetUnsupportedMethods();
     AddUndetectedMethodToUnsupportedMethods(Configuration.MethodsToAddManuallyBecauseTheyAreUndetected);
     _assemblyAnalyzer = new AssemblyAnalyzer(
         Configuration.SLMigrationCoreAssemblyFolderPath,
         _unsupportedMethodsInfo,
         _modules,
         _outputOptions);
 }