ConstructorOptions
Represents the constructor related registration options.
using System.Reflection;
using System.Runtime.CompilerServices;
namespace Stashbox.Registration
{
[System.Runtime.CompilerServices.NullableContext(1)]
[System.Runtime.CompilerServices.Nullable(0)]
public class ConstructorOptions
{
public readonly ConstructorInfo SelectedConstructor;
[System.Runtime.CompilerServices.Nullable(new byte[] {
2,
1
})]
public readonly object[] ConstructorArguments;
internal ConstructorOptions(ConstructorInfo selectedConstructor, [System.Runtime.CompilerServices.Nullable(new byte[] {
2,
1
})] object[] constructorArguments)
{
SelectedConstructor = selectedConstructor;
ConstructorArguments = constructorArguments;
}
}
}