private bool IsPsServicePropertyValid(UnionPsService service, string modelServiceName, string change, ref string info) { string newName = service.Name; if (!IsNameValid(newName, modelServiceName, ref info)) { return false; } PsServiceValid PsServiceValid = new PsServiceValid(service); if(!PsServiceValid.IsPsServiceValid(ref info) ) { return false ; } return true; }
private bool IsServicePropertyValid(Huawei.UNet.Traffic.Interface.UnionPsService unionPsService, string oldName, string change, ref string info) { string newServiceName = unionPsService.Name.Trim(); if (!this.IsNameValid(oldName, change, ref info, newServiceName)) { return false; } PsServiceValid valid = new PsServiceValid(unionPsService); if (!valid.IsPsServiceValid(ref info)) { return false; } return true; }
private bool IsPsServicePropertyValid(UnionPsService unionPsService, string oldName, string change, ref string info) { string newServiceName = unionPsService.Name; if (!this.IsNameValid(oldName, newServiceName, ref info)) { return false; } PsServiceValid valid = new PsServiceValid(unionPsService); if (!valid.IsPsServiceValid(ref info)) { return false; } return true; }