AspectOrderAttribute(params Type[])
Declaration
[Obsolete("Explicitly specify AspectOrderDirection.RunTime for the 'direction' parameter.")]
public AspectOrderAttribute(params Type[] orderedAspectTypes)
Parameters
Type | Name | Description |
---|---|---|
Type[] | orderedAspectTypes |
AspectOrderAttribute(params string[])
Declaration
[Obsolete("Explicitly specify AspectOrderDirection.RunTime for the 'direction' parameter.")]
public AspectOrderAttribute(params string[] orderedAspectLayers)
Parameters
Type | Name | Description |
---|---|---|
string[] | orderedAspectLayers |
AspectOrderAttribute(AspectOrderDirection, params Type[])
Initializes a new instance of the AspectOrderAttribute class that specifies the order of execution of aspects. This constructor does not allow multi-layer aspects to overlap each other. If aspects are composed of several layers, all layers of each aspect are ordered as a single group. To order layers individually, use the other constructor.
Declaration
public AspectOrderAttribute(AspectOrderDirection direction, params Type[] orderedAspectTypes)
Parameters
Type | Name | Description |
---|---|---|
AspectOrderDirection | direction | The direction in which the aspect types are supplied. RunTime
means that the |
Type[] | orderedAspectTypes | A list of aspect types given the desired order of execution. |
AspectOrderAttribute(AspectOrderDirection, params string[])
Initializes a new instance of the AspectOrderAttribute class that specified the order of execution of aspect layers. This constructor allows to specify the order of execution of individual layers.
Declaration
public AspectOrderAttribute(AspectOrderDirection direction, params string[] orderedAspectLayers)
Parameters
Type | Name | Description |
---|---|---|
AspectOrderDirection | direction | The direction in which the aspect types are supplied. RunTime
means that the |
string[] | orderedAspectLayers | A list of layer names composed of the full name of the aspect type and the name
of the aspect layer. The following formats are allowed: |