示例#1
0
        public virtual bool Equals(AlbumName another)
        {
            if (another == null)
                return false;

            if (ReferenceEquals(this, another))
                return true;

            return this.Id == another.Id;
        }
示例#2
0
        public virtual AlbumName CreateName(string val, ContentLanguageSelection language)
        {
            ParamIs.NotNullOrEmpty(() => val);

            var name = new AlbumName(this, new LocalizedString(val, language));

            Names.Add(name);

            return(name);
        }
示例#3
0
        public virtual bool Equals(AlbumName another)
        {
            if (another == null)
            {
                return(false);
            }

            if (ReferenceEquals(this, another))
            {
                return(true);
            }

            return(this.Id == another.Id);
        }