Class OptionsProviderAttribute
- Namespace
- BpNexT.Actions.Abstractions
- Assembly
- BpNexT.Actions.Abstractions.dll
Marks a public module method as an options provider for OptionsFromAttribute. The method takes at most a CancellationToken and returns a sequence of FieldOption (directly or wrapped in a task).
[AttributeUsage(AttributeTargets.Method, AllowMultiple = false, Inherited = false)]
public sealed class OptionsProviderAttribute : Attribute
- Inheritance
-
objectOptionsProviderAttribute
- Inherited Members
-
object.ToString()
Constructors
- OptionsProviderAttribute(string)
Marks a public module method as an options provider for OptionsFromAttribute. The method takes at most a CancellationToken and returns a sequence of FieldOption (directly or wrapped in a task).
Properties
- Id
Id referenced by OptionsFromAttribute on a property.