internal ComparerN(IComparer <T>[] comparers) { AZAssert.NotNullInternal(comparers, nameof(comparers)); AZAssert.Internal(!ArrayHelper.ExistsNull(comparers), "param is null"); this.comparers = comparers; }
internal Comparer2(IComparer <T> primary, IComparer <T> secondary) { AZAssert.NotNullInternal(primary, nameof(primary)); AZAssert.NotNullInternal(secondary, nameof(secondary)); this.primary = primary; this.secondary = secondary; }
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; }