public ApiDescriptor(string name, PropertyInfo propInfo, Type type, JsExpression expression) { this.Name = name; this.PropInfo = propInfo; this.Type = type; expression.Freeze(); this.JsExpression = expression; }