Пример #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]);
 }
Пример #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]);
     }
 }
Пример #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;
 }
Пример #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;
 }