Пример #1
0
        public virtual ArtistName CreateName(string val, ContentLanguageSelection language)
        {
            ParamIs.NotNullOrEmpty(() => val);

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

            Names.Add(name);

            return(name);
        }
Пример #2
0
        public virtual bool Equals(ArtistName another)
        {
            if (another == null)
                return false;

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

            return this.Id == another.Id;
        }
Пример #3
0
		public virtual bool Equals(ArtistName another) {

			if (another == null)
				return false;

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

			return this.Id == another.Id;

		}
Пример #4
0
        public virtual bool Equals(ArtistName another)
        {
            if (another == null)
            {
                return(false);
            }

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

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