AutoMemberOptions
Represents the auto member injection related registration options.
using Stashbox.Configuration;
using System;
using System.Reflection;
using System.Runtime.CompilerServices;
namespace Stashbox.Registration
{
public class AutoMemberOptions
{
public readonly Rules.AutoMemberInjectionRules AutoMemberInjectionRule;
[System.Runtime.CompilerServices.Nullable(new byte[] {
2,
1
})]
public readonly Func<MemberInfo, bool> AutoMemberInjectionFilter;
internal AutoMemberOptions(Rules.AutoMemberInjectionRules autoMemberInjectionRule, [System.Runtime.CompilerServices.Nullable(new byte[] {
2,
1
})] Func<MemberInfo, bool> autoMemberInjectionFilter)
{
AutoMemberInjectionRule = autoMemberInjectionRule;
AutoMemberInjectionFilter = autoMemberInjectionFilter;
}
}
}