IsWellFormedOriginalString() public méthode

public IsWellFormedOriginalString ( Uri uri ) : bool
uri Uri
Résultat bool
Exemple #1
0
        public static void IsWellFormedOriginalString()
        {
            http = new Uri(full_http);
            TestUriParser parser = new TestUriParser();

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

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