Example #1
0
        static void Main(string[] args)
        {
            AssemblyAnalyzer analyzer = new AssemblyAnalyzer();

            Console.WriteLine("Is all code approved:{0} ",
                              analyzer.AnalayzeAssembly(Assembly.GetExecutingAssembly()));
        }
Example #2
0
        static void Main(string[] args)
        {
            AssemblyAnalyzer assemblyAnalyzer = new AssemblyAnalyzer();
            bool             analyzeResult    = assemblyAnalyzer.AnalyzeAssembly(Assembly.GetExecutingAssembly());

            Console.WriteLine(analyzeResult);
        }
Example #3
0
        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));
        }