public void CopyProperties(QnSContactManager.Contracts.Modules.Account.ILoginUser other) { if (other == null) { throw new System.ArgumentNullException(nameof(other)); } bool handled = false; BeforeCopyProperties(other, ref handled); if (handled == false) { Email = other.Email; LoginTime = other.LoginTime; LogoutTime = other.LogoutTime; Name = other.Name; State = other.State; } AfterCopyProperties(other); }
public void CopyProperties(QnSContactManager.Contracts.Persistence.Account.IIdentity 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; Guid = other.Guid; Name = other.Name; Email = other.Email; Password = other.Password; EnableJwtAuth = other.EnableJwtAuth; AccessFailedCount = other.AccessFailedCount; State = other.State; } AfterCopyProperties(other); }
partial void OnStateChanging(ref bool handled, ref QnSContactManager.Contracts.Modules.Common.State _state);