コード例 #1
0
 protected bool Equals(QnSContactManager.Contracts.Business.Account.IAppAccess other)
 {
     if (other == null)
     {
         return(false);
     }
     return(Id == other.Id && IsEqualsWith(Timestamp, other.Timestamp) && IsEqualsWith(Identity, other.Identity) && IsEqualsWith(Roles, other.Roles));
 }
コード例 #2
0
        public void CopyProperties(QnSContactManager.Contracts.Business.Account.IAppAccess 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;
                Identity  = other.Identity;
                Roles     = other.Roles;
            }
            AfterCopyProperties(other);
        }
コード例 #3
0
 partial void AfterCopyProperties(QnSContactManager.Contracts.Business.Account.IAppAccess other);
コード例 #4
0
 partial void BeforeCopyProperties(QnSContactManager.Contracts.Business.Account.IAppAccess other, ref bool handled);