Webiant Logo Webiant Logo
  1. No results found.

    Try your search with a different keyword or use * as a wildcard.

LazyInstance.cs

using Nop.Core.Infrastructure;

namespace Nop.Web.Framework.Infrastructure;

/// 
/// Provides support for lazy initialization
/// 
/// Specifies the type of element being lazily initialized.
public partial class LazyInstance : Lazy where T : class
{
    public LazyInstance()
        : base(() => EngineContext.Current.Resolve())
    {

    }
}