Beispiel #1
0
 public DataTypeBuilder(IEntityNaming naming,
                        ISyntaxGenerator syntax,
                        IExportableCheck exportable,
                        AttachedMemberCache attachedMembers,
                        ICommentParser commentParser)
     : base(naming, syntax, exportable, attachedMembers)
 {
     _commentParser = commentParser;
 }
Beispiel #2
0
        public SyntaxGenerator(IExportableCheck exportableCheck, IEntityNaming entityNaming)
        {
            if (exportableCheck == null)
            {
                throw new ArgumentNullException(nameof(exportableCheck));
            }
            if (entityNaming == null)
            {
                throw new ArgumentNullException(nameof(entityNaming));
            }

            _exportableCheck = exportableCheck;
            _entityNaming    = entityNaming;
        }
Beispiel #3
0
        protected Builder(IEntityNaming naming, ISyntaxGenerator syntax, IExportableCheck exportable, AttachedMemberCache attachedMembers)
        {
            if (naming == null)
            {
                throw new ArgumentNullException(nameof(naming));
            }
            if (syntax == null)
            {
                throw new ArgumentNullException(nameof(syntax));
            }
            if (exportable == null)
            {
                throw new ArgumentNullException(nameof(exportable));
            }
            if (attachedMembers == null)
            {
                throw new ArgumentNullException(nameof(attachedMembers));
            }

            Naming          = naming;
            Syntax          = syntax;
            Exportable      = exportable;
            AttachedMembers = attachedMembers;
        }
Beispiel #4
0
 public BlockSyntaxGenerator(IExportableCheck exportableCheck, IEntityNaming entityNaming)
     : base(exportableCheck, entityNaming)
 {
 }
Beispiel #5
0
 public DataTypeSyntaxGenerator(IExportableCheck exportableCheck, IEntityNaming entityNaming)
     : base(exportableCheck, entityNaming)
 {
 }
 public NamespaceSyntaxGenerator(IExportableCheck exportableCheck, IEntityNaming entityNaming)
     : base(exportableCheck, entityNaming)
 {
 }