namespace AIStudio.Settings.DataModel; public static class DataBatchProcessingExtensions { /// The settings of the Batch Processing Assistant. extension(DataBatchProcessing settings) { /// /// Whether a configuration plugin locks the lower bound of the pause between two files. /// public static bool IsMinimumPauseLocked => ManagedConfiguration.TryGet(x => x.BatchProcessing, x => x.MinimumDelaySeconds, out var meta) && meta.IsLocked; /// /// Whether a configuration plugin locks the upper bound of the pause between two files. /// public static bool IsMaximumPauseLocked => ManagedConfiguration.TryGet(x => x.BatchProcessing, x => x.MaximumDelaySeconds, out var meta) && meta.IsLocked; } }