Show / Hide Table of Contents

Class Workload

A piece of work that can be executed.

Inheritance
object
Workload
Inherited Members
object.Equals(object)
object.Equals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
object.ReferenceEquals(object, object)
object.ToString()
Namespace: SpiceSharp.Components.ParallelComponents
Assembly: SpiceSharp.dll
Syntax
public class Workload

Constructors

Workload(IWorkDistributor, int)

Initializes a new instance of the Workload class.

Declaration
public Workload(IWorkDistributor distributor, int capacity)
Parameters
Type Name Description
IWorkDistributor distributor

The distributor.

int capacity

The initial capacity.

Properties

Actions

Gets the actions.

Declaration
public List<Action> Actions { get; }
Property Value
Type Description
List<Action>

The actions.

Methods

Execute()

Executes the work.

Declaration
public void Execute()

Extension Methods

Utility.ThrowIfNull<T>(T, string)
In this article
Back to top Generated by DocFX