Esempio n. 1
0
 internal ObjectInstance(ObjectDefinition objectDefinition, Object parentObject)
 {
     this.ObjectDefinition = objectDefinition;
     this.ParentObject     = parentObject;
     PropertyValues        = new PropertyValueDictionary(this);
 }
Esempio n. 2
0
 public IEnumerable <RuleViolation> GetRuleViolations()
 {
     return(ObjectDefinition.GetRuleViolations(this));
 }
Esempio n. 3
0
 public Boolean ValidateProperties()
 {
     return(ObjectDefinition.ValidateProperties(this));
 }
Esempio n. 4
0
 public Boolean Validate(out List <RuleViolation> ruleViolations)
 {
     return(ObjectDefinition.Validate(this, out ruleViolations));
 }
Esempio n. 5
0
 public Boolean Validate()
 {
     return(ObjectDefinition.Validate(this));
 }