Example #1
0
 public PropertyInfo(string name, JsTypeFunction propertyType, MethodInfo getMethod, MethodInfo setMethod, ParameterInfo[] indexParameters, Attribute[] attributes) : base(name, attributes)
 {
     this.propertyType    = propertyType;
     this.getMethod       = getMethod;
     this.setMethod       = setMethod;
     this.indexParameters = indexParameters;
 }
Example #2
0
 public ParameterInfo(string name, JsTypeFunction type, int position, ParameterAttributes parameterAttributes, object defaultValue, Attribute[] attributes)
 {
     this.name                = name;
     this.type                = type;
     this.position            = position;
     this.parameterAttributes = parameterAttributes;
     this.defaultValue        = defaultValue;
     this.attributes          = attributes;
 }
Example #3
0
 /// <summary>
 /// Initializes a new instance of the <see cref="T:System.Reflection.MethodInfo"/> class.
 /// </summary>
 public MethodInfo(string name, JsFunction jsMethod, ParameterInfo[] parameters, JsTypeFunction returnType, MethodAttributes methodAttributes, Attribute[] attributes) : base(name, parameters, methodAttributes, attributes)
 {
     this.jsMethod   = jsMethod;
     this.returnType = returnType;
 }
Example #4
0
 public FieldInfo(string name, JsTypeFunction fieldType, FieldAttributes fieldAttributes, object constantValue, Attribute[] attributes) : base(name, attributes)
 {
     this.fieldType       = fieldType;
     this.fieldAttributes = fieldAttributes;
     this.constantValue   = constantValue;
 }