public TypeLevelSettings(ICustomAttributeProvider customAttributeProvider,
                          AssemblyLevelSettings assemblySettings) : base(assemblySettings)
 {
     TypeConfigureAwait = customAttributeProvider.GetConfigureAwaitAttributeValue();
     if (TypeConfigureAwait.HasValue)
     {
         customAttributeProvider.RemoveConfigureAwaitAttribute();
     }
 }
Esempio n. 2
0
 protected AssemblyLevelSettings(AssemblyLevelSettings settings)
 {
     AssemblyConfigureAwait = settings.AssemblyConfigureAwait;
 }