Export (0) Print
Expand All

CodeDomProvider Members

Provides a base class for CodeDomProvider implementations. This class is abstract.

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

  Name Description
Protected method CodeDomProvider Initializes a new instance of the CodeDomProvider class.
Top

(see also Protected Properties )
  Name Description
Public property Container  Gets the IContainer that contains the Component.(inherited from Component)
Public property FileExtension Gets the default file name extension to use for source code files in the current language.
Public property LanguageOptions Gets a language features identifier.
Public property Site  Gets or sets the ISite of the Component.(inherited from Component)
Top

  Name Description
Protected property CanRaiseEvents  Gets a value indicating whether the component can raise an event.(inherited from Component)
Protected property DesignMode  Gets a value that indicates whether the Component is currently in design mode.(inherited from Component)
Protected property Events  Gets the list of event handlers that are attached to this Component.(inherited from Component)
Top

(see also Protected Methods )
  Name Description
Public method CompileAssemblyFromDom Compiles an assembly based on the System.CodeDom trees contained in the specified array of CodeCompileUnit objects, using the specified compiler settings.
Public method CompileAssemblyFromFile Compiles an assembly from the source code contained in the specified files, using the specified compiler settings.
Public method CompileAssemblyFromSource Compiles an assembly from the specified array of strings containing source code, using the specified compiler settings.
Public method CreateCompiler When overridden in a derived class, creates a new code compiler.
Public method CreateEscapedIdentifier Creates an escaped identifier for the specified value.
Public method CreateGenerator Overloaded. When overridden in a derived class, creates a new code generator.
Public method CreateObjRef  Creates an object that contains all the relevant information required to generate a proxy used to communicate with a remote object. (inherited from MarshalByRefObject)
Public method CreateParser When overridden in a derived class, creates a new code parser.
Public method Static CreateProvider Gets a CodeDomProvider instance for the specified language.
Public method CreateValidIdentifier Creates a valid identifier for the specified value.
Public method Dispose  Overloaded. Releases the resources used by the Component. (inherited from Component)
Public method Equals  Overloaded. Determines whether two Object instances are equal. (inherited from Object)
Public method GenerateCodeFromCompileUnit Generates code for the specified Code Document Object Model (CodeDOM) compilation unit and sends it to the specified text writer, using the specified options.
Public method GenerateCodeFromExpression Generates code for the specified Code Document Object Model (CodeDOM) expression and sends it to the specified text writer, using the specified options.
Public method GenerateCodeFromMember Generates code for the specified Code Document Object Model (CodeDOM) member declaration and sends it to the specified text writer, using the specified options.
Public method GenerateCodeFromNamespace Generates code for the specified Code Document Object Model (CodeDOM) namespace and sends it to the specified text writer, using the specified options.
Public method GenerateCodeFromStatement Generates code for the specified Code Document Object Model (CodeDOM) statement and sends it to the specified text writer, using the specified options.
Public method GenerateCodeFromType Generates code for the specified Code Document Object Model (CodeDOM) type declaration and sends it to the specified text writer, using the specified options.
Public method Static GetAllCompilerInfo Returns the language provider and compiler configuration settings for this computer.
Public method Static GetCompilerInfo Returns the language provider and compiler configuration settings for the specified language.
Public method GetConverter Gets a TypeConverter for the specified data type.
Public method GetHashCode  Serves as a hash function for a particular type. (inherited from Object)
Public method Static GetLanguageFromExtension Returns a language name associated with the specified file name extension, as configured in the CodeDomProvider compiler configuration section.
Public method GetLifetimeService  Retrieves the current lifetime service object that controls the lifetime policy for this instance. (inherited from MarshalByRefObject)
Public method GetType  Gets the Type of the current instance. (inherited from Object)
Public method GetTypeOutput Gets the type indicated by the specified CodeTypeReference.
Public method InitializeLifetimeService  Obtains a lifetime service object to control the lifetime policy for this instance. (inherited from MarshalByRefObject)
Public method Static IsDefinedExtension Tests whether a file name extension has an associated CodeDomProvider implementation configured on the computer.
Public method Static IsDefinedLanguage Tests whether a language has a CodeDomProvider implementation configured on the computer.
Public method IsValidIdentifier Returns a value that indicates whether the specified value is a valid identifier for the current language.
Public method Parse Compiles the code read from the specified text stream into a CodeCompileUnit.
Public method Static ReferenceEquals  Determines whether the specified Object instances are the same instance. (inherited from Object)
Public method Supports Returns a value indicating whether the specified code generation support is provided.
Public method ToString  Returns a String containing the name of the Component, if any. This method should not be overridden. (inherited from Component)
Top

  Name Description
Protected method Dispose  Overloaded. Releases the resources used by the Component. (inherited from Component)
Protected method Finalize  Releases unmanaged resources and performs other cleanup operations before the Component is reclaimed by garbage collection. (inherited from Component)
Protected method GetService  Returns an object that represents a service provided by the Component or by its Container. (inherited from Component)
Protected method MemberwiseClone  Overloaded. (inherited from MarshalByRefObject)
Top

  Name Description
Public event Disposed  Occurs when the component is disposed by a call to the Dispose method. (inherited from Component)
Top

Community Additions

ADD
Show:
© 2014 Microsoft