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; }
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); }