FactoryOptions
Represents the factory registration options.
using System;
using System.Runtime.CompilerServices;
namespace Stashbox.Registration
{
[System.Runtime.CompilerServices.NullableContext(1)]
[System.Runtime.CompilerServices.Nullable(0)]
public class FactoryOptions
{
public readonly Delegate Factory;
public readonly Type[] FactoryParameters;
public readonly bool IsFactoryDelegateACompiledLambda;
internal FactoryOptions(Delegate factory, Type[] factoryParameters, bool isCompiledLambda)
{
Factory = factory;
FactoryParameters = factoryParameters;
IsFactoryDelegateACompiledLambda = isCompiledLambda;
}
}
}