コード例 #1
0
 protected bool Equals(QnSProjectAward.Contracts.Modules.Account.ILogon other)
 {
     if (other == null)
     {
         return(false);
     }
     return(IsEqualsWith(Email, other.Email) && IsEqualsWith(Password, other.Password) && IsEqualsWith(OptionalInfo, other.OptionalInfo));
 }
コード例 #2
0
        public static Modules.Account.Logon Create(QnSProjectAward.Contracts.Modules.Account.ILogon other)
        {
            BeforeCreate(other);
            var result = new Modules.Account.Logon();

            result.CopyProperties(other);
            AfterCreate(result, other);
            return(result);
        }
コード例 #3
0
        public void CopyProperties(QnSProjectAward.Contracts.Modules.Account.ILogon other)
        {
            if (other == null)
            {
                throw new System.ArgumentNullException(nameof(other));
            }
            bool handled = false;

            BeforeCopyProperties(other, ref handled);
            if (handled == false)
            {
                Email        = other.Email;
                Password     = other.Password;
                OptionalInfo = other.OptionalInfo;
            }
            AfterCopyProperties(other);
        }
コード例 #4
0
 partial void AfterCopyProperties(QnSProjectAward.Contracts.Modules.Account.ILogon other);
コード例 #5
0
 partial void BeforeCopyProperties(QnSProjectAward.Contracts.Modules.Account.ILogon other, ref bool handled);
コード例 #6
0
 static partial void AfterCreate(Modules.Account.Logon instance, QnSProjectAward.Contracts.Modules.Account.ILogon other);
コード例 #7
0
 static partial void BeforeCreate(QnSProjectAward.Contracts.Modules.Account.ILogon other);