Class PythonFunctionIntellisenseService
Last update: 16.07.2025Namespace: VM.Models.Pre
Assembly: VM.Models.Pre.dll
This class represents the service for supporting intellisense of user defined python code
public static class PythonFunctionIntellisenseService
Inheritance
object ← PythonFunctionIntellisenseService
Extension Methods
LinkPropertyItemCache.GetLinkProperties(object, LinkPropertyType), LinkPropertyItemCache.GetLinkPropertiesAndValues(object, LinkPropertyType), LinkPropertyItemCache.GetLinkedObjects<T>(object, LinkPropertyType)
Fields
OnUpdatePythonModule
Raised when user defined python module is updated
public static EventHandler OnUpdatePythonModule
Field Value
Methods
GetImportStrings(IDocument, bool)
Gets python herder string to import user defined puthon codes.
public static IEnumerable<string> GetImportStrings(IDocument document, bool includeAddToPathCommand = false)
Parameters
document IDocument
The
includeAddToPathCommand bool
if true, include command to add path of module directory.
Returns
The header strings.
GetModulePath(IDocument)
Gets the path to the reorganized user defined python module
public static string GetModulePath(IDocument document)
Parameters
document IDocument
The
Returns
The path to the reorganized user defined python module.
IsRegistered(IDocument)
public static bool IsRegistered(IDocument document)
Parameters
document IDocument
Returns
Register(IDocument)
Register the
public static void Register(IDocument document)
Parameters
document IDocument
the
Exceptions
Raised when document is null.