Class PreProcessorAttribute<TPreProcessor>
generic attribute for adding a pre-processor to an endpoint. only effective when attribute based endpoint configuration is being used.
Inherited Members
Namespace: FastEndpoints
Assembly: FastEndpoints.dll
Syntax
[AttributeUsage(AttributeTargets.Class, AllowMultiple = true, Inherited = false)]
public sealed class PreProcessorAttribute<TPreProcessor> : Attribute where TPreProcessor : class, IPreProcessor
Type Parameters
Name | Description |
---|---|
TPreProcessor | the type of the pre-processor |