mk.helpers
Search Results for

    Show / Hide Table of Contents

    Class ParallelHelper

    Provides utility methods for parallel execution using the Parallel.ForEach pattern.

    Inheritance
    object
    ParallelHelper
    Inherited Members
    object.Equals(object)
    object.Equals(object, object)
    object.GetHashCode()
    object.GetType()
    object.MemberwiseClone()
    object.ReferenceEquals(object, object)
    object.ToString()
    Namespace: mk.helpers
    Assembly: mk.helpers.dll
    Syntax
    public static class ParallelHelper

    Methods

    While(Func<bool>, ParallelOptions, Action)

    Executes the specified body action in parallel as long as the specified condition returns true.

    Declaration
    public static void While(Func<bool> condition, ParallelOptions options, Action body)
    Parameters
    Type Name Description
    Func<bool> condition

    A function that returns a boolean value indicating whether the loop should continue.

    ParallelOptions options

    The ParallelOptions that configure the parallel execution.

    Action body

    The action to be executed in parallel.

    In this article
    Back to top mk.helpers - MIT License