Example #1
0
 public ModelComputedAttribute(uint objectId, uint objectTypeId, string name, IDictionary<string, ModelAttribute> attributes, Func<IDictionary<string, ModelAttribute>, float> calculateValueFunction)
     : base(objectId, objectTypeId, name)
 {
     this.attributes = attributes.RequireNotNull("attributes");
     this.calculateValueFunction = calculateValueFunction.RequireNotNull("calculateValueFunction");
 }