Beispiel #1
0
        public ContentDataProperty(ContentDataObject contentData, ContentFieldObject?contentField = null)
        {
            this.contentData  = contentData;
            this.contentField = contentField;

            if (contentField != null)
            {
                value = contentField;
            }
        }
Beispiel #2
0
        public ContentDataProperty(ContentDataObject contentData, ContentFieldObject contentField = null)
            : base(null, true, true, true)
        {
            this.contentData  = contentData;
            this.contentField = contentField;

            if (contentField != null)
            {
                value = new JsValue(contentField);
            }
        }
Beispiel #3
0
        public ContentFieldObject(ContentDataObject contentData, ContentFieldData?fieldData, bool isNew)
            : base(contentData.Engine)
        {
            this.contentData = contentData;
            this.fieldData   = fieldData;

            if (isNew)
            {
                MarkChanged();
            }
        }