Represents the result of a service operation.
InheritanceSystem.Object
Namespace: Umbraco.Cms.Core.Services Assembly: Umbraco.Core.dll Syntaxpublic class OperationResult<TResultType>
where TResultType : struct
Type Parameters Name Description TResultType
The type of the result type.
Constructors View Source OperationResult(TResultType, EventMessages)Initializes a new instance of the OperationResult<TResultType> class.
Declarationpublic OperationResult(TResultType result, EventMessages eventMessages)
Parameters Type Name Description TResultType result EventMessages eventMessages Properties View Source EventMessages
Gets the event messages produced by the operation.
Declarationpublic EventMessages EventMessages { get; }
Property Value View Source Result
Gets the result of the operation.
Declarationpublic TResultType Result { get; }
Property Value Type Description TResultType View Source Success
Gets a value indicating whether the operation was successful.
Declarationpublic bool Success { get; }
Property Value Type Description System.Boolean
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4