Skip to content

Extension Methods: Session

This page mirrors the Session section from Extension Methods.

DisposeOfEnumerable<TEnumerable>

Source file, signature, and docstring

Member SessionExtensions.DisposeOfEnumerable<TEnumerable>(this IEnumerable<TEnumerable>? enumerable, string enumerableName, ILogger logger)

Kind function

Declaring Type SessionExtensions (extension type)

Source File QaaS.Runner.Sessions/Extensions/SessionExtensions.cs

Signature

public static void DisposeOfEnumerable<TEnumerable>(this IEnumerable<TEnumerable>? enumerable, string enumerableName, ILogger logger) where TEnumerable : IDisposable

Docstring

Disposes of an enumerable of items that extend the IDisposable interface

AppendActionFailure

Source file, signature, and docstring

Member SessionExtensions.AppendActionFailure(this IList<ActionFailure> actionFailures, Exception exception, string sessionName, ILogger logger, string actionType, string actionRuntimeName, string? actionProtocol = null)

Kind function

Declaring Type SessionExtensions (extension type)

Source File QaaS.Runner.Sessions/Extensions/SessionExtensions.cs

Signature

public static void AppendActionFailure(this IList<ActionFailure> actionFailures, Exception exception, string sessionName, ILogger logger, string actionType, string actionRuntimeName, string? actionProtocol = null)

Docstring

Appends a failed action to the action failure list, and logs accordingly.