/// <summary> /// Creates new representation of contents of the user account. /// </summary> /// <param name="identity">user identity</param> /// <param name="machines">list of contents' of the user's machines</param> public UserContents(UserIdentity identity, List<MachineContents> machines = null) : this(identity.Login, identity.Password, identity.Name, identity.Email, machines) { //nothing needed here }
public UserIdentity(UserIdentity uid) : base((Credentials)uid) { this.name = uid.Name; this.email = uid.Email; }