Click or drag to resize

ResultT Class

Return a future result value from a C# coroutine (IEnumerable method).
Inheritance Hierarchy
SystemObject
  Demo3D.EventQueueResult
    Demo3D.NativeResultT

Namespace: Demo3D.Native
Assembly: Demo3D.Core (in Demo3D.Core.dll) Version: 19.00.00
Syntax
C#
public class Result<T> : Result

Type Parameters

T
The type of the future value.

The ResultT type exposes the following members.

Constructors
 NameDescription
Public methodResultTInitializes a new instance of the ResultT class
Top
Properties
 NameDescription
Public propertyHasValue Has the future value been set yet.
(Inherited from Result)
Public propertyIsCancelled Was the future result value canceled. This may have been due to an exception in the task that was populating the future result value.
(Inherited from Result)
Public propertyValue The future value.
Top
Methods
 NameDescription
Public methodToString A string version of the value.
(Inherited from Result)
Top
Operators
 NameDescription
Public operatorStatic member(ResultT to T) Implicit conversion from Result.Value to value.
Top
See Also