コード例 #1
0
 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);
 }
コード例 #2
0
 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);
 }