Exemplo n.º 1
0
 protected bool Equals(QnSProjectAward.Contracts.Modules.Language.ITranslation other)
 {
     if (other == null)
     {
         return(false);
     }
     return(IsEqualsWith(AppName, other.AppName) && KeyLanguage == other.KeyLanguage && IsEqualsWith(Key, other.Key) && ValueLanguage == other.ValueLanguage && IsEqualsWith(Value, other.Value));
 }
Exemplo n.º 2
0
        public static Modules.Language.Translation Create(QnSProjectAward.Contracts.Modules.Language.ITranslation other)
        {
            BeforeCreate(other);
            var result = new Modules.Language.Translation();

            result.CopyProperties(other);
            AfterCreate(result, other);
            return(result);
        }
Exemplo n.º 3
0
        public void CopyProperties(QnSProjectAward.Contracts.Modules.Language.ITranslation other)
        {
            if (other == null)
            {
                throw new System.ArgumentNullException(nameof(other));
            }
            bool handled = false;

            BeforeCopyProperties(other, ref handled);
            if (handled == false)
            {
                Id            = other.Id;
                AppName       = other.AppName;
                KeyLanguage   = other.KeyLanguage;
                Key           = other.Key;
                ValueLanguage = other.ValueLanguage;
                Value         = other.Value;
            }
            AfterCopyProperties(other);
        }
Exemplo n.º 4
0
 static partial void AfterCreate(Modules.Language.Translation instance, QnSProjectAward.Contracts.Modules.Language.ITranslation other);
Exemplo n.º 5
0
 static partial void BeforeCreate(QnSProjectAward.Contracts.Modules.Language.ITranslation other);
Exemplo n.º 6
0
 partial void AfterCopyProperties(QnSProjectAward.Contracts.Modules.Language.ITranslation other);
Exemplo n.º 7
0
 partial void BeforeCopyProperties(QnSProjectAward.Contracts.Modules.Language.ITranslation other, ref bool handled);