Ejemplo n.º 1
0
 public AnalyzerService(string assemblyPath, Platforms requestedPlatforms, bool excludeThirdPartyReferences)
 {
     _assemblyPath = assemblyPath;
     _requestedPlatforms = requestedPlatforms;
     _portabilityAnalyzer = new PortabilityAnalyzer(PortabilityDatabase.Collection);
     _assemblyParser = new AssemblyParser(_assemblyPath);
     _portabilityAnalyzer.SupportedPlatforms = _requestedPlatforms;
     _portabilityAnalyzer.ExcludeThirdPartyReferences = excludeThirdPartyReferences;
     _portabilityAnalyzer.CallCollection = _assemblyParser.GetAssemblyCalls();
 }
 public void TestFixtureSetUp()
 {
     _assemblyParser = new AssemblyParser(Assembly.GetExecutingAssembly().Location);
     _portabilityAnalyzer = new PortabilityAnalyzer(PortabilityDatabase.Collection);
 }