Extension Methods: Session¶
TL;DR — This page mirrors the
Sessionsection from Extension Methods as a focused reference.
When to use¶
Use this page when you need the focused member list, signatures, and source notes for this section without scanning the full parent reference.
C# (CAC) usage¶
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.
Edge cases¶
- This page is generated from the parent reference section; edit the source XML docs or generator when content needs to change.
- If a linked source member is renamed, regenerate the reference docs before changing prose by hand.