Stashbox by Peter Csajtai

<PackageReference Include="Stashbox" Version="5.2.0-preview-743" />

 RegistrationContext

using Stashbox.Configuration; using Stashbox.Lifetime; using Stashbox.Resolution; using Stashbox.Utils.Data; using System; using System.Collections.Generic; using System.Reflection; using System.Runtime.CompilerServices; using System.Threading; using System.Threading.Tasks; namespace Stashbox.Registration { [System.Runtime.CompilerServices.NullableContext(2)] [System.Runtime.CompilerServices.Nullable(0)] internal class RegistrationContext { public object Name; public Delegate Factory; [System.Runtime.CompilerServices.Nullable(new byte[] { 2, 1 })] public Type[] FactoryParameters; public bool IsFactoryDelegateACompiledLambda; public ConstructorInfo SelectedConstructor; [System.Runtime.CompilerServices.Nullable(new byte[] { 2, 1 })] public object[] ConstructorArguments; public LifetimeDescriptor Lifetime; [System.Runtime.CompilerServices.Nullable(new byte[] { 2, 1, 2 })] public Dictionary<object, object> DependencyBindings; public object ExistingInstance; [System.Runtime.CompilerServices.Nullable(new byte[] { 2, 1 })] public Action<object> Finalizer; public Delegate Initializer; [System.Runtime.CompilerServices.Nullable(new byte[] { 2, 1, 1, 1 })] public Func<object, IDependencyResolver, CancellationToken, Task> AsyncInitializer; public Rules.AutoMemberInjectionRules AutoMemberInjectionRule; public bool AutoMemberInjectionEnabled; public bool IsLifetimeExternallyOwned; public object DefinedScopeName; public bool IsWireUp; [System.Runtime.CompilerServices.Nullable(new byte[] { 2, 1, 1, 1, 1 })] public Func<IEnumerable<ConstructorInfo>, IEnumerable<ConstructorInfo>> ConstructorSelectionRule; [System.Runtime.CompilerServices.Nullable(new byte[] { 2, 1 })] public Func<MemberInfo, bool> AutoMemberInjectionFilter; public object Metadata; [System.Runtime.CompilerServices.Nullable(new byte[] { 2, 1 })] public ExpandableArray<Type> TargetTypeConditions; [System.Runtime.CompilerServices.Nullable(new byte[] { 2, 1 })] public ExpandableArray<Func<TypeInformation, bool>> ResolutionConditions; [System.Runtime.CompilerServices.Nullable(new byte[] { 2, 1 })] public ExpandableArray<Type> AttributeConditions; public bool ReplaceExistingRegistration; public bool ReplaceExistingRegistrationOnlyIfExists; [System.Runtime.CompilerServices.Nullable(new byte[] { 2, 1 })] public ExpandableArray<Type> AdditionalServiceTypes; [System.Runtime.CompilerServices.Nullable(new byte[] { 2, 0, 1, 2 })] public ExpandableArray<KeyValuePair<string, object>> InjectionParameters; } }