static void Main(string[] args) { AssemblyAnalyzer analyzer = new AssemblyAnalyzer(); Console.WriteLine("Is all code approved:{0} ", analyzer.AnalayzeAssembly(Assembly.GetExecutingAssembly())); }
static void Main(string[] args) { AssemblyAnalyzer assemblyAnalyzer = new AssemblyAnalyzer(); bool analyzeResult = assemblyAnalyzer.AnalyzeAssembly(Assembly.GetExecutingAssembly()); Console.WriteLine(analyzeResult); }
static void Main(string[] args) { var assemblyAnalyzer = new AssemblyAnalyzer(); Console.WriteLine("Status all types in this assembly were approved: {0}.", assemblyAnalyzer.AnalayzeAssembly(Assembly.GetExecutingAssembly())); Console.WriteLine(); Console.WriteLine("Status all types in mscorlib assembly were approved: {0}.", assemblyAnalyzer.AnalayzeAssembly(typeof(string).Assembly)); }