public IValueConverter TryBuildConverter(Type dataType, Plotter plotter)
		{
			IValueConverter result = null;

			IValueConversionContext context = new ValueConversionContext { Plotter = plotter };
			foreach (var factory in factories)
			{
				result = factory.TryBuildConverter(dataType, context);
				if (result != null)
					return result;
			}

			return result;
		}
Ejemplo n.º 2
0
        public IValueConverter TryBuildConverter(Type dataType, Plotter plotter)
        {
            IValueConverter result = null;

            IValueConversionContext context = new ValueConversionContext {
                Plotter = plotter
            };

            foreach (var factory in factories)
            {
                result = factory.TryBuildConverter(dataType, context);
                if (result != null)
                {
                    return(result);
                }
            }

            return(result);
        }