Esempio n. 1
0
        public static IPage AddBlock(this IPage self, Action <PageBlock> configure)
        {
            var newPageBlock = new PageBlock();

            configure(newPageBlock);
            self.AddBlock(newPageBlock);
            return(self);
        }
Esempio n. 2
0
 public static PageBlock With(this PageBlock self, IPageBlockComponent component)
 {
     self.AddComponent(component);
     return(self);
 }