StateMachineKind Enumeration |
Enumeration of kinds of state machines.
Namespace: PostSharp.Reflection
Assembly: PostSharp (in PostSharp.dll) Version: 2023.0.3.0 (2023.0.3.0)
C#
public enum StateMachineKind
Member name | Value | Description | |
---|---|---|---|
None | 0 | The method is not implemented by a state machine. | |
Iterator | 1 | Iterator method. | |
Async | 2 | Async method. | |
AsyncIterator | 3 | Async method that returns IAsyncEnumerable<T>. New in C# 8.0. |