예제 #1
0
파일: KeyData.cs 프로젝트: Hakua/PokeSharp
 /// <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);
 }
예제 #2
0
 /// <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);
 }