예제 #1
0
        protected void TestRandomDefinition <TDefinition>(Action <TDefinition> definitionSetup)
            where TDefinition : DefinitionBase, new()
        {
            var model = RegressionService.TestRandomDefinition(definitionSetup);

            PleaseMakeSureWeCanUpdatePropertiesForTheSharePointSake(new[] { model });
        }
예제 #2
0
        protected void TestRandomDefinition <TDefinition>(Action <TDefinition> definitionSetup)
            where TDefinition : DefinitionBase, new()
        {
            var model = RegressionService.TestRandomDefinition(definitionSetup);

            if (EnablePropertyUpdateValidation)
            {
                ProcessPropertyUpdateValidation(new[] { model });
                RegressionService.TestModels(new[] { model });
            }
        }