protected override void Displaying(ConnectorDisplayContext model, Origami.Services.ModelShapeContext context) { var connTitle = model.ConnectorContent.As <TitlePart>(); if (connTitle != null && !String.IsNullOrWhiteSpace(connTitle.Title)) { context.Paradigms.Add("TitleOverride"); } var connBody = model.ConnectorContent.As <BodyPart>(); if (connBody != null && !String.IsNullOrWhiteSpace(connBody.Text)) { context.Paradigms.Add("BodyOverride"); } }
internal object Model(Origami.Services.ModelShapeContext context) { throw new NotImplementedException(); }