Class CustomAttributeDeclaration
Container for property custom attribute information.
Inheritance
System.Object
CustomAttributeDeclaration
Namespace: System.Linq.CompilerServices
Assembly: Nuqleon.Linq.CompilerServices.dll
Syntax
public class CustomAttributeDeclaration : Object
Constructors
CustomAttributeDeclaration(Type, IEnumerable<Object>)
Instantiates a container for property custom attribute information.
Declaration
public CustomAttributeDeclaration(Type type, IEnumerable<object> arguments)
Parameters
Type | Name | Description |
---|---|---|
System.Type | type | The type of custom attribute. |
System.Collections.Generic.IEnumerable<System.Object> | arguments | The constructor arguments for the custom attribute type. |
CustomAttributeDeclaration(Type, ReadOnlyCollection<Object>)
Instantiates a container for property custom attribute information.
Declaration
public CustomAttributeDeclaration(Type type, ReadOnlyCollection<object> arguments)
Parameters
Type | Name | Description |
---|---|---|
System.Type | type | The type of custom attribute. |
System.Collections.ObjectModel.ReadOnlyCollection<System.Object> | arguments | The constructor arguments for the custom attribute type. |
CustomAttributeDeclaration(Type, Object[])
Instantiates a container for property custom attribute information.
Declaration
public CustomAttributeDeclaration(Type type, params object[] arguments)
Parameters
Type | Name | Description |
---|---|---|
System.Type | type | The type of custom attribute. |
System.Object[] | arguments | The constructor arguments for the custom attribute type. |
Properties
Arguments
Gets the custom attribute type constructor arguments.
Declaration
public ReadOnlyCollection<object> Arguments { get; }
Property Value
Type | Description |
---|---|
System.Collections.ObjectModel.ReadOnlyCollection<System.Object> |
Constructor
Gets the custom attribute type constructor.
Declaration
public ConstructorInfo Constructor { get; }
Property Value
Type | Description |
---|---|
System.Reflection.ConstructorInfo |
CustomAttributeType
Gets the custom attribute type.
Declaration
public Type CustomAttributeType { get; }
Property Value
Type | Description |
---|---|
System.Type |