/// <summary> /// 构造一个 <see cref="CombIdGenerator"/>。 /// </summary> /// <param name="generation">给定的 <see cref="CombIdGeneration"/>。</param> /// <param name="options">给定的 <see cref="IdGenerationOptions"/>。</param> /// <param name="clock">给定的 <see cref="IClockBootstrap"/>。</param> public CombIdGenerator(CombIdGeneration generation, IdGenerationOptions options, IClockBootstrap clock) : base(options, clock) { Generation = generation; }
/// <summary> /// 使用内置的 <see cref="Bootstrapper.GetClock()"/> 构造一个 <see cref="CombIdGenerator"/>。 /// </summary> /// <param name="generation">给定的 <see cref="CombIdGeneration"/>。</param> /// <param name="options">给定的 <see cref="IdGenerationOptions"/>。</param> public CombIdGenerator(CombIdGeneration generation, IdGenerationOptions options) : this(generation, options, Bootstrapper.GetClock()) { }