XamlBuildProvider Class
This API supports the .NET Framework infrastructure and is not intended to be used directly from your code.
A build provider for server side XAML (.xamlx) documents.
Inheritance Hierarchy
System.Object
System.Web.Compilation.BuildProvider
System.Xaml.Hosting.XamlBuildProvider
Namespace: System.Xaml.Hosting
Assembly: System.Xaml.Hosting (in System.Xaml.Hosting.dll)
Syntax
'Declaration
Public Class XamlBuildProvider _
Inherits BuildProvider
public class XamlBuildProvider : BuildProvider
public ref class XamlBuildProvider : public BuildProvider
type XamlBuildProvider =
class
inherit BuildProvider
end
public class XamlBuildProvider extends BuildProvider
The XamlBuildProvider type exposes the following members.
Constructors
Name | Description | |
---|---|---|
XamlBuildProvider | Infrastructure. Initializes a new instance of the XamlBuildProvider class. |
Top
Properties
Name | Description | |
---|---|---|
CodeCompilerType | Represents the compiler type used by a build provider to generate source code for a custom file type. (Inherited from BuildProvider.) | |
ReferencedAssemblies | Represents the assemblies to compile with the source generated by the build provider. (Inherited from BuildProvider.) | |
VirtualPath | Represents the file to be built by this build provider implementation. (Inherited from BuildProvider.) | |
VirtualPathDependencies | Represents a collection of virtual paths that must be built before the build provider generates code. (Inherited from BuildProvider.) |
Top
Methods
Name | Description | |
---|---|---|
Equals(Object) | Determines whether the specified object is equal to the current object. (Inherited from Object.) | |
Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.) | |
GenerateCode | Infrastructure. Generates source code for the virtual path of the build provider, and adds the source code to a specified assembly builder. (Overrides BuildProvider.GenerateCode(AssemblyBuilder).) | |
GetCodeCompileUnit | Represents the container for the generated CodeDOM graph. (Inherited from BuildProvider.) | |
GetCustomString | Infrastructure. Generates a string to be persisted in the compiled assembly. (Inherited from BuildProvider.) | |
GetDefaultCompilerType | Returns the compiler settings for the default language in the application. (Inherited from BuildProvider.) | |
GetDefaultCompilerTypeForLanguage | Returns the compiler settings for the build provider based on the specified language. (Inherited from BuildProvider.) | |
GetGeneratedType | Infrastructure. Returns a type generated by the build provider from the virtual path. (Overrides BuildProvider.GetGeneratedType(CompilerResults).) | |
GetHashCode | Serves as the default hash function. (Inherited from Object.) | |
GetResultFlags | Infrastructure. Returns a value that indicates actions required when a virtual path is built. (Overrides BuildProvider.GetResultFlags(CompilerResults).) | |
GetType | Gets the Type of the current instance. (Inherited from Object.) | |
MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) | |
OpenReader() | Opens a text reader for reading from the virtual path of the current build provider object. (Inherited from BuildProvider.) | |
OpenReader(String) | Opens a text reader for reading from a specified virtual path. (Inherited from BuildProvider.) | |
OpenStream() | Opens a stream for reading the virtual path of the current build provider object. (Inherited from BuildProvider.) | |
OpenStream(String) | Opens a stream for reading from a specified virtual path. (Inherited from BuildProvider.) | |
ProcessCompileErrors | When overridden in a derived class, enables you to review compiler error messages so that you can modify them to provide more information. (Inherited from BuildProvider.) | |
ToString | Returns a string that represents the current object. (Inherited from Object.) |
Top
Version Information
.NET Framework
Supported in: 4.6, 4.5, 4
Thread Safety
Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.