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();
}