This documentation is archived and is not being maintained.

CodeGeneratorOptions Members

Represents a set of options used by a code generator.

The following tables list the members exposed by the CodeGeneratorOptions type.

  Name Description
Public method CodeGeneratorOptions Initializes a new instance of the CodeGeneratorOptions class.

  Name Description
Public property BlankLinesBetweenMembers Gets or sets a value indicating whether to insert blank lines between members.
Public property BracingStyle Gets or sets the style to use for bracing.
Public property ElseOnClosing Gets or sets a value indicating whether to append an else, catch, or finally block, including brackets, at the closing line of each previous if or try block.
Public property IndentString Gets or sets the string to use for indentations.
Public property Item Gets or sets the object at the specified index.
Public property VerbatimOrder Gets or sets a value indicating whether to generate members in the order in which they occur in member collections.

(see also Protected Methods )
  Name Description
Public method Equals  Overloaded. Determines whether two Object instances are equal. (inherited from Object)
Public method GetHashCode  Serves as a hash function for a particular type. (inherited from Object)
Public method GetType  Gets the Type of the current instance. (inherited from Object)
Public method Static ReferenceEquals  Determines whether the specified Object instances are the same instance. (inherited from Object)
Public method ToString  Returns a String that represents the current Object. (inherited from Object)

  Name Description
Protected method Finalize  Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection. (inherited from Object)
Protected method MemberwiseClone  Creates a shallow copy of the current Object. (inherited from Object)