using System;
using Umbraco.Core.PropertyEditors;
namespace Umbraco.Core.Models.PublishedContent
{
///
///
/// Represents a published property that has a unique invariant-neutral value
/// and caches conversion results locally.
///
///
/// Conversions results are stored within the property and will not
/// be refreshed, so this class is not suitable for cached properties.
/// Does not support variations: the ctor throws if the property type
/// supports variations.
///
internal class RawValueProperty : PublishedPropertyBase
{
private readonly object _sourceValue; //the value in the db
private readonly Lazy