/// <summary> /// Initializes a new instance of the <see cref="Function"/> class. /// </summary> /// <param name="info">The info.</param> /// <param name="threadPool">The thread pool.</param> public Function(MethodInfo info, IThreadPool threadPool) : base(info, threadPool) { _theDelegate = DelegateFactory.Create <DelegateFactory.LateBoundFunc>(info); }
internal Function(MethodInfo info) : base(info) { theDelegate = DelegateFactory.Create<DelegateFactory.LateBoundFunc>(info); }
/// <summary> /// Initializes a new instance of the <see cref="Function"/> class. /// </summary> /// <param name="info">The info.</param> /// <param name="threadPool">The thread pool.</param> public Function(MethodInfo info, IThreadPool threadPool) : base(info, threadPool) { _theDelegate = DelegateFactory.Create<DelegateFactory.LateBoundFunc>(info); }
internal Function(MethodInfo info) : base(info) { theDelegate = DelegateFactory.Create <DelegateFactory.LateBoundFunc>(info); }