コード例 #1
0
 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);
         });
     }
 }
コード例 #2
0
 public static void DeployFarmModel(this SSOMProvisionService modelHost, SPFarm farm, ModelNode model)
 {
     modelHost.DeployModel(FarmModelHost.FromFarm(farm), model);
 }