private void RestorePreviousValues(IPluginConstructor value) { var toRestore = _previousRegions[value.GetIdentifier()]; foreach (var toolRegion in Dependants.Zip(toRestore, (a, b) => new Tuple <IToolRegion, IToolRegion>(a, b))) { toolRegion.Item1.RestoreRegion(toolRegion.Item2); } }
private void RestorePreviousValues(IWcfAction value) { var toRestore = _previousRegions[value.GetHashCodeBySource()]; foreach (var toolRegion in Dependants.Zip(toRestore, (a, b) => new Tuple <IToolRegion, IToolRegion>(a, b))) { toolRegion.Item1.RestoreRegion(toolRegion.Item2); } }
void RestorePreviousValues(IWebServiceSource value) { var toRestore = _previousRegions[value.Id]; foreach (var toolRegion in Dependants.Zip(toRestore, (a, b) => new Tuple <IToolRegion, IToolRegion>(a, b))) { toolRegion.Item1.RestoreRegion(toolRegion.Item2); } }