Esempio n. 1
0
        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");
            }
        }
Esempio n. 2
0
 internal object Model(Origami.Services.ModelShapeContext context)
 {
     throw new NotImplementedException();
 }