Project Class
Represents a Python
project.
public class Project : IProject
- Inheritance:
- Object Object
- Implements:
- IProject
Constructors
Project(PythonVersion)
Initializes a new instance of the Project
class.
public Project(PythonVersion version)
Parameter | Type | Description |
---|---|---|
version | PythonVersion | The PythonVersion to use for parsing. |
Properties
ActiveModules
Gets the collection of active modules in this project.
public IActiveModuleCollection ActiveModules { get; }
Property Value
- IActiveModuleCollection:
The collection of active modules in this project.
Resolver
Gets the IResolver to use for this project.
SearchPaths
Gets the list of paths (in priority order) to search when looking for packages.
public IList<string> SearchPaths { get; }
Property Value
Version
Gets the PythonVersion used to parse packages.
public PythonVersion Version { get; }
Property Value
- PythonVersion:
The PythonVersion used to parse packages.