GetFactory() 정적인 개인적인 메소드

static private GetFactory ( Type type ) : InstructionFactory
type System.Type
리턴 InstructionFactory
예제 #1
0
        public void EmitSetArrayItem(Type arrayType)
        {
            Type elementType = arrayType.GetElementType();

            if (elementType.IsClass || elementType.IsInterface)
            {
                Emit(InstructionFactory <object> .Factory.SetArrayItem());
            }
            else
            {
                Emit(InstructionFactory.GetFactory(elementType).SetArrayItem());
            }
        }
예제 #2
0
 public void EmitTypeIs(Type type)
 {
     Emit(InstructionFactory.GetFactory(type).TypeIs());
 }
예제 #3
0
 public void EmitDefaultValue(Type type)
 {
     Emit(InstructionFactory.GetFactory(type).DefaultValue());
 }
예제 #4
0
 public void EmitNewArrayInit(Type elementType, int elementCount)
 {
     Emit(InstructionFactory.GetFactory(elementType).NewArrayInit(elementCount));
 }
예제 #5
0
 public void EmitNewArray(Type elementType)
 {
     Emit(InstructionFactory.GetFactory(elementType).NewArray());
 }
예제 #6
0
 public void EmitWrap(Type elementType)
 {
     Emit(InstructionFactory.GetFactory(elementType).WrapToNullable(elementType));
 }