Example #1
0
 /// <summary>
 /// Copy contructor for doing deep copy of the <b>User</b> objects.
 /// </summary>
 /// <param name="old">The <b>User</b> to copy from.</param>
 public UserIdentity(UserIdentity old)
     : base(old)
 {
     CopyMembers(old);
 }
Example #2
0
 /// <summary>
 /// Creates a deep copy of the passed object.
 /// </summary>
 /// <param name="old">A <b>User</b> object to create the deep copy from.</param>
 private void CopyMembers(UserIdentity old)
 {
     this.protocol = old.protocol;
     this.authority = old.authority;
     this.identifier = old.identifier;
 }