public IContent GetContent(IMetadataProvider parent) { Content content = new Content(parent); TextBehaviour tb = content.AddBehaviour <TextBehaviour>(); ILevelledBehaviour lb = content.AddBehaviour <LevelledBehaviour>(); tb.Text = this._text; lb.Level = this._level; return(content); }
public IContent GetContent(IMetadataProvider parent) { Content content = new Content(parent); MediaBehaviour mb = content.AddBehaviour <MediaBehaviour>(); mb.Reference = this._reference; return(content); }
public IContent GetContent(IMetadataProvider parent) { Content content = new Content(parent); ListBehaviour lb = content.AddBehaviour <ListBehaviour>(); lb.Separator = this._separator; lb.ContentList = this._listables; return(content); }