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 }); }
public Forkable(ForkableType forkableType) { Value = forkableType; Processor = typeof(IForkProcessor); }