예제 #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;
		}
예제 #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);
 }