File: ServiceLookup\ILEmit\ILEmitResolverBuilderContext.cs
Web Access
Project: src\src\libraries\Microsoft.Extensions.DependencyInjection\src\Microsoft.Extensions.DependencyInjection.csproj (Microsoft.Extensions.DependencyInjection)
// Licensed to the .NET Foundation under one or more agreements.
// The .NET Foundation licenses this file to you under the MIT license.
 
using System;
using System.Collections.Generic;
using System.Reflection.Emit;
 
namespace Microsoft.Extensions.DependencyInjection.ServiceLookup
{
    internal sealed class ILEmitResolverBuilderContext
    {
        public ILEmitResolverBuilderContext(ILGenerator generator) => Generator = generator;
        public ILGenerator Generator { get; }
        public List<object?>? Constants { get; set; }
        public List<Func<IServiceProvider, object>>? Factories { get; set; }
    }
}