public void Visit(IParameterStartValuesBuildingBlock parameterStartValuesBuilding)
 {
     foreach (var parameterStartValue in parameterStartValuesBuilding.OfType <ParameterStartValue>().ToList())
     {
         //psv stored as a cache using path as key
         parameterStartValuesBuilding.Remove(parameterStartValue);
         parameterStartValue.Path = parameterStartValue.ContainerPath;
         parameterStartValuesBuilding.Add(parameterStartValue);
     }
 }
Ejemplo n.º 2
0
 private void removeParameterStartValueFor(IParameter parameter, IParameterStartValuesBuildingBlock parameterStartValuesBuildingBlock)
 {
     parameterStartValuesBuildingBlock.Remove(_entityPathResolver.ObjectPathFor(parameter));
 }