Exemple #1
0
 public void Set(ElementStringNames Name, string value)
 {
     if (ListString.Find(x => x.Name == Name) == null)
     {
         ListString.Add(new ElementString(Name, value));
     }
     else
     {
         ListString.Find(x => x.Name == Name).Value = value;
     }
 }
Exemple #2
0
 public ElementString(ElementStringNames Name, string Value)
 {
     this.Name  = Name;
     this.Value = Value;
 }
Exemple #3
0
 public string Get(ElementStringNames Name)
 {
     return(ListString.Find(x => x.Name == Name).Value);
 }