public PythonCodeCompletionDataCore(string text, string stub, bool isInstance, ExternalCodeCompletionType completionType, IExternalCodeCompletionProviderCore providerCore) { Text = text; Stub = stub; IsInstance = isInstance; provider = providerCore; CompletionType = completionType; }
internal SharedCompletionProvider(string versionName, string dynamoCoreDir) { var matchingCore = FindMatchingCodeCompletionCore(versionName, this.AsLogger()); if (matchingCore != null) { this.providerImplementation = matchingCore; this.providerImplementation.Initialize(dynamoCoreDir); if (providerImplementation is ILogSource) { (providerImplementation as ILogSource).MessageLogged += this.Log; } } }
internal SharedCompletionProvider(PythonEngineVersion version, string dynamoCoreDir) { var versionName = Enum.GetName(typeof(PythonEngineVersion), version); var matchingCore = FindMatchingCodeCompletionCore(versionName, this.AsLogger()); if (matchingCore != null) { this.providerImplementation = matchingCore; this.providerImplementation.Initialize(dynamoCoreDir); if (providerImplementation is ILogSource) { (providerImplementation as ILogSource).MessageLogged += this.Log; } } }
public IronPythonCodeCompletionDataCore(string text, string stub, bool isInstance, ExternalCodeCompletionType completionType, IExternalCodeCompletionProviderCore providerCore) : base(text, stub, isInstance, completionType, providerCore) { }