Table of Contents

Struct SystemBatch

Namespace
KeenEyes
Assembly
KeenEyes.Core.dll

Represents a batch of systems that can execute in parallel.

public readonly record struct SystemBatch : IEquatable<SystemBatch>
Implements
Inherited Members

Constructors

SystemBatch(IReadOnlyList<ISystem>)

Represents a batch of systems that can execute in parallel.

public SystemBatch(IReadOnlyList<ISystem> Systems)

Parameters

Systems IReadOnlyList<ISystem>

The systems in this batch.

Properties

Count

Gets the number of systems in this batch.

public int Count { get; }

Property Value

int

IsParallelizable

Gets whether this batch can be parallelized (has more than one system).

public bool IsParallelizable { get; }

Property Value

bool

Systems

The systems in this batch.

public IReadOnlyList<ISystem> Systems { get; init; }

Property Value

IReadOnlyList<ISystem>