Click or drag to resize

IAnalysisModelService Interface

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

Service to interact with an AnalysisModel. Defines CRUD operations along with validation

Namespace:  ModelExchanger.AnalysisDataModel.Contracts
Assembly:  ModelExchanger.AnalysisDataModel.Contracts (in ModelExchanger.AnalysisDataModel.Contracts.dll) Version: 1.13.0+Branch.master.Sha.d583fc64569355d188a9c0818d257b6d0d3e1339
public interface IAnalysisModelService

The IAnalysisModelService type exposes the following members.

Public methodAddItemsToModel
Adds a collection of IAnalysisObject to an AnalysisModel
Public methodAddItemToModel
Public methodAddOrUpdate
Add or update an IAnalysisObject depending on the state of the object in the AnalysisModel. If the IAnalysisObject does not exist, it is added. Otherwise it will be updated.
Public methodRemoveItemFromModel
Remove an IAnalysisObject from an AnalysisModel. An exception will be raised if the IAnalysisObject is being referenced by another IAnalysisObject
Public methodUpdate
Update an existing IAnalysisObject in an AnalysisModel
Public methodValidateModel
Validate an entire AnalysisModel
See Also