Exemplo n.º 1
0
 public SimpleConstructorInfo(Type declaringType, Type[] parameterTypes)
 {
     this.declaringType = declaringType;
     parameters = new SimpleParameterInfo[parameterTypes.Length];
     for (var i = 0; i < parameterTypes.Length; i++)
         parameters[i] = new SimpleParameterInfo(parameterTypes[i]);
 }
Exemplo n.º 2
0
 public SimpleConstructorInfo(Type declaringType, Type[] parameterTypes)
 {
     this.declaringType = declaringType;
     parameters         = new SimpleParameterInfo[parameterTypes.Length];
     for (var i = 0; i < parameterTypes.Length; i++)
     {
         parameters[i] = new SimpleParameterInfo(parameterTypes[i]);
     }
 }
Exemplo n.º 3
0
 public SimpleMethodInfo(bool isStatic, string name, Type declaringType, Type[] parameterTypes, Type returnType)
 {
     this.isStatic = isStatic;
     this.name = name;
     this.declaringType = declaringType;
     parameters = new SimpleParameterInfo[parameterTypes.Length];
     for (var i = 0; i < parameterTypes.Length; i++)
         parameters[i] = new SimpleParameterInfo(parameterTypes[i]);
     this.returnType = returnType;
 }
Exemplo n.º 4
0
 public SimpleMethodInfo(bool isStatic, string name, Type declaringType, Type[] parameterTypes, Type returnType)
 {
     this.isStatic      = isStatic;
     this.name          = name;
     this.declaringType = declaringType;
     parameters         = new SimpleParameterInfo[parameterTypes.Length];
     for (var i = 0; i < parameterTypes.Length; i++)
     {
         parameters[i] = new SimpleParameterInfo(parameterTypes[i]);
     }
     this.returnType = returnType;
 }