예제 #1
0
        public ForkStateEntry(IThreadLocalCleanupBean tlBean, String fieldName, Object valueTL, ForkableType forkableType, IForkProcessor forkProcessor)
        {
            this.tlBean        = tlBean;
            this.fieldName     = fieldName;
            this.valueTL       = valueTL;
            this.forkableType  = forkableType;
            this.forkProcessor = forkProcessor;

            getValueMI = valueTL.GetType().GetMethod("get_Value");
            setValueMI = valueTL.GetType().GetMethod("set_Value", new Type[] { getValueMI.ReturnType });
        }
예제 #2
0
 public Forkable(ForkableType forkableType)
 {
     Value     = forkableType;
     Processor = typeof(IForkProcessor);
 }