Result Class
Assembly: PTS.Modules.ResultComponent.dll
Syntax
[Serializable]
public class Result : IResult
Inheritance
System.Object
Result
Constructors
Result()
Declaration
Result(IResult)
Declaration
public Result(IResult result)
Parameters
Type |
Name |
Description |
IResult |
result |
|
Result(ResultType)
Declaration
public Result(ResultType type)
Parameters
Result(ResultType, String)
Declaration
public Result(ResultType type, string message)
Parameters
Type |
Name |
Description |
ResultType |
type |
|
System.String |
message |
|
Result(Boolean)
Declaration
public Result(bool success)
Parameters
Type |
Name |
Description |
System.Boolean |
success |
|
Properties
Message
Declaration
public string Message { get; set; }
Property Value
Type |
Description |
System.String |
|
On
Declaration
public DateTime On { get; }
Property Value
Type |
Description |
System.DateTime |
|
Type
Declaration
public ResultType Type { get; set; }
Property Value
Methods
Add(IResult)
Declaration
public void Add(IResult other)
Parameters
Type |
Name |
Description |
IResult |
other |
|
Add(ResultType, String)
Declaration
public void Add(ResultType type, string message)
Parameters
Type |
Name |
Description |
ResultType |
type |
|
System.String |
message |
|
Error(String)
Declaration
public void Error(string message)
Parameters
Type |
Name |
Description |
System.String |
message |
|
Success(String)
Declaration
public void Success(string message)
Parameters
Type |
Name |
Description |
System.String |
message |
|
Implements
Inherited Members
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()
Extension Methods