Esempio 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);
                }
            }
        }
 protected Expression()
 {
     CommentsBefore = new CommentCollection(this, CommentType.InlineComment);
     CommentsAfter  = new CommentCollection(this, CommentType.InlineComment);
 }
Esempio n. 3
0
 public virtual void VisitCommentCollection(CommentCollection commentCollection)
 {
     VisitCollection(commentCollection);
 }