View Source
Class RawValueProperty
Represents a published property that has a unique invariant-neutral value
and caches conversion results locally.
Inheritance
System.Object
Assembly: Umbraco.Core.dll
Syntax
public class RawValueProperty : PublishedPropertyBase, IPublishedProperty
Constructors
View Source
RawValueProperty(IPublishedPropertyType, IPublishedElement, Object, Boolean)
Declaration
public RawValueProperty(IPublishedPropertyType propertyType, IPublishedElement content, object sourceValue, bool isPreviewing = false)
Parameters
Methods
View Source
GetSourceValue(String, String)
Declaration
public override object GetSourceValue(string culture = null, string segment = null)
Parameters
Type |
Name |
Description |
System.String |
culture |
|
System.String |
segment |
|
Returns
Type |
Description |
System.Object |
|
View Source
GetValue(String, String)
Declaration
public override object GetValue(string culture = null, string segment = null)
Parameters
Type |
Name |
Description |
System.String |
culture |
|
System.String |
segment |
|
Returns
Type |
Description |
System.Object |
|
View Source
GetXPathValue(String, String)
Declaration
public override object GetXPathValue(string culture = null, string segment = null)
Parameters
Type |
Name |
Description |
System.String |
culture |
|
System.String |
segment |
|
Returns
Type |
Description |
System.Object |
|
View Source
HasValue(String, String)
Declaration
public override bool HasValue(string culture = null, string segment = null)
Parameters
Type |
Name |
Description |
System.String |
culture |
|
System.String |
segment |
|
Returns
Type |
Description |
System.Boolean |
|