System.Web.Compilation.BuildProvider Members

The members of System.Web.Compilation.BuildProvider are listed below.

See Also: Inherited members from System.Object

Protected Constructors

Initializes a new instance of the System.Web.Compilation.BuildProvider class.

Public Properties

[read-only]
CodeCompilerTypeCompilerType.

Represents the compiler type used by a build provider to generate source code for a custom file type.

[read-only]
VirtualPathDependenciesICollection.

Represents a collection of virtual paths that must be built before the build provider generates code.

Protected Properties

[read-only]
ReferencedAssembliesICollection.

Represents the assemblies to compile with the source generated by the build provider.

[read-only]
VirtualPathstring.

Represents the file to be built by this build provider implementation.

Public Methods

GenerateCode(AssemblyBuilder)

Generates source code for the virtual path of the build provider, and adds the source code to a specified assembly builder.

GetCustomString(System.CodeDom.Compiler.CompilerResults) : string

Generates a string to be persisted in the compiled assembly.

GetGeneratedType(System.CodeDom.Compiler.CompilerResults) : Type

Returns a type generated by the build provider from the virtual path.

GetResultFlags(System.CodeDom.Compiler.CompilerResults) : BuildProviderResultFlags

Returns a value indicating actions required when a virtual path is built.

Protected Methods

GetDefaultCompilerType() : CompilerType

Returns the compiler settings for the default language in the application.

GetDefaultCompilerTypeForLanguage(string) : CompilerType

Returns the compiler settings for the build provider based on the specified language.

OpenReader() : System.IO.TextReader

Opens a text reader for reading from the virtual path of the current build provider object.

OpenReader(string) : System.IO.TextReader

Opens a text reader for reading from a specified virtual path.

OpenStream() : System.IO.Stream

Opens a stream for reading the virtual path of the current build provider object.

OpenStream(string) : System.IO.Stream

Opens a stream for reading from a specified virtual path.