Click or drag to resize

SparkApiEventArgsT Class

Represents the Spark SDK api event args.
Inheritance Hierarchy
SystemObject
  SystemEventArgs
    SparkSDKSparkApiEventArgs
      SparkSDKSparkApiEventArgsT

Namespace:  SparkSDK
Assembly:  SparkSDK (in SparkSDK.dll) Version: 0.1.0.0 (0.1.0.0)
Syntax
C#
public sealed class SparkApiEventArgs<T> : SparkApiEventArgs

Type Parameters

T

The SparkApiEventArgsT type exposes the following members.

Constructors
  NameDescription
Public methodSparkApiEventArgsT
Initializes a new instance of the SparkApiEventArgsT class.
Public methodSparkApiEventArgsT(Boolean, SparkError, T)
Initializes a new instance of the SparkApiEventArgsT class.
Top
Properties
  NameDescription
Public propertyData
Gets the data, if the success is true, otherwise is default value of T type. The type of data is T.
Public propertyError
Gets the error value, if the success is false, otherwise is null. SparkError
(Inherited from SparkApiEventArgs.)
Public propertyIsSuccess
Gets a value indicating whether this event is success.
(Inherited from SparkApiEventArgs.)
Top
Remarks
Since: 0.1.0
See Also