A dynamic lazy proxy is a class built in real time, that implemenets some interface T, takes to the constructor an argument Lazy of T and routes all invocations to the corresponding method or property of this argument.
The real instance wrapped by Lazy of T is created only after the first invocation of method or property. It allows to distribute the loading from the class creation to the method or property invocation.
See the version list below for details.
Install-Package LazyProxy -Version 0.1.1
dotnet add package LazyProxy --version 0.1.1
<PackageReference Include="LazyProxy" Version="0.1.1" />
paket add LazyProxy --version 0.1.1
- System.Reflection.Emit (>= 4.3.0)
This package is not used by any popular GitHub repositories.