Microsoft.CSharp.CSharpCodeGenerator.GenerateNestedTypes C# (CSharp) Méthode

GenerateNestedTypes() private méthode

private GenerateNestedTypes ( CodeTypeDeclaration e ) : void
e CodeTypeDeclaration
Résultat void
        private void GenerateNestedTypes(CodeTypeDeclaration e)
        {
            foreach (CodeTypeMember current in e.Members)
            {
                if (current is CodeTypeDeclaration)
                {
                    if (_options.BlankLinesBetweenMembers)
                    {
                        Output.WriteLine();
                    }
                    CodeTypeDeclaration currentClass = (CodeTypeDeclaration)current;
                    ((ICodeGenerator)this).GenerateCodeFromType(currentClass, _output.InnerWriter, _options);
                }
            }
        }
CSharpCodeGenerator