Example #1
0
        public void AddLast(MyVariable input)
        {
            var current = this;

            while (current.Child != null)
            {
                current = current.Child;
            }
            current.Child = new VariableLink(input);
        }
Example #2
0
 public void Clear()
 {
     this.value = new MyVariable(typeof(Nullable));
     this.child = null;
 }
Example #3
0
 public VariableLink(MyVariable value, VariableLink child)
 {
     this.value = value;
     this.child = child;
 }
Example #4
0
 public VariableLink(MyVariable value) : this(value, null)
 {
 }