Skip to content

Instantly share code, notes, and snippets.

@albertromkes

albertromkes/gist:8652069

Last active Jan 4, 2016
Embed
What would you like to do?
[InlineEditable]
public class ArticleModel
{
[InlineEditableField(FieldName="title")]
public string Title { get; set; }
[InlineEditableField(FieldName="complink_to_article")]
public HyperLink LinkToFullArticle { get; set; }
[InlineEditableField(FieldName="related_articles")]
public List<HyperLink> RelatedArticles { get; set; }
[InlineEditableField(FieldName="publish_date")]
public DateTime PublishDate { get; set; }
[InlineEditableField(FieldName="prio")]
public int Priority { get; set; }
}
[InlineEditable]
public class HyperLink
{
[InlineEditableField(FieldName="link_to")]
public string Url { get; set; }
[InlineEditableField(FieldName="link_title")]
public string LinkTitle { get; set; }
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.