Exemplo n.º 1
0
        /// <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
        }
Exemplo n.º 2
0
 public UserIdentity(UserIdentity uid)
     : base((Credentials)uid)
 {
     this.name = uid.Name;
     this.email = uid.Email;
 }