Ofcas.Lk.Api.Client - Version 3.0  3.0.0.101
Ofcas.Lk.Api.Client.Core.Interfaces.ICoreObjectWithInfo< out out TOwnInfo > Interface Template Reference

Represents a ICoreObject with an own info object. More...

Inheritance diagram for Ofcas.Lk.Api.Client.Core.Interfaces.ICoreObjectWithInfo< out out TOwnInfo >:
Ofcas.Lk.Api.Client.Core.Interfaces.ICoreObject

Public Member Functions

OperationInfo CanEdit (string key, object value)
 Checks whether Edit can be executed with given parameters. More...
 
TOwnInfo Edit (string key, object value)
 Edits this object with given parameters. More...
 
- Public Member Functions inherited from Ofcas.Lk.Api.Client.Core.Interfaces.ICoreObject
bool CanDispose ()
 Checks whether the ICoreInfo can be disposed. More...
 

Properties

TOwnInfo CoreInfo [get]
 The own info of this object. More...
 
- Properties inherited from Ofcas.Lk.Api.Client.Core.Interfaces.ICoreObject
Guid CoreObjectId [get]
 The unique identifier of this core object. More...
 

Detailed Description

Represents a ICoreObject with an own info object.

Template Parameters
TOwnInfoThe specifc type of the own info (base ICoreInfo).
Type Constraints
TOwnInfo :ICoreInfo 

Member Function Documentation

◆ CanEdit()

OperationInfo Ofcas.Lk.Api.Client.Core.Interfaces.ICoreObjectWithInfo< out out TOwnInfo >.CanEdit ( string  key,
object  value 
)

Checks whether Edit can be executed with given parameters.

Parameters
keyThe key of the value to be set.
valueThe value to be set.
Returns
Returns an OperationInfo which indicates if Edit can be executed.

◆ Edit()

TOwnInfo Ofcas.Lk.Api.Client.Core.Interfaces.ICoreObjectWithInfo< out out TOwnInfo >.Edit ( string  key,
object  value 
)

Edits this object with given parameters.

Parameters
keyThe key of the value to be set.
valueThe value to be set.
Returns
Returns the new info of this object.

Property Documentation

◆ CoreInfo

The own info of this object.


The documentation for this interface was generated from the following file: