แก้ไข

แชร์ผ่าน


PropertyGeneratedEventArgs Class

Definition

Provides data for the OnPropertyGenerated event.

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

Constructors

PropertyGeneratedEventArgs()

Initializes a new instance of the PropertyGeneratedEventArgs class.

PropertyGeneratedEventArgs(MetadataItem, String, CodeTypeReference)

Initializes a new instance of the PropertyGeneratedEventArgs class with the specified property source, backing field name, and return type.

Properties

AdditionalAttributes

Gets a List(CodeAttributeDeclaration) of attributes that will be added to the property.

AdditionalGetStatements

Gets a List(CodeStatement) containing the get statements to be added to the property.

AdditionalSetStatements

Gets a List(CodeStatement) containing the set statements to be added to the property.

BackingFieldName

Gets the name of the field that backs the property.

PropertySource

Gets the MetadataItem object that is the source of the property.

ReturnType

Gets or sets the type of the property.

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