CSLA .NET 10.0.0
A home for your business logic
Loading...
Searching...
No Matches
ExtractedTypeDefinition Class Reference

The definition of a type, extracted from the syntax tree provided by Roslyn. More...

Inheritance diagram for ExtractedTypeDefinition:

Public Member Functions

bool Equals (ExtractedTypeDefinition? other)
 Determines whether the current ExtractedTypeDefinition object is equal to another object of the same type.
override bool Equals (object? obj)
 Determines whether the current ExtractedTypeDefinition object is equal to another object.
override int GetHashCode ()
 Calculates the hash code for the ExtractedTypeDefinition object.

Properties

required string Namespace [get]
 The namespace in which the type resides.
required string Scope = "public" [get]
 The scope of the class.
required string TypeName [get, set]
 The name of the type, excluding any namespace.
required string TypeKind [get, set]
 The name of the kind of type being represented.
required string FullyQualifiedName [get, set]
 The fully qualified name of the type, including namespace.
IList< ExtractedPropertyDefinitionProperties = [] [get]
 The properties to be included in auto implementation.
required string BaseClassTypeName [get]
 The name of the base class for the type.
string[] DefaultPropertyModifiers = [] [get, set]
 The modifiers for this property.
required string[] DefaultPropertySetterModifiers [get]
 The modifiers for the setter of this property.

Detailed Description

The definition of a type, extracted from the syntax tree provided by Roslyn.

Member Function Documentation

◆ Equals() [1/2]

bool ExtractedTypeDefinition.Equals ( ExtractedTypeDefinition? other)
inline

Determines whether the current ExtractedTypeDefinition object is equal to another object of the same type.

Parameters
otherThe object to compare with the current object.
Returns
true if the specified object is equal to the current object; otherwise, false.

◆ Equals() [2/2]

override bool ExtractedTypeDefinition.Equals ( object? obj)
inline

Determines whether the current ExtractedTypeDefinition object is equal to another object.

Parameters
objThe object to compare with the current object.
Returns
true if the specified object is equal to the current object; otherwise, false.

◆ GetHashCode()

override int ExtractedTypeDefinition.GetHashCode ( )
inline

Calculates the hash code for the ExtractedTypeDefinition object.

Returns
The calculated hash code.

Property Documentation

◆ BaseClassTypeName

required string ExtractedTypeDefinition.BaseClassTypeName
get

The name of the base class for the type.

◆ DefaultPropertyModifiers

string [] ExtractedTypeDefinition.DefaultPropertyModifiers = []
getset

The modifiers for this property.

◆ DefaultPropertySetterModifiers

required string [] ExtractedTypeDefinition.DefaultPropertySetterModifiers
get

The modifiers for the setter of this property.

◆ FullyQualifiedName

required string ExtractedTypeDefinition.FullyQualifiedName
getset

The fully qualified name of the type, including namespace.

◆ Namespace

required string ExtractedTypeDefinition.Namespace
get

The namespace in which the type resides.

◆ Properties

IList<ExtractedPropertyDefinition> ExtractedTypeDefinition.Properties = []
get

The properties to be included in auto implementation.

◆ Scope

required string ExtractedTypeDefinition.Scope = "public"
get

The scope of the class.

◆ TypeKind

required string ExtractedTypeDefinition.TypeKind
getset

The name of the kind of type being represented.

◆ TypeName

required string ExtractedTypeDefinition.TypeName
getset

The name of the type, excluding any namespace.


The documentation for this class was generated from the following file:
  • csla/Source/Csla.Generators/cs/AutoImplementProperties/Csla.Generator.AutoImplementProperties.CSharp/AutoImplement/ExtractedTypeDefinition.cs