예제 #1
0
        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);
            }
        }
예제 #2
0
        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);
            }
        }
예제 #3
0
        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);
            }
        }