Interface IPythonCode
Last update: 09.03.2026Namespace: VM.Models.Pre
Assembly: VM.Models.Pre.dll
This interface is to python code entity.
public interface IPythonCode : ISubEntity, IEntityBase, IObjectBase, IObject, ILinkContainer, IOwned, IHasID, IEventProvider, IHasKeyObject, IHasName, IEnabled, IHasComment
Implements
ISubEntity, IEntityBase, IObjectBase, IObject, ILinkContainer, IOwned, IHasID, IEventProvider, IHasKeyObject, IHasName, IEnabled, IHasComment
Extension Methods
LinkPropertyItemCache.GetLinkProperties(object, LinkPropertyType), LinkPropertyItemCache.GetLinkPropertiesAndValues(object, LinkPropertyType), LinkPropertyItemCache.GetLinkedObjects<T>(object, LinkPropertyType)
Properties
CodePath
Path to the code file.
string CodePath { get; set; }
Property Value
string
CodeType
The type of the python code.
CodeTypes CodeType { get; set; }
Property Value
DeployLocation
The location to deploy this code during analysis.
string DeployLocation { get; set; }
Property Value
string
ImportCommand
The import command for using this code in the
string ImportCommand { get; set; }
Property Value
string
ImportModuleName
The module name for importing this code object
string ImportModuleName { get; }
Property Value
string
UseDeployLocation
The flag whether using the
bool UseDeployLocation { get; set; }
Property Value
bool
UseImportCommand
The flag whether using the
bool UseImportCommand { get; set; }
Property Value
bool
Methods
GetImportCommand()
Get actual import command
string GetImportCommand()
Returns
string
The import command.