Пример #1
0
 /// <summary>
 /// Initializes a new instance of the <see cref="SyntheticAtom"/> class.
 /// </summary>
 /// <param name="name">The name.</param>
 /// <param name="type">The type.</param>
 public SyntheticAtom(string name, SyntheticType type)
 {
     Name = name;
     Type = type;
 }
Пример #2
0
 /// <summary>
 /// Withes the atom.
 /// </summary>
 /// <param name="name">The name.</param>
 /// <param name="type">The type.</param>
 /// <returns></returns>
 public SyntheticType Declare(string name, SyntheticType type)
 {
     this[name] = type;
     return(this);
 }