Export (0) Print
Expand All
This topic has not yet been rated - Rate this topic

CodeDomProvider Methods

The CodeDomProvider type exposes the following members.

  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 Obsolete. 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() Obsolete. When overridden in a derived class, creates a new code generator.
Public method CreateGenerator(String) When overridden in a derived class, creates a new code generator using the specified file name for output.
Public method CreateGenerator(TextWriter) When overridden in a derived class, creates a new code generator using the specified TextWriter for output.
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 Obsolete. When overridden in a derived class, creates a new code parser.
Public method Static member CreateProvider(String) Gets a CodeDomProvider instance for the specified language.
Public method Static member CreateProvider(String, IDictionary<String, String>) Gets a CodeDomProvider instance for the specified language and provider options.
Public method CreateValidIdentifier Creates a valid identifier for the specified value.
Public method Dispose() Releases all resources used by the Component. (Inherited from Component.)
Protected method Dispose(Boolean) Releases the unmanaged resources used by the Component and optionally releases the managed resources. (Inherited from Component.)
Public method Equals(Object) Determines whether the specified object is equal to the current object. (Inherited from Object.)
Protected method Finalize Releases unmanaged resources and performs other cleanup operations before the Component is reclaimed by garbage collection. (Inherited from Component.)
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 member GetAllCompilerInfo Returns the language provider and compiler configuration settings for this computer.
Public method Static member 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 the default hash function. (Inherited from Object.)
Public method Static member 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.)
Protected method GetService Returns an object that represents a service provided by the Component or by its Container. (Inherited from Component.)
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 member IsDefinedExtension Tests whether a file name extension has an associated CodeDomProvider implementation configured on the computer.
Public method Static member 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.
Protected method MemberwiseClone() Creates a shallow copy of the current Object. (Inherited from Object.)
Protected method MemberwiseClone(Boolean) Creates a shallow copy of the current MarshalByRefObject object. (Inherited from MarshalByRefObject.)
Public method Parse Compiles the code read from the specified text stream into a CodeCompileUnit.
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
Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback
Show:
© 2014 Microsoft. All rights reserved.