JScriptCodeProvider JScriptCodeProvider JScriptCodeProvider JScriptCodeProvider Class

Definition

Provides access to instances of the JScript code generator and code compiler.

This API supports the product infrastructure and is not intended to be used directly from your code.

public ref class JScriptCodeProvider sealed : System::CodeDom::Compiler::CodeDomProvider
public sealed class JScriptCodeProvider : System.CodeDom.Compiler.CodeDomProvider
type JScriptCodeProvider = class
    inherit CodeDomProvider
Public NotInheritable Class JScriptCodeProvider
Inherits CodeDomProvider
Inheritance

Constructors

JScriptCodeProvider() JScriptCodeProvider() JScriptCodeProvider() JScriptCodeProvider()

Initializes a new instance of the JScriptCodeProvider class.

Properties

CanRaiseEvents CanRaiseEvents CanRaiseEvents CanRaiseEvents

Gets a value indicating whether the component can raise an event.

(Inherited from Component)
Container Container Container Container

Gets the IContainer that contains the Component.

(Inherited from Component)
DesignMode DesignMode DesignMode DesignMode

Gets a value that indicates whether the Component is currently in design mode.

(Inherited from Component)
Events Events Events Events

Gets the list of event handlers that are attached to this Component.

(Inherited from Component)
FileExtension FileExtension FileExtension FileExtension

Gets the file name extension for JScript code files.

LanguageOptions LanguageOptions LanguageOptions LanguageOptions

Gets a language features identifier.

(Inherited from CodeDomProvider)
Site Site Site Site

Gets or sets the ISite of the Component.

(Inherited from Component)

Methods

CompileAssemblyFromDom(CompilerParameters, CodeCompileUnit[]) CompileAssemblyFromDom(CompilerParameters, CodeCompileUnit[]) CompileAssemblyFromDom(CompilerParameters, CodeCompileUnit[]) CompileAssemblyFromDom(CompilerParameters, CodeCompileUnit[])

Compiles an assembly based on the System.CodeDom trees contained in the specified array of CodeCompileUnit objects, using the specified compiler settings.

(Inherited from CodeDomProvider)
CompileAssemblyFromFile(CompilerParameters, String[]) CompileAssemblyFromFile(CompilerParameters, String[]) CompileAssemblyFromFile(CompilerParameters, String[]) CompileAssemblyFromFile(CompilerParameters, String[])

Compiles an assembly from the source code contained in the specified files, using the specified compiler settings.

(Inherited from CodeDomProvider)
CompileAssemblyFromSource(CompilerParameters, String[]) CompileAssemblyFromSource(CompilerParameters, String[]) CompileAssemblyFromSource(CompilerParameters, String[]) CompileAssemblyFromSource(CompilerParameters, String[])

Compiles an assembly from the specified array of strings containing source code, using the specified compiler settings.

(Inherited from CodeDomProvider)
CreateCompiler() CreateCompiler() CreateCompiler() CreateCompiler()

Returns an instance of the JScript code compiler.

CreateEscapedIdentifier(String) CreateEscapedIdentifier(String) CreateEscapedIdentifier(String) CreateEscapedIdentifier(String)

Creates an escaped identifier for the specified value.

(Inherited from CodeDomProvider)
CreateGenerator() CreateGenerator() CreateGenerator() CreateGenerator()

Returns an instance of the JScript code generator.

CreateGenerator(String) CreateGenerator(String) CreateGenerator(String) CreateGenerator(String)

When overridden in a derived class, creates a new code generator using the specified file name for output.

(Inherited from CodeDomProvider)
CreateGenerator(TextWriter) CreateGenerator(TextWriter) CreateGenerator(TextWriter) CreateGenerator(TextWriter)

When overridden in a derived class, creates a new code generator using the specified TextWriter for output.

(Inherited from CodeDomProvider)
CreateObjRef(Type) CreateObjRef(Type) CreateObjRef(Type) CreateObjRef(Type)

Creates an object that contains all the relevant information required to generate a proxy used to communicate with a remote object.

(Inherited from MarshalByRefObject)
CreateParser() CreateParser() CreateParser() CreateParser()

When overridden in a derived class, creates a new code parser.

(Inherited from CodeDomProvider)
CreateValidIdentifier(String) CreateValidIdentifier(String) CreateValidIdentifier(String) CreateValidIdentifier(String)

Creates a valid identifier for the specified value.

(Inherited from CodeDomProvider)
Dispose() Dispose() Dispose() Dispose()

Releases all resources used by the Component.

(Inherited from Component)
Dispose(Boolean) Dispose(Boolean) Dispose(Boolean) Dispose(Boolean)

Releases the unmanaged resources used by the Component and optionally releases the managed resources.

(Inherited from Component)
Equals(Object) Equals(Object) Equals(Object) Equals(Object)

Determines whether the specified object is equal to the current object.

(Inherited from Object)
GenerateCodeFromCompileUnit(CodeCompileUnit, TextWriter, CodeGeneratorOptions) GenerateCodeFromCompileUnit(CodeCompileUnit, TextWriter, CodeGeneratorOptions) GenerateCodeFromCompileUnit(CodeCompileUnit, TextWriter, CodeGeneratorOptions) GenerateCodeFromCompileUnit(CodeCompileUnit, TextWriter, CodeGeneratorOptions)

Generates code for the specified Code Document Object Model (CodeDOM) compilation unit and sends it to the specified text writer, using the specified options.

(Inherited from CodeDomProvider)
GenerateCodeFromExpression(CodeExpression, TextWriter, CodeGeneratorOptions) GenerateCodeFromExpression(CodeExpression, TextWriter, CodeGeneratorOptions) GenerateCodeFromExpression(CodeExpression, TextWriter, CodeGeneratorOptions) GenerateCodeFromExpression(CodeExpression, TextWriter, CodeGeneratorOptions)

Generates code for the specified Code Document Object Model (CodeDOM) expression and sends it to the specified text writer, using the specified options.

(Inherited from CodeDomProvider)
GenerateCodeFromMember(CodeTypeMember, TextWriter, CodeGeneratorOptions) GenerateCodeFromMember(CodeTypeMember, TextWriter, CodeGeneratorOptions) GenerateCodeFromMember(CodeTypeMember, TextWriter, CodeGeneratorOptions) GenerateCodeFromMember(CodeTypeMember, TextWriter, CodeGeneratorOptions)

Generates code for the specified Code Document Object Model (CodeDOM) member declaration and sends it to the specified text writer, using the specified options.

(Inherited from CodeDomProvider)
GenerateCodeFromNamespace(CodeNamespace, TextWriter, CodeGeneratorOptions) GenerateCodeFromNamespace(CodeNamespace, TextWriter, CodeGeneratorOptions) GenerateCodeFromNamespace(CodeNamespace, TextWriter, CodeGeneratorOptions) GenerateCodeFromNamespace(CodeNamespace, TextWriter, CodeGeneratorOptions)

Generates code for the specified Code Document Object Model (CodeDOM) namespace and sends it to the specified text writer, using the specified options.

(Inherited from CodeDomProvider)
GenerateCodeFromStatement(CodeStatement, TextWriter, CodeGeneratorOptions) GenerateCodeFromStatement(CodeStatement, TextWriter, CodeGeneratorOptions) GenerateCodeFromStatement(CodeStatement, TextWriter, CodeGeneratorOptions) GenerateCodeFromStatement(CodeStatement, TextWriter, CodeGeneratorOptions)

Generates code for the specified Code Document Object Model (CodeDOM) statement and sends it to the specified text writer, using the specified options.

(Inherited from CodeDomProvider)
GenerateCodeFromType(CodeTypeDeclaration, TextWriter, CodeGeneratorOptions) GenerateCodeFromType(CodeTypeDeclaration, TextWriter, CodeGeneratorOptions) GenerateCodeFromType(CodeTypeDeclaration, TextWriter, CodeGeneratorOptions) GenerateCodeFromType(CodeTypeDeclaration, TextWriter, CodeGeneratorOptions)

Generates code for the specified Code Document Object Model (CodeDOM) type declaration and sends it to the specified text writer, using the specified options.

(Inherited from CodeDomProvider)
GetConverter(Type) GetConverter(Type) GetConverter(Type) GetConverter(Type)

Gets a TypeConverter for the specified data type.

(Inherited from CodeDomProvider)
GetHashCode() GetHashCode() GetHashCode() GetHashCode()

Serves as the default hash function.

(Inherited from Object)
GetLifetimeService() GetLifetimeService() GetLifetimeService() GetLifetimeService()

Retrieves the current lifetime service object that controls the lifetime policy for this instance.

(Inherited from MarshalByRefObject)
GetService(Type) GetService(Type) GetService(Type) GetService(Type)

Returns an object that represents a service provided by the Component or by its Container.

(Inherited from Component)
GetType() GetType() GetType() GetType()

Gets the Type of the current instance.

(Inherited from Object)
GetTypeOutput(CodeTypeReference) GetTypeOutput(CodeTypeReference) GetTypeOutput(CodeTypeReference) GetTypeOutput(CodeTypeReference)

Gets the type indicated by the specified CodeTypeReference.

(Inherited from CodeDomProvider)
InitializeLifetimeService() InitializeLifetimeService() InitializeLifetimeService() InitializeLifetimeService()

Obtains a lifetime service object to control the lifetime policy for this instance.

(Inherited from MarshalByRefObject)
IsValidIdentifier(String) IsValidIdentifier(String) IsValidIdentifier(String) IsValidIdentifier(String)

Returns a value that indicates whether the specified value is a valid identifier for the current language.

(Inherited from CodeDomProvider)
MemberwiseClone() MemberwiseClone() MemberwiseClone() MemberwiseClone()

Creates a shallow copy of the current Object.

(Inherited from Object)
MemberwiseClone(Boolean) MemberwiseClone(Boolean) MemberwiseClone(Boolean) MemberwiseClone(Boolean)

Creates a shallow copy of the current MarshalByRefObject object.

(Inherited from MarshalByRefObject)
Parse(TextReader) Parse(TextReader) Parse(TextReader) Parse(TextReader)

Compiles the code read from the specified text stream into a CodeCompileUnit.

(Inherited from CodeDomProvider)
Supports(GeneratorSupport) Supports(GeneratorSupport) Supports(GeneratorSupport) Supports(GeneratorSupport)

Returns a value indicating whether the specified code generation support is provided.

(Inherited from CodeDomProvider)
ToString() ToString() ToString() ToString()

Returns a String containing the name of the Component, if any. This method should not be overridden.

(Inherited from Component)

Events

Disposed Disposed Disposed Disposed

Occurs when the component is disposed by a call to the Dispose() method.

(Inherited from Component)

Applies to

See also