Exemplo n.º 1
0
        public static void      InspectSecurityDeclarations(AssemblyUsages result, ISecurityDeclarationProvider securityDeclarationProvider)
        {
            if (securityDeclarationProvider.HasSecurityDeclarations == true)
            {
                foreach (SecurityDeclaration securityDeclaration in securityDeclarationProvider.SecurityDeclarations)
                {
                    if (AssemblyUsagesExtractor.debug > 1)
                    {
                        AssemblyUsagesExtractor.Log("SecDecl {0}", securityDeclaration);
                    }

                    using (AutoIndent.Instance)
                    {
                        AssemblyUsagesExtractor.InspectSecurityDeclaration(result, securityDeclaration);
                    }
                }
            }
        }