Upraviť

Zdieľať cez


TypeGeneratedEventArgs Class

Definition

Provides data for the OnTypeGenerated event.

public ref class TypeGeneratedEventArgs sealed : EventArgs
public sealed class TypeGeneratedEventArgs : EventArgs
type TypeGeneratedEventArgs = class
    inherit EventArgs
Public NotInheritable Class TypeGeneratedEventArgs
Inherits EventArgs
Inheritance
TypeGeneratedEventArgs

Constructors

TypeGeneratedEventArgs()

Initializes a new instance of the TypeGeneratedEventArgs class.

TypeGeneratedEventArgs(GlobalItem, CodeTypeReference)

Initializes a new instance of the TypeGeneratedEventArgs class with the specified source and base type.

Properties

AdditionalAttributes

Gets a List(CodeAttributeDeclaration) containing the attributes that will be added to the type.

AdditionalInterfaces

Gets a List(Type) containing the interfaces that will be added to the type.

AdditionalMembers

Gets a List(CodeTypeMember) containing the members that will be added to the type.

BaseType

Gets or sets the base type.

TypeSource

Gets the GlobalItem object that is the source of the type.

Methods

Equals(Object)

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

(Inherited from Object)
GetHashCode()

Serves as the default hash function.

(Inherited from Object)
GetType()

Gets the Type of the current instance.

(Inherited from Object)
MemberwiseClone()

Creates a shallow copy of the current Object.

(Inherited from Object)
ToString()

Returns a string that represents the current object.

(Inherited from Object)

Applies to