public HiddenUpdateContext(CancellationTokenSource updateProcessingAbortedSource, DateTime createdAt, LoggingAdvancedOptions loggingAdvancedOptions) { UpdateProcessingAbortedSource = updateProcessingAbortedSource; CreatedAt = createdAt; LoggingAdvancedOptions = loggingAdvancedOptions; }
/// <summary> /// Here you can edit logging settings specialized for current library. /// </summary> public static void LoggingAdvancedConfigure(this ServiceCollectionWrapper @this, LoggingAdvancedOptions options) { Func <LoggingAdvancedOptions> func = () => options; @this.Services.AddSingleton(func); }