Ejemplo n.º 1
0
 public CSharpTypeMemberVisitor([NotNull] CSharpCodeVisitor csharpCodeVisitor,
                                [NotNull] CSharpCodeWriter writer,
                                [NotNull] CodeGeneratorContext context)
     : base(writer, context)
 {
     _csharpCodeVisitor = csharpCodeVisitor;
 }
Ejemplo n.º 2
0
        public CSharpDesignTimeHelpersVisitor([NotNull] CSharpCodeVisitor csharpCodeVisitor,
                                              [NotNull] CSharpCodeWriter writer,
                                              [NotNull] CodeGeneratorContext context)

            : base(writer, context)
        {
            _csharpCodeVisitor = csharpCodeVisitor;
        }
Ejemplo n.º 3
0
        public CSharpDesignTimeCodeVisitor(
            CSharpCodeVisitor csharpCodeVisitor,
            CSharpCodeWriter writer,
            CodeGeneratorContext context)
            : base(writer, context)
        {
            if (csharpCodeVisitor == null)
            {
                throw new ArgumentNullException(nameof(csharpCodeVisitor));
            }

            CSharpCodeVisitor = csharpCodeVisitor;
        }
Ejemplo n.º 4
0
        public CSharpTypeMemberVisitor(CSharpCodeVisitor csharpCodeVisitor,
                                       CSharpCodeWriter writer,
                                       CodeGeneratorContext context)
            : base(writer, context)
        {
            if (csharpCodeVisitor == null)
            {
                throw new ArgumentNullException(nameof(csharpCodeVisitor));
            }

            if (writer == null)
            {
                throw new ArgumentNullException(nameof(writer));
            }

            if (context == null)
            {
                throw new ArgumentNullException(nameof(context));
            }

            _csharpCodeVisitor = csharpCodeVisitor;
        }