Class StructuralFieldDeclaration
Container for structural type property information.
Inheritance
System.Object
StructuralFieldDeclaration
Namespace: System.Linq.CompilerServices
Assembly: Nuqleon.Linq.CompilerServices.dll
Syntax
public class StructuralFieldDeclaration : Object
Constructors
StructuralFieldDeclaration(String, Type, IEnumerable<CustomAttributeDeclaration>)
Instantiates a container for structural type property information.
Declaration
public StructuralFieldDeclaration(string name, Type type, IEnumerable<CustomAttributeDeclaration> customAttributes)
Parameters
Type | Name | Description |
---|---|---|
System.String | name | The name of the property. |
System.Type | type | The type of the property. |
System.Collections.Generic.IEnumerable<CustomAttributeDeclaration> | customAttributes | The set of custom attributes to declare on the property. |
StructuralFieldDeclaration(String, Type, ReadOnlyCollection<CustomAttributeDeclaration>)
Instantiates a container for structural type property information.
Declaration
public StructuralFieldDeclaration(string name, Type type, ReadOnlyCollection<CustomAttributeDeclaration> customAttributes)
Parameters
Type | Name | Description |
---|---|---|
System.String | name | The name of the property. |
System.Type | type | The type of the property. |
System.Collections.ObjectModel.ReadOnlyCollection<CustomAttributeDeclaration> | customAttributes | The set of custom attributes to declare on the property. |
StructuralFieldDeclaration(String, Type, CustomAttributeDeclaration[])
Instantiates a container for structural type property information.
Declaration
public StructuralFieldDeclaration(string name, Type type, params CustomAttributeDeclaration[] customAttributes)
Parameters
Type | Name | Description |
---|---|---|
System.String | name | The name of the property. |
System.Type | type | The type of the property. |
CustomAttributeDeclaration[] | customAttributes | The set of custom attributes to declare on the property. |
Properties
CustomAttributes
The set of custom attributes to declare on the property.
Declaration
public ReadOnlyCollection<CustomAttributeDeclaration> CustomAttributes { get; }
Property Value
Type | Description |
---|---|
System.Collections.ObjectModel.ReadOnlyCollection<CustomAttributeDeclaration> |
Name
The name of the property.
Declaration
public string Name { get; }
Property Value
Type | Description |
---|---|
System.String |
PropertyType
The type of the property.
Declaration
public Type PropertyType { get; }
Property Value
Type | Description |
---|---|
System.Type |