IsWellFormedOriginalString() public method

public IsWellFormedOriginalString ( Uri uri ) : bool
uri Uri
return bool
Ejemplo n.º 1
0
        public static void IsWellFormedOriginalString()
        {
            http = new Uri(full_http);
            TestUriParser parser = new TestUriParser();

            Assert.True(parser.IsWellFormedOriginalString(http), "http");
        }
Ejemplo n.º 2
0
        public static void IsWellFormedOriginalString_Null()
        {
            TestUriParser parser = new TestUriParser();

            Assert.Throws <System.NullReferenceException>(() => { parser.IsWellFormedOriginalString(null); });
        }
Ejemplo n.º 3
0
 public static void IsWellFormedOriginalString_Null()
 {
     TestUriParser parser = new TestUriParser();
     Assert.Throws<System.NullReferenceException>(() => { parser.IsWellFormedOriginalString(null); } );
 }
Ejemplo n.º 4
0
 public static void IsWellFormedOriginalString()
 {
     http = new Uri(full_http);
     TestUriParser parser = new TestUriParser();
     Assert.True(parser.IsWellFormedOriginalString(http), "http");
 }