Click or drag to resize

Result Class

Return class for methods or exceptions.
Inheritance Hierarchy
SystemObject
  SICResult

Namespace:  SIC
Assembly:  SIC (in SIC.dll) Version: 19.1.23.1 (19.1.23.622)
Syntax
public class Result

The Result type exposes the following members.

Constructors
  NameDescription
Public methodResult(Object, String)
This Constructor sets the result as successful
Public methodResult(Exception, Object, String, String)
This Constructor set property depending on parameter
Top
Properties
  NameDescription
Public propertyCallStack
List of method call. List generated when triggered an exception (by method SetCallStack)
Public propertyDescription
Result description
Public propertyException
Exception object or null
Public propertyItem
Can use as data item or other data object
Public propertyValidation
List of exception validation with property and message
Top
Methods
  NameDescription
Public methodEquals
Determines whether the specified Object is equal to the current Object.
(Inherited from Object.)
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.)
Private methodStatic memberGetCallStackList
Gives a list of CallStackItem
Private methodStatic memberGetCallStackText
Gives protocol text from call stack
Private methodStatic memberGetExceptionText
Gives text from Exception
Public methodGetHashCode
Serves as a hash function for a particular type.
(Inherited from Object.)
Private methodStatic memberGetItemText
Gives protocol text from data item
Private methodStatic memberGetPropertyValue
Get property value of 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.)
Private methodSetResultSuccessful
Set Result properties as Status = successful
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
Top
Extension Methods
  NameDescription
Public Extension MethodGetObjectToBytes
Convert an object to byte array
(Defined by Extensions.)
Public Extension MethodIsNumber
Check is value a number
(Defined by Convert.)
Public Extension MethodToHTMLDisplay(DataGrid, TempDataDictionary)Overloaded. (Defined by Extensions.)
Public Extension MethodCode exampleToHTMLDisplay(String, DataGridDataTypes, String, String, String, String, TempDataDictionary)Overloaded.
Gives HTML code for display.
(Defined by Extensions.)
Public Extension MethodToHTMLEditor(DataGrid, TempDataDictionary, String)Overloaded. (Defined by Extensions.)
Public Extension MethodToHTMLEditor(String, DataGridDataTypes, String, String, String, TempDataDictionary, Boolean, String, DataPlacements, String, String)Overloaded.
Gives HTML code for Input field
(Defined by Extensions.)
Public Extension MethodCode exampleToHTMLHidden(String)Overloaded.
Gives HTML code for hidden data
(Defined by Extensions.)
Public Extension MethodToHTMLHidden(DataGrid)Overloaded.
Gives HTML code for hidden data
(Defined by Extensions.)
Public Extension MethodXMLWrite
Gives XML string from data item
(Defined by Helper.)
Top
Remarks
Note: Parameter by reference when programming in C# has ref prefix
See Also

Reference