Click or drag to resize

IAnalysisModelServiceUpdate Method

[This is preliminary documentation and is subject to change.]

Update an existing IAnalysisObject in an AnalysisModel

Namespace:  ModelExchanger.AnalysisDataModel.Contracts
Assembly:  ModelExchanger.AnalysisDataModel.Contracts (in ModelExchanger.AnalysisDataModel.Contracts.dll) Version: 1.13.0+Branch.master.Sha.d583fc64569355d188a9c0818d257b6d0d3e1339
Syntax
C#
bool Update(
	AnalysisModel model,
	IAnalysisObject analysisObject,
	IObjectIdentifier identifier = null
)

Parameters

model
Type: ModelExchanger.AnalysisDataModel.ModelsAnalysisModel
The AnalysisModel in which the provided IAnalysisObject needs to be updated
analysisObject
Type: ModelExchanger.AnalysisDataModelIAnalysisObject
The IAnalysisObject to be updated in the provided AnalysisModel
identifier (Optional)
Type: CSInfrastructure.FluentValidationIObjectIdentifier
An optional IObjectIdentifier implementation that allows identification of objects across modules. Used primarily to compose validation warning or error messages

Return Value

Type: Boolean
True if the updated object passed validation, false otherwise.
See Also