Show / Hide Table of Contents

Class CommandResult<TResult>

Result of a command that may throw exception

Inheritance
System.Object
CommandResult<TResult>
Inherited Members
System.Object.ToString()
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
Namespace: Neutronium.BuildingBlocks.ApplicationTools
Assembly: Neutronium.BuildingBlocks.ApplicationTools.dll
Syntax
public class CommandResult<TResult>
Type Parameters
Name Description
TResult

Command result type

Constructors

| Improve this Doc View Source

CommandResult()

Declaration
public CommandResult()
| Improve this Doc View Source

CommandResult(TResult)

Declaration
public CommandResult(TResult result)
Parameters
Type Name Description
TResult result
| Improve this Doc View Source

CommandResult(Exception)

Declaration
public CommandResult(Exception exception)
Parameters
Type Name Description
System.Exception exception

Properties

| Improve this Doc View Source

Cancelled

Cancelled

Declaration
public bool Cancelled { get; }
Property Value
Type Description
System.Boolean
| Improve this Doc View Source

Exception

Exception if any

Declaration
public Exception Exception { get; }
Property Value
Type Description
System.Exception
| Improve this Doc View Source

HasError

HasError

Declaration
public bool HasError { get; }
Property Value
Type Description
System.Boolean
| Improve this Doc View Source

Result

Result

Declaration
public TResult Result { get; }
Property Value
Type Description
TResult
| Improve this Doc View Source

Success

Success

Declaration
public bool Success { get; }
Property Value
Type Description
System.Boolean
  • Improve this Doc
  • View Source
Back to top Generated by DocFX