Cimbalino.Phone.Toolkit.Converters.ResolutionAwareUriConverter.ConvertBack C# (CSharp) Method

ConvertBack() public method

Converts a resolution aware Uri value to a Uri value.
public ConvertBack ( object value, Type targetType, object parameter, System culture ) : object
value object The value produced by the binding source.
targetType System.Type The type of the binding target property.
parameter object The converter parameter to use.
culture System The culture to use in the converter.
return object
        public object ConvertBack(object value, Type targetType, object parameter, System.Globalization.CultureInfo culture)
        {
            throw new NotSupportedException();
        }

Usage Example

        public void ConvertBackIsNotImplemented()
        {
            var converter = new ResolutionAwareUriConverter();

            Assert.ThrowsException<NotSupportedException>(() => converter.ConvertBack(null, typeof(Uri), null, CultureInfo.CurrentCulture));
        }