C# Class ExoRule.Validation.OwnerRule

Marks an instance as pending delete when a property considered to be the owner is set to null.
Inheritance: PropertyRule
Afficher le fichier Open project: vc3/ExoRule

Méthodes publiques

Méthode Description
OwnerRule ( string rootType, string property ) : System
OwnerRule ( string rootType, string property, RuleInvocationType invocationTypes ) : System

Méthodes protégées

Méthode Description
ConditionApplies ( ModelInstance root ) : bool
OnInvoke ( ModelInstance root, ModelEvent modelEvent ) : void

Method Details

ConditionApplies() protected méthode

protected ConditionApplies ( ModelInstance root ) : bool
root ModelInstance
Résultat bool

OnInvoke() protected méthode

protected OnInvoke ( ModelInstance root, ModelEvent modelEvent ) : void
root ModelInstance
modelEvent ExoModel.ModelEvent
Résultat void

OwnerRule() public méthode

public OwnerRule ( string rootType, string property ) : System
rootType string
property string
Résultat System

OwnerRule() public méthode

public OwnerRule ( string rootType, string property, RuleInvocationType invocationTypes ) : System
rootType string
property string
invocationTypes RuleInvocationType
Résultat System