コード例 #1
0
        public static AssignListBuilder From(IEnumerable <Table> tables)
        {
            if (tables == null)
            {
                throw new ArgumentNullException("tables");
            }

            var builder = new AssignListBuilder();

            builder.tables.AddRange(tables);
            return(builder);
        }
コード例 #2
0
        public static AssignListBuilder From(Table table, params Table[] args)
        {
            if (table == null)
            {
                throw new ArgumentNullException("table");
            }

            var builder = new AssignListBuilder();
            builder.Tables.Add(table);
            if (args != null)
            {
                builder.Tables.AddRange(args);
            }

            return builder;
        }
コード例 #3
0
        public static AssignListBuilder From(Table table, params Table[] args)
        {
            if (table == null)
            {
                throw new ArgumentNullException("table");
            }

            var builder = new AssignListBuilder();

            builder.Tables.Add(table);
            if (args != null)
            {
                builder.Tables.AddRange(args);
            }

            return(builder);
        }
コード例 #4
0
        public static AssignListBuilder From(IEnumerable<Table> tables)
        {
            if (tables == null)
            {
                throw new ArgumentNullException("tables");
            }

            var builder = new AssignListBuilder();
            builder.tables.AddRange(tables);
            return builder;
        }