public override object GetValue(IFieldSet fields, IPage page = null)
 {
     var embeddedFieldSet = fields.GetEmbeddedFieldSet(SchemaFieldName);
     if (embeddedFieldSet != null)
     {
         return ComponentViewModelBuilder.Build(embeddedFieldSet, TargetType, page);
     }
     return null;
 }
示例#2
0
        public override object GetValue(IFieldSet fields, IPage page = null)
        {
            var embeddedFieldSet = fields.GetEmbeddedFieldSet(SchemaFieldName);

            if (embeddedFieldSet != null)
            {
                return(ComponentViewModelBuilder.Build(embeddedFieldSet, TargetType, page));
            }
            return(null);
        }