public MethodLevelSettings(ICustomAttributeProvider customAttributeProvider, TypeLevelSettings typeLevelSettings) : base(typeLevelSettings) { MethodConfigureAwait = customAttributeProvider.GetConfigureAwaitAttributeValue(); if (MethodConfigureAwait.HasValue) { customAttributeProvider.RemoveConfigureAwaitAttribute(); } }
protected TypeLevelSettings(TypeLevelSettings settings) : base(settings) { TypeConfigureAwait = settings.TypeConfigureAwait; }