Пример #1
0
 /// <summary>
 /// Copies member variables.
 /// </summary>
 /// <param name="old"></param>
 private void CopyMembers(Parameter old)
 {
     this.direction = old.direction;
     this.hasDefaultValue = old.hasDefaultValue;
     this.defaultValue = old.defaultValue;
 }
Пример #2
0
 /// <summary>
 /// Copy constructor
 /// </summary>
 /// <param name="old"></param>
 public Parameter(Parameter old)
 {
     CopyMembers(old);
 }