Skip to main content
Namespace: VM.Models.Pre
Assembly: VM.Models.Pre.dll
This interface is to python code entity.

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.

Property Value

string

CodeType

The type of the python code.

Property Value

CodeTypes

DeployLocation

The location to deploy this code during analysis.

Property Value

string

ImportCommand

The import command for using this code in the IExpression. It must contain ‘$module$’ keyword.

Property Value

string

ImportModuleName

The module name for importing this code object

Property Value

string

UseDeployLocation

The flag whether using the DeployLocation value.

Property Value

bool

UseImportCommand

The flag whether using the ImportCommand value.

Property Value

bool

Methods

GetImportCommand()

Get actual import command

Returns

string The import command.