示例#1
0
        public void RegistDynamicProperty(Name propertyName, DynamicPropertyCalculator_T5 surrogate)
        {
            if (surrogate == null)
            {
                throw new ArgumentNullException(nameof(surrogate));
            }

            internal_RegistDynamicProperty(propertyName, surrogate.Method,
                                           (context, args) => surrogate(context, args[0], args[1], args[2], args[3], args[4]));
        }
示例#2
0
 public void RegistDynamicProperty(Name propertyName, string description, DynamicPropertyCalculator_T5 surrogate)
 {
     _registry.RegistDynamicProperty(propertyName, description, surrogate);
 }
示例#3
0
 public void RegistDynamicProperty(Name propertyName, DynamicPropertyCalculator_T5 surrogate)
 {
     _registry.RegistDynamicProperty(propertyName, surrogate);
 }