Class OperationResult
Encapsulates the result of an operation.
Inheritance
System.Object
System.Dynamic.DynamicObject
OperationResult
Implements
System.Dynamic.IDynamicMetaObjectProvider
System.ComponentModel.INotifyPropertyChanged
Inherited Members
System.Dynamic.DynamicObject.GetMetaObject(System.Linq.Expressions.Expression)
System.Dynamic.DynamicObject.TryBinaryOperation(System.Dynamic.BinaryOperationBinder, System.Object, System.Object)
System.Dynamic.DynamicObject.TryConvert(System.Dynamic.ConvertBinder, System.Object)
System.Dynamic.DynamicObject.TryCreateInstance(System.Dynamic.CreateInstanceBinder, System.Object[], System.Object)
System.Dynamic.DynamicObject.TryDeleteIndex(System.Dynamic.DeleteIndexBinder, System.Object[])
System.Dynamic.DynamicObject.TryDeleteMember(System.Dynamic.DeleteMemberBinder)
System.Dynamic.DynamicObject.TryGetIndex(System.Dynamic.GetIndexBinder, System.Object[], System.Object)
System.Dynamic.DynamicObject.TryInvoke(System.Dynamic.InvokeBinder, System.Object[], System.Object)
System.Dynamic.DynamicObject.TrySetIndex(System.Dynamic.SetIndexBinder, System.Object[], System.Object)
System.Dynamic.DynamicObject.TryUnaryOperation(System.Dynamic.UnaryOperationBinder, System.Object)
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: Kephas.Operations
Assembly: Kephas.Core.dll
Syntax
public class OperationResult : Expando, IOperationResult, IExpando, IDynamicMetaObjectProvider, IIndexable, INotifyPropertyChanged
Constructors
| Improve this Doc View SourceOperationResult()
Initializes a new instance of the OperationResult class.
Declaration
public OperationResult()
Properties
| Improve this Doc View SourceElapsed
Gets or sets the elapsed time.
Declaration
public TimeSpan Elapsed { get; set; }
Property Value
Type | Description |
---|---|
System.TimeSpan | The elapsed time. |
Exceptions
Gets the exceptions.
Declaration
public ICollection<Exception> Exceptions { get; }
Property Value
Type | Description |
---|---|
System.Collections.Generic.ICollection<System.Exception> | The exceptions. |
Messages
Gets or sets the message.
Declaration
public ICollection<IOperationMessage> Messages { get; set; }
Property Value
Type | Description |
---|---|
System.Collections.Generic.ICollection<IOperationMessage> | The message. |
OperationState
Gets or sets the state of the operation.
Declaration
public OperationState OperationState { get; set; }
Property Value
Type | Description |
---|---|
OperationState | The state of the operation. |
PercentCompleted
Gets or sets the percent completed.
Declaration
public float PercentCompleted { get; set; }
Property Value
Type | Description |
---|---|
System.Single | The percent completed. |
ReturnValue
Gets or sets the return value.
Declaration
public object ReturnValue { get; set; }
Property Value
Type | Description |
---|---|
System.Object | The return value. |
Methods
| Improve this Doc View SourceOnPropertyChanged(String)
Called when [property changed].
Declaration
protected virtual void OnPropertyChanged(string propertyName)
Parameters
Type | Name | Description |
---|---|---|
System.String | propertyName | Name of the property. |
Events
| Improve this Doc View SourcePropertyChanged
Occurs when a property value changes.
Declaration
public event PropertyChangedEventHandler PropertyChanged
Event Type
Type | Description |
---|---|
System.ComponentModel.PropertyChangedEventHandler |
Implements
System.Dynamic.IDynamicMetaObjectProvider
System.ComponentModel.INotifyPropertyChanged