Represents the result of a service operation for a given entity.
InheritanceSystem.Object
Namespace: Umbraco.Cms.Core.Services Assembly: Umbraco.Core.dll Syntaxpublic class OperationResult<TResultType, TEntity> : OperationResult<TResultType> where TResultType : struct
Type Parameters Name Description TResultType
The type of the result type.
TEntityThe type of the entity.
Constructors View Source OperationResult(TResultType, EventMessages)Initializes a new instance of the OperationResult<TResultType, TEntity> class.
Declarationpublic OperationResult(TResultType result, EventMessages eventMessages)
Parameters Type Name Description TResultType result
The status of the operation.
EventMessages eventMessagesEvent messages produced by the operation.
View Source OperationResult(TResultType, EventMessages, TEntity)Initializes a new instance of the OperationResult<TResultType, TEntity> class.
Declarationpublic OperationResult(TResultType result, EventMessages eventMessages, TEntity entity)
Parameters Type Name Description TResultType result EventMessages eventMessages TEntity entity Properties View Source Entity
Gets the entity.
Declarationpublic TEntity Entity { get; }
Property Value
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