tracking changes works the way it is supposed to. Creates a TracksChangesEntityBase class for any other entity that wants to implement IRememberBeingDirty (now Entity inherits from this). Upgraded a bunch of other entities that were not tracking changes properly.
27 lines
761 B
C#
27 lines
761 B
C#
using System;
|
|
using System.Runtime.Serialization;
|
|
using Umbraco.Core.Models.EntityBase;
|
|
|
|
namespace Umbraco.Core.Models
|
|
{
|
|
/// <summary>
|
|
/// Represents a Stylesheet Property
|
|
/// </summary>
|
|
/// <remarks>
|
|
/// Properties are always formatted to have a single selector, so it can be used in the backoffice
|
|
/// </remarks>
|
|
[Serializable]
|
|
[DataContract(IsReference = true)]
|
|
public class StylesheetProperty : IValueObject
|
|
{
|
|
public StylesheetProperty(string @alias, string value)
|
|
{
|
|
Alias = alias;
|
|
Value = value;
|
|
}
|
|
|
|
public string Alias { get; set; }
|
|
public string Value { get; set; }
|
|
public bool IsPartOfAtRule { get; set; }
|
|
}
|
|
} |