Esempio n. 1
0
        SinglePropertyPathObserver GetSinglePathObserver(string propertyPath)
        {
            SinglePropertyPathObserver pathObserver;

            if (!singlePathObservers.TryGetValue(propertyPath, out pathObserver))
            {
                pathObserver = new SinglePropertyPathObserver(messageHandler, methodFactory, notifier, propertyPath);
                singlePathObservers[propertyPath] = pathObserver;
            }

            return(pathObserver);
        }
		private SinglePropertyPathObserver GetSinglePathObserver(string propertyPath)
		{
			SinglePropertyPathObserver pathObserver;

			if (!_singlePathObservers.TryGetValue(propertyPath, out pathObserver))
			{
				pathObserver = new SinglePropertyPathObserver(_messageHandler, _methodFactory, _notifier, propertyPath);
				_singlePathObservers[propertyPath] = pathObserver;
			}

			return pathObserver;
		}