LuciadCPillar C# 2026.1.02
Loading...
Searching...
No Matches
Luciad.Models.Features.IFeatureUpdaterCallback Interface Reference

This callback is used by IFeatureModelUpdater to give feedback on whether the feature update was successful or not. More...

Public Member Functions

void OnFailure (Luciad.Models.Features.FeatureChange change, Luciad.ErrorInfo errorInfo)
 Called by IFeatureModelUpdater.Update when a feature change could not be applied successfully.
void OnFeatureAdded (Luciad.Models.Features.FeatureChange change, Luciad.Models.Features.Feature addedFeature)
 Called by IFeatureModelUpdater.Update whenever a feature was added the model.
void OnFeatureRemoved (Luciad.Models.Features.FeatureChange change)
 Called by IFeatureModelUpdater.Update whenever a feature was removed.
void OnFeatureUpdated (Luciad.Models.Features.FeatureChange change)
 Called by IFeatureModelUpdater.Update whenever a feature was updated.

Detailed Description

This callback is used by IFeatureModelUpdater to give feedback on whether the feature update was successful or not.

Since
2020.1

Member Function Documentation

◆ OnFailure()

void Luciad.Models.Features.IFeatureUpdaterCallback.OnFailure ( Luciad.Models.Features.FeatureChange change,
Luciad.ErrorInfo errorInfo )

Called by IFeatureModelUpdater.Update when a feature change could not be applied successfully.

Parameters
changethe change that was used in the IFeatureModelUpdater.Update.
errorInfoadditional information about the failure

◆ OnFeatureAdded()

void Luciad.Models.Features.IFeatureUpdaterCallback.OnFeatureAdded ( Luciad.Models.Features.FeatureChange change,
Luciad.Models.Features.Feature addedFeature )

Called by IFeatureModelUpdater.Update whenever a feature was added the model.

Parameters
changethe change that was used in the IFeatureModelUpdater.Update.
addedFeaturethe newly added Feature. This Feature must have an Feature.Builder.Id.

◆ OnFeatureRemoved()

void Luciad.Models.Features.IFeatureUpdaterCallback.OnFeatureRemoved ( Luciad.Models.Features.FeatureChange change)

Called by IFeatureModelUpdater.Update whenever a feature was removed.

Parameters
changethe change that was used in the IFeatureModelUpdater.Update.

◆ OnFeatureUpdated()

void Luciad.Models.Features.IFeatureUpdaterCallback.OnFeatureUpdated ( Luciad.Models.Features.FeatureChange change)

Called by IFeatureModelUpdater.Update whenever a feature was updated.

Parameters
changethe change that was used in the IFeatureModelUpdater.Update.