Beispiel #1
0
 /// <summary>
 /// Set symbol original value. Name value is derived from inner text.
 /// </summary>
 /// <param name="original">Symbol text from source.</param>
 public void SetValue(string original)
 {
     this.original = original;
     name          = Parser.GetInnerSymbolName(original);
 }
Beispiel #2
0
 /// <summary>
 /// Set symbol.
 /// </summary>
 /// <param name="symbol">Symbol text from source.</param>
 public void Set(string symbol)
 {
     original = symbol;
     name     = Parser.GetInnerSymbolName(symbol);
 }