public void LoadDatabase(string path) { m_ProblemDescriptors = ProblemDescriptorHelper.LoadProblemDescriptors(path, "ApiDatabase"); var assemblies = AppDomain.CurrentDomain.GetAssemblies(); foreach (var assembly in assemblies) { var problemDescriptorTypes = GetAnalyzerTypes(assembly); foreach (var type in problemDescriptorTypes) { AddAnalyzer(Activator.CreateInstance(type, this) as IInstructionAnalyzer); } } }
public void LoadDatabase(string path) { m_ProblemDescriptors = ProblemDescriptorHelper.LoadProblemDescriptors(path, "ApiDatabase"); SetupPackageWhitelist(path); }
public void LoadDatabase(string path) { m_ProblemDescriptors = ProblemDescriptorHelper.LoadProblemDescriptors(path, "ProjectSettings"); }