More...
|
| | LazyWithContext (TContext context, Func< TContext, TValue > valueFactory) |
| | Synchronous Lazy constructor.
|
| |
| | LazyWithContext (TContext context, Func< TContext, Task< TValue > > valueFactory) |
| | Asynchronous Lazy constructor.
|
| |
|
| TValue | Value [get] |
| | The lazily-evaluated value.
|
| |
◆ LazyWithContext() [1/2]
Synchronous Lazy constructor.
- Parameters
-
| context | host provider (for this context) |
| valueFactory | method to run to get the value |
◆ LazyWithContext() [2/2]
Asynchronous Lazy constructor.
- Parameters
-
| context | host provider (for this context) |
| valueFactory | method to run to get the value |
◆ Value
The documentation for this class was generated from the following file:
- source/Utils/PeanutButter.Utils/LazyWithContext.cs