Definition at line 91 of file Imager.cs.
◆ Profile()
| BioImager.Imager.Profile.Profile |
( |
string | path | ) |
|
Definition at line 107 of file Imager.cs.
108 {
110 if (path != "Default")
111 {
114 }
115 }
◆ Load()
| void BioImager.Imager.Profile.Load |
( |
| ) |
|
Definition at line 117 of file Imager.cs.
118 {
119 string[] sts = File.ReadAllLines(
FilePath);
120 foreach (string s in sts)
121 {
122 string[] ss = s.Split('=');
123 if (
Settings.Default[ss[0]].GetType() == typeof(
double))
124 {
125 Settings.Default[ss[0]] =
double.Parse(ss[1]);
126 }
127 else
128 if (
Settings.Default[ss[0]].GetType() == typeof(
string))
129 {
131 }
132 }
133 }
BioImager.Properties.Settings Settings
◆ Save()
| void BioImager.Imager.Profile.Save |
( |
string | path | ) |
|
Definition at line 96 of file Imager.cs.
97 {
98 List<string> sts = new List<string>();
99 foreach (SettingsProperty currentProperty
in Settings.Default.Properties)
100 {
101 string s = currentProperty.Name +
"=" +
Settings.Default[currentProperty.Name].ToString();
102 sts.Add(s);
103 }
104 File.WriteAllLines(path, sts.ToArray());
105 }
◆ ToString()
| override string BioImager.Imager.Profile.ToString |
( |
| ) |
|
◆ DirName
| string BioImager.Imager.Profile.DirName = "" |
◆ FilePath
| string BioImager.Imager.Profile.FilePath = "" |
◆ Name
| string BioImager.Imager.Profile.Name = "" |
The documentation for this class was generated from the following file: