IsValid() public méthode

Determines if the request has valid settings.
public IsValid ( ) : bool
Résultat bool
Exemple #1
0
 public void IsValidNoTopic()
 {
     FetchRequest request = new FetchRequest(" ", 1, 10L, 100);
     Assert.IsFalse(request.IsValid());
 }
Exemple #2
0
 public void IsValidNulltopic()
 {
     FetchRequest request = new FetchRequest(null, 1, 10L, 100);
     Assert.IsFalse(request.IsValid());
 }
Exemple #3
0
 public void IsValidTrue()
 {
     FetchRequest request = new FetchRequest("topic", 1, 10L, 100);
     Assert.IsTrue(request.IsValid());
 }