다음을 통해 공유


VirtualTypeBuilder Class

Definition

Creates new virtual typea. This class cannot be inherited.

public ref class VirtualTypeBuilder sealed
public ref class VirtualTypeBuilder sealed
class VirtualTypeBuilder sealed
public sealed class VirtualTypeBuilder
type VirtualTypeBuilder = class
Public NotInheritable Class VirtualTypeBuilder
Inheritance
VirtualTypeBuilder

Constructors

VirtualTypeBuilder()

Initializes a new instance of the VirtualTypeBuilder class.

Properties

AssemblyName

Gets or sets the name of the assembly to which the virtual type should belong.

Attributes

Gets the collection of Attributes for the virtual type.

BaseType

Gets or sets the base type from which the virtual type is derived.

Constructors

Gets a collection of constructors for this virtual type.

DeclaringType

Gets or sets the declaring type for the resulting virtual type.

Events

Gets the collection of Events for the virtual type.

Fields

Gets the collection of Fields for the resulting virtual type.

Implementor

Gets or sets the implementer that will be used for the resulting virtual type.

IsPublic

Gets or sets a value indicating whether the resulting virtual type has the public access modifier.

IsSerializable

Gets or sets whether the resulting virtual type is serializable.

Methods

Gets the collection of methods for the resulting virtual type.

Properties

Gets the collection of Properties for the virtual type.

TypeName

Gets or sets the type name for the virtual type.

Methods

CreateType()

Creates a virtual type based on the configuration of this virtual type builder.

InitializeFromType(ITypeResolutionService, CodeNamespace)

Initializes this virtual type builder with data obtained from the given type.

InitializeFromType(ITypeResolutionService, CodeTypeDeclaration, String)

Initializes this virtual type builder with data obtained from the given type.

InitializeFromType(ITypeResolutionService, CodeTypeDeclaration)

Initializes this virtual type builder with data obtained from the given type.

Applies to