示例#1
0
        internal ComparerN(IComparer <T>[] comparers)
        {
            AZAssert.NotNullInternal(comparers, nameof(comparers));
            AZAssert.Internal(!ArrayHelper.ExistsNull(comparers), "param is null");

            this.comparers = comparers;
        }
示例#2
0
        internal Comparer2(IComparer <T> primary, IComparer <T> secondary)
        {
            AZAssert.NotNullInternal(primary, nameof(primary));
            AZAssert.NotNullInternal(secondary, nameof(secondary));

            this.primary   = primary;
            this.secondary = secondary;
        }
示例#3
0
        internal Comparer4(IComparer <T> primary, IComparer <T> secondary, IComparer <T> tertiary, IComparer <T> quaternary)
        {
            AZAssert.NotNullInternal(primary, nameof(primary));
            AZAssert.NotNullInternal(secondary, nameof(secondary));
            AZAssert.NotNullInternal(tertiary, nameof(tertiary));
            AZAssert.NotNullInternal(quaternary, nameof(quaternary));

            this.primary    = primary;
            this.secondary  = secondary;
            this.tertiary   = tertiary;
            this.quaternary = quaternary;
        }