Beispiel #1
0
        /// <summary>
        /// Renames the widget.
        /// </summary>
        /// <param name="name">
        /// The name.
        /// </param>
        /// <param name="description">
        /// The description.
        /// </param>
        public void Rename(string name, string description)
        {
            Prevent.NullOrWhiteSpaceString(name, nameof(name));

            this.Name        = name;
            this.Description = description;

            this.IncrementVersion();
            this.UpdateLastModifiedDate();
        }