Show / Hide Table of Contents

Class ISafeBlockingTaskInheritorExtensions

Inheritance
object
ISafeBlockingTaskInheritorExtensions
Inherited Members
object.ToString()
object.Equals(object)
object.Equals(object, object)
object.ReferenceEquals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
Namespace: SuperOffice.Threading
Assembly: SoCore.dll
Syntax
public static class ISafeBlockingTaskInheritorExtensions

Methods

InheritValues(IEnumerable<ISafeBlockingTaskInheritor>)

Helper method both collecting values from a aset of ISafeBlockingTaskInheritor and resets it, so a clean context can be applied to preseding code block.

Declaration
public static List<IDisposable> InheritValues(this IEnumerable<ISafeBlockingTaskInheritor> inheritors)
Parameters
Type Name Description
IEnumerable<ISafeBlockingTaskInheritor> inheritors
Returns
Type Description
List<IDisposable>

List of disposable objects, where disposing reverts state to state as of before values were inherited

© SuperOffice. All rights reserved.
SuperOffice |  Community |  Release Notes |  Privacy |  Site feedback |  Search Docs |  About Docs |  Contribute |  Back to top