FetchLegalValues() public method

public FetchLegalValues ( ) : void
return void
示例#1
0
 public void TestStuff()
 {
     // Create a new repository and log in
     Repository source = new Repository ();
     source.Name = "Bugzilla Landfill";
     source.Url = "https://landfill.bugzilla.org/bugzilla-3.4-branch/xmlrpc.cgi";
     source.UserName = "******";
     source.Password = "******";
     // not my real password, don't worry
     source.Proxy = "http://10.3.100.211:8080";
     if (source.LoginAndVerify ()) {
         source.FetchLegalValues();
         Sources.Add(source);
         //Query q1 = new Query();
         //Queries.Add(q1);
         //q1.SourceID = 0;
         //q1.TestStuff();
         SaveState();
     }
 }