public PostItem(BotContext context, Element parent = null) : base(context) { _parent = parent; Text = new PostItemElements.Text(context, this); LikeBtn = new ButtonsElements.WidgetsElements.LikeBtn(context, this); CommentBlock = new CommentsElements.CommentBlock(context, this); }
public Comments(BotContext context, Dictionary <string, string> keysAndXpaths) : base(context) { context.PrepareXPath(keysAndXpaths); CommentBlock = new CommentsElements.CommentBlock(context); }