Ejemplo n.º 1
0
        public void CopyProperties(QuickNSmart.Contracts.Persistence.Account.IUser other)
        {
            if (other == null)
            {
                throw new System.ArgumentNullException(nameof(other));
            }
            bool handled = false;

            BeforeCopyProperties(other, ref handled);
            if (handled == false)
            {
                Id             = other.Id;
                Timestamp      = other.Timestamp;
                UserName       = other.UserName;
                Password       = other.Password;
                Email          = other.Email;
                FirstName      = other.FirstName;
                LastName       = other.LastName;
                PhoneNumber    = other.PhoneNumber;
                Avatar         = other.Avatar;
                AvatarMimeType = other.AvatarMimeType;
                State          = other.State;
            }
            AfterCopyProperties(other);
        }
Ejemplo n.º 2
0
 partial void OnStateChanging(ref bool handled, ref QuickNSmart.Contracts.State _state);