namespace Umbraco.Core.Models.PublishedContent
{
///
/// Provides a noop implementation for .
///
///
/// This is for tests etc - does not implement fallback at all.
///
public class NoopPublishedValueFallback : IPublishedValueFallback
{
///
public object GetValue(IPublishedProperty property, string culture, string segment, object defaultValue) => defaultValue;
///
public T GetValue(IPublishedProperty property, string culture, string segment, T defaultValue) => defaultValue;
///
public object GetValue(IPublishedElement content, string alias, string culture, string segment, object defaultValue) => defaultValue;
///
public T GetValue(IPublishedElement content, string alias, string culture, string segment, T defaultValue) => defaultValue;
///
public object GetValue(IPublishedContent content, string alias, string culture, string segment, object defaultValue, bool recurse) => defaultValue;
///
public T GetValue(IPublishedContent content, string alias, string culture, string segment, T defaultValue, bool recurse) => defaultValue;
}
}