Show / Hide Table of Contents

Class WorkerResult<T>

Encapsulates the result of a background working process.

Inheritance
System.Object
WorkerResult<T>
WorkerResult
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: Sartorius.SAF.Threading
Assembly: Sartorius.SAF.dll
Syntax
public class WorkerResult<T>
Type Parameters
Name Description
T

The result type.

Constructors

View Source

WorkerResult(T, Exception)

Initializes a new instance of the WorkerResult class.

Declaration
public WorkerResult(T result, Exception exception = null)
Parameters
Type Name Description
T result

The result.

System.Exception exception

The occured exception.

Properties

View Source

Exception

Gets the Exception.

Declaration
public Exception Exception { get; }
Property Value
Type Description
System.Exception
View Source

Result

Gets the result.

Declaration
public T Result { get; }
Property Value
Type Description
T

Extension Methods

CollectionExtensions.AddRange<T, TCollection>(TCollection, IEnumerable<T>)
SerializableObjectCloneExtension.Clone<T>(T)
  • View Source
Back to top Generated by DocFX