/// <summary>Applies job modifier.</summary> /// <param name="config">The config.</param> /// <param name="jobModifier">Job modifier to apply.</param> /// <returns>Config with applied job modifier.</returns> public static ICompetitionConfig WithModifier( this ICompetitionConfig config, Job jobModifier) => config.With(m => m.ApplyModifier(jobModifier));
/// <summary>Applies the specified competition options.</summary> /// <param name="config">The config.</param> /// <param name="optionsModifier">Competition options to apply.</param> /// <returns>Config with applied competition options.</returns> public static ICompetitionConfig WithModifier( this ICompetitionConfig config, CompetitionOptions optionsModifier) => config.With(m => m.ApplyModifier(optionsModifier));