AsyncLazy<T> Class
Namespace: PIX.Services.CloudNative.Jwt
Assembly: PIX.dll
Assembly: PIX.dll
Provides support for asynchronous lazy initialization. This type is fully threadsafe.
Inheritance
-
System.Object
- AsyncLazy<T>
Syntax
public sealed class AsyncLazy<T>
Type Parameters
Name | Description |
---|---|
T |
The type of object that is being asynchronously initialized. |
Constructors
Name | Description |
---|---|
AsyncLazy(Func<Task<T>>) |
Initializes a new instance of the AsyncLazy<T> class. |
Methods
Name | Description |
---|---|
GetAwaiter() |
Asynchronous infrastructure support. This method permits instances of AsyncLazy<T> to be await'ed. |
Extension Methods
Did this page help you?
If you find any issues with this page or its content – a typo, a missing step, or a technical error – let us know how we can improve!