/// <summary> /// Initializes a new instance of the <see cref="KeyData"/> class /// from a previous instance of <see cref="KeyData"/>. /// </summary> /// <remarks> /// Data is deeply copied /// </remarks> /// <param Name="ori"> /// The instance of the <see cref="KeyData"/> class /// used to create the new instance.</param> public KeyData(KeyData ori) { _value = ori._value; _keyName = ori._keyName; _comments = new List<string>(ori._comments); }
/// <summary> /// Initializes a new instance of the <see cref="KeyData"/> class /// from a previous instance of <see cref="KeyData"/>. /// </summary> /// <remarks> /// Data is deeply copied /// </remarks> /// <param Name="ori"> /// The instance of the <see cref="KeyData"/> class /// used to create the new instance.</param> public KeyData(KeyData ori) { _value = ori._value; _keyName = ori._keyName; _comments = new List <string>(ori._comments); }