Esempio n. 1
0
 /// <summary>
 /// Save the settings to an XML store.
 /// </summary>
 /// <param name="store">The XML store to save the settings to. This eventually gets persisted
 /// to the settings.aiis file.</param>
 public override void SaveTo(ArtOfTest.Common.Serialization.XmlStoreNode store)
 {
     store.AddValue("ServerName", this.ServerName);
     store.AddValue("User", this.User);
     store.AddValue("Password", this.Password);
     store.AddValue("Project", this.SelectedProject);
 }
Esempio n. 2
0
 /// <summary>
 /// Load the JIRA connection settings from the XML store.
 /// </summary>
 /// <param name="store">The XML store to read the settings out of. It originally
 /// comes from the settings.aiis file.</param>
 public override void LoadFrom(ArtOfTest.Common.Serialization.XmlStoreNode store)
 {
     this.ServerName      = store.GetValue <string>("ServerName");
     this.User            = store.GetValue <string>("User");
     this.Password        = store.GetValue <Base64String>("Password");
     this.SelectedProject = store.GetValue <JiraProject>("Project");
 }