static void SetDoNotEnforceBestPractices(this ContextBag context)
 {
     var bestPracticesOptions = new EnforceBestPracticesOptions
     {
         Enabled = false
     };
     context.Set(bestPracticesOptions);
 }
        static void SetDoNotEnforceBestPractices(this ContextBag context)
        {
            var bestPracticesOptions = new EnforceBestPracticesOptions
            {
                Enabled = false
            };

            context.Set(bestPracticesOptions);
        }