| 12345678910111213141516171819202122232425262728293031323334353637383940414243 |
- using System;
- using System.Collections.Generic;
- using System.Text;
- namespace System.Fire.yaml {
- class ymlValue {
- private List<ymlValue> _sub = new List<ymlValue>();
- private string _name = "";
- private string _value = "";
- //private ymlValue _parent;
- public ymlValue(string Line) {
- }
- public ymlValue(string Name, string Value) {
- this._name = Name;
- this._value = Value;
- }
- public ymlValue(string Name, List<ymlValue> SubItems) {
- this._name = Name;
- if(SubItems != null)
- this._sub = SubItems;
- }
- public string Value {
- get { return this.ToString(); }
- set {
- }
- }
- //public string this[string VariableName] {
- // get { return this.ymlValue(VariableName); }
- //}
- public override string ToString() {
- string str = "";
- return str;
- }
- }
- }
|