17 using erminas.SmartAPI.CMS.Converter;
19 namespace erminas.SmartAPI.CMS.Project.ContentClasses.Elements
25 ILanguageDependentValue<string> DefaultValue {
get; }
27 ILanguageDependentValue<string> Sample {
get; }
30 internal class StandardField : ExtendedContentClassContentElement, IStandardField
32 protected StandardField(
IContentClass contentClass, XmlElement xmlElement) : base(contentClass, xmlElement)
36 [RedDot(
"eltparentelementguid", ConverterType = typeof (ContentClassElementConverter))]
37 public IContentClassElement ChildElementOf
39 get {
return GetAttributeValue<IContentClassElement>(); }
40 set { SetAttributeValue(value); }
43 [RedDot(
"eltdefaultvalue")]
44 public ILanguageDependentValue<string> DefaultValue
46 get {
return GetAttributeValue<ILanguageDependentValue<string>>(); }
49 [RedDot(
"eltrdexample")]
50 public ILanguageDependentValue<string> Sample
52 get {
return GetAttributeValue<ILanguageDependentValue<string>>(); }