Show / Hide Table of Contents

Class WorkerResult<T>

Encapsulates the result of a background working process.

Inheritance
object
WorkerResult<T>
WorkerResult
object.Equals(object)
object.Equals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
object.ReferenceEquals(object, object)
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.

Exception exception

The occured exception.

Properties

View Source

Exception

Gets the Exception.

Declaration
public Exception Exception { get; }
Property Value
Type Description
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