Gorgon
Show / Hide Table of Contents

Struct ProgressData

Value type used to relay progress back to a subscriber.

Inherited Members
ValueType.Equals(object)
ValueType.GetHashCode()
ValueType.ToString()
object.Equals(object, object)
object.ReferenceEquals(object, object)
object.GetType()
Namespace: Gorgon.Editor.Services
Assembly: Gorgon.Editor.API.dll
Syntax
public readonly struct ProgressData

Constructors

| Edit this page View Source

ProgressData(int, int)

Initializes a new instance of the ProgressData struct.

Declaration
public ProgressData(int current, int total)
Parameters
Type Name Description
int current

The current item.

int total

The total number of items.

Fields

| Edit this page View Source

Current

The current value being processed.

Declaration
public readonly int Current
Field Value
Type Description
int
| Edit this page View Source

Total

The total number of items to process.

Declaration
public readonly int Total
Field Value
Type Description
int

Extension Methods

GorgonNullExtensions.AsNullable<T>(object)
GorgonNullExtensions.IfNull<T>(object, T)
GorgonNullExtensions.IsNull(object)
  • Edit this page
  • View Source
In this article
Back to top Copyright 2023 - Licensed under the MIT license by Michael Winsor (Tape_Worm).
Send comments on this topic to the author