An ITypeConverter which can convert a Uri to and from the stored database value of a string column.
Inheritance: ITypeConverter
            public void AnArgumentNullExceptionShouldBeThrown()
            {
                var typeConverter = new UriTypeConverter();

                var exception = Assert.Throws<System.ArgumentNullException>(
                    () => typeConverter.ConvertFromDbValue("foo", null));

                Assert.Equal("type", exception.ParamName);
            }
            public void AnArgumentNullExceptionShouldBeThrown()
            {
                var typeConverter = new UriTypeConverter();

                var exception = Assert.Throws<System.ArgumentNullException>(
                    () => typeConverter.ConvertFromDbValue(null, 0, typeof(System.Uri)));

                Assert.Equal("reader", exception.ParamName);
            }
            public void TrueShouldBeReturned()
            {
                var typeConverter = new UriTypeConverter();

                Assert.True(typeConverter.CanConvert(typeof(System.Uri)));
            }