public InternalFunctionPeekItem(string sourceFileName, Span sourceSpan, string functionName, IPeekResultFactory peekResultFactory, ICoreShell shell) : base(functionName, peekResultFactory, shell) { // Create source right away so it can start asynchronous function fetching // so by the time GetOrCreateResultSource is called the task may be already underway. _source = new InternalFunctionPeekResultSource(sourceFileName, sourceSpan, functionName, this, shell); }
public InternalFunctionPeekItem(string sourceFileName, Span sourceSpan, string functionName, IPeekResultFactory peekResultFactory, ICoreShell shell) : base(functionName, peekResultFactory, shell) { // Create source right away so it can start asynchronous function fetching // so by the time GetOrCreateResultSource is called the task may be already underway. _source = new InternalFunctionPeekResultSource(sourceFileName, sourceSpan, functionName, this, shell); }