Exemplo n.º 1
0
        protected ConstructorInitializer(IEnumerable <Expression>?codeExpressions)
        {
            CommentsBefore = new CommentCollection(this);
            CommentsAfter  = new CommentCollection(this);
            Arguments      = new CodeObjectCollection <Expression>(this);

            if (codeExpressions != null)
            {
                foreach (var codeExpression in codeExpressions)
                {
                    Arguments.Add(codeExpression);
                }
            }
        }
Exemplo n.º 2
0
 protected Expression()
 {
     CommentsBefore = new CommentCollection(this, CommentType.InlineComment);
     CommentsAfter  = new CommentCollection(this, CommentType.InlineComment);
 }
Exemplo n.º 3
0
 public virtual void VisitCommentCollection(CommentCollection commentCollection)
 {
     VisitCollection(commentCollection);
 }