Esempio n. 1
0
		private IReflectConstructor[] GetDeclaredConstructors()
		{
			ConstructorInfo[] constructors = _type.GetConstructors(BindingFlags.Instance | BindingFlags.NonPublic | BindingFlags.Public);
			IReflectConstructor[] reflectors = new IReflectConstructor[constructors.Length];
			for (int i = 0; i < constructors.Length; i++)
			{
				reflectors[i] = new NetConstructor(_reflector, constructors[i]);
			}
			return reflectors;
		}
Esempio n. 2
0
 private IReflectConstructor[] GetDeclaredConstructors()
 {
     ConstructorInfo[]     constructors = _type.GetConstructors(BindingFlags.Instance | BindingFlags.NonPublic | BindingFlags.Public);
     IReflectConstructor[] reflectors   = new IReflectConstructor[constructors.Length];
     for (int i = 0; i < constructors.Length; i++)
     {
         reflectors[i] = new NetConstructor(_reflector, constructors[i]);
     }
     return(reflectors);
 }