public override void DeployFarmModel(ModelNode model) { for (var provisionGeneration = 0; provisionGeneration < ProvisionGenerationCount; provisionGeneration++) { WithSSOMFarmContext(farm => { _provisionService.DeployModel(FarmModelHost.FromFarm(farm), model); _validationService.DeployModel(FarmModelHost.FromFarm(farm), model); }); } }
public static void DeployFarmModel(this SSOMProvisionService modelHost, SPFarm farm, ModelNode model) { modelHost.DeployModel(FarmModelHost.FromFarm(farm), model); }