Click or drag to resize
PromiseT Class
A promise.
Inheritance Hierarchy
SystemObject
  FM.IceLinkFutureBaseT
    FM.IceLinkFutureT
      FM.IceLinkPromiseBaseT
        FM.IceLinkPromiseT

Namespace: FM.IceLink
Assembly: FM.IceLink (in FM.IceLink.dll) Version: 3.0.3.0 (3.0.3.0)

The PromiseT type exposes the following members.

Constructors
  NameDescription
Public methodPromiseT
Initializes a new instance of the PromiseT class
Top
Properties
Methods
  NameDescription
Public methodEquals
Determines whether the specified Object is equal to the current Object.
(Inherited from Object.)
Public methodFail
Appends a handler to be executed when the promise is rejected.
(Overrides FutureTFail(Action1Exception).)
Protected methodFinalize
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object.)
Public methodGetHashCode
Serves as a hash function for a particular type.
(Inherited from Object.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Protected methodProcess
Processes the specified promise.
(Inherited from PromiseBaseT.)
Public methodReject
Rejects the promise.
(Inherited from PromiseBaseT.)
Public methodResolve
Resolves the promise.
(Inherited from PromiseBaseT.)
Public methodThen(Action1T)
Appends a handler to be executed when the promise is resolved.
(Overrides FutureTThen(Action1T).)
Public methodThen(Action1T, Action1Exception)
Appends handlers to be executed when the promise is resolved or rejected.
(Overrides FutureTThen(Action1T, Action1Exception).)
Public methodThenR(Function1T, FutureR)
Appends a handler to be executed when the promise is resolved.
(Inherited from FutureT.)
Public methodThenR(Function1T, FutureR)
Appends a handler to be executed when the promise is resolved.
(Overrides FutureTThenR(Function1T, FutureR).)
Public methodThenR(Function1T, FutureR, Action1Exception)
Appends handlers to be executed when the promise is resolved or rejected.
(Inherited from FutureT.)
Public methodThenR(Function1T, FutureR, Action1Exception)
Appends handlers to be executed when the promise is resolved or rejected.
(Overrides FutureTThenR(Function1T, FutureR, Action1Exception).)
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
Public methodWaitForResult
Blocks the current thread from proceeding until the future has a result. Throws an exception if the promise is rejected.
(Inherited from FutureT.)
Public methodStatic memberWrap(Action0)
Creates a promise and resolves it after invoking a callback action, or rejects it if an exception is thrown.
Public methodStatic memberWrapR(Function0R)
Creates a promise and resolves it using the result from a callback function, or rejects it if an exception is thrown.
Public methodStatic memberWrapAsync(Action0)
Creates a promise and resolves it after invoking a callback action, or rejects it if an exception is thrown. The callback is always dispatched to the background.
Public methodStatic memberWrapAsyncR(Function0R)
Creates a promise and resolves it using the result from a callback function, or rejects it if an exception is thrown. The callback is always dispatched to the background.
Top
See Also