JetBrains.Platform.ReSharper.ProjectModel
Global component that manages resolution of assembly references, i.e. mapping between assembly references
and assembly files in the file system
Common build settings for all projects
Copies the entire configuration
Project which the configuration belongs to
Name of the configuration
Output path of the configuration, i.e. path where output files are placed
Describes what happens with a project file during build
Returns the root directory of all include patterns
Common interface for and
Handy root interface for all object of ProjectModel
Retrieves the value of a property given the property's name
Indicates that the persistent version of the assembly is not found
Time of last modification of the corresponding file on the file system.
Note that this value is cached and is updated only when the synchronization with the file system is performed.
That is, the value returned by this method may sometimes differ from the actual modification stamp of the physical file,
if the file was modified since last synchronization with the file system.
Root interface for all objects associated with a project
Returns persistent ID of the project element. This ID remains valid between sessions,
but does not survive after renaming or moving the element.
Returns true if the project item is a member of a project hierarchy
Otherwise (e.g. the item or an its ancestor has been deleted), returns false
Gets or sets whether the indicator should be visible. Shows or hides the indicator with a delay, to avoid flickering.
Represents loaded resolved assembly reference.
Tries to find Windows SDK v6 or higher and returns the path to its Bin folder, or Null if not found.
Factory for constructing projects outside of solution
Base class for project item implementations
Interface to a project item. Project item is a member of a project's hierarchy
Returns true if the project item is linked to its parent folder. This means that the persistent version
of the item is not located in the persistent version of the parent folder.
Represents a file in a project
Marks the file as reconciled, i.e. its persistent and in-memory version are identical, by assigning its external version timestamp the same value as of the in-memory version
Marks the file as reconciled, i.e. its persistent and in-memory version are identical, by assigning its in-memory version timestamp the same value as of the external version
Create new read-only stream for this file
Don't forget to dispose it!
Creates new writable stream for this file
Don't forget to dispose it!
Language in which the file is written
Timestamp corresponding to the last in-memory modification
Equals to the LastExternalModificationStamp if the file has not been modified in memory
Timestamp corresponding to the last external modification
Time of last modification of the corresponding file on the file system.
Note that this value is cached and is updated only when the synchronization with the file system is performed.
That is, the value returned by this method may sometimes differ from the actual modification stamp of the physical file,
if the file was modified since last synchronization with the file system.
Checks if the persistent version of the file is writable
Checks if the persistent version of the file does not exist
Indicates that the persistent version of the file has changed externally since the last reconciliation
Indicates that the in-memory version of the file has changed since the last reconciliation
Propagates changes made to the project tree into the project file
Represents a folder in a project
Determines if the specified location matches the folder's include and exclude patterns
Adds specified file to the project
Path to the file being added
Reference to the new project item
Adds a directory to the project
Name of the directory being added
Reference to the new project item
Interface to a project
Opens a project
All assemblies referenced in the project
All projects referenced in the project
All assembly and project references
Retrieves module reference by the module name
It is assumed that the name uniquely identifies the module among referenced modules (both projects and assemblies)
Makes the project reference the specified module
Adds assembly with the specified name to the project's references
Adds the specified library to the project's references
Adds the specified project to the project's references
Removes the specified library from project's references
Removes the specified project from project's references. Does nothing if the project does not reference the specified project
Forces resolve of module references.
Should be invoked after changes that might affect reference resolution (e.g. ReferencePathProperty)
Returns project item, if any, at the given location
The platform to which the project is targeted
Language type of sources of the project
Returns project item representing the project file
Indicates whether the structure of the project or properties of its items can be modified
Gets the component whose interface type is .
Returns Null if there is no such component.
Gets the component whose interface type is .
Returns Null if there is no such component.
Gets image for project file
Get the image for the directory
Gets image for the assembly
Gets image for given project item
Register file image
Solution is a group of related projects
Raised when files are needed to make writable. The handlers of this event must ensure that the documents are
really writable.
Raised after an attempt to make some files writable.
Indicates that the structure of the solution, the properties of the solution and the properties of the solution items
can be modifed
Indicates if the solution has not been persisted
Indicates if the solution was opened
Returns if the solution is among the solutions in the SolutionManager
Gets the full path for the solution settings file, which includes the product version now.
Suffix for the solution settings file (the trailing extensions), scope-dependent, leading dot included.
Usually, ".resharper.user" and ".resharper"
Looks for either the current or legacy solution settings.
Looks for the solution settings from the previous version of R#.
Implementing these functions gets manager a chance to control file behavior.
Result of the modification, if the manager has handled modification; null, otherwise
Represents atomic operation on project model
Caches component declarations for Solution and Project components.
The lifetime of the cache must be synchronized with the Shell lifetime, as with new shell a new AllAssemblies set might come, hence new set of component declarations (especially important in tests).
.
Must be lazy-init, costly ctor.
.
Must be lazy-init, costly ctor.
Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.
2
Declarations cache for the Project components.
Declarations cache for the Solution components.
Gets presentation text for project item, as was last generated via
Type of the output assembly according to C# compiler options
Provides a reference-counter based mechanism for keeping non-project items