Click or drag to resize

VersionControlEditorModel Class

View model class providing data for the VersionControlEditor control.
Inheritance Hierarchy
SystemObject
  Demo3D.Gui.VersionControlVersionControlEditorModel

Namespace: Demo3D.Gui.VersionControl
Assembly: WpfControls (in WpfControls.dll) Version: 19.00.00
Syntax
C#
public class VersionControlEditorModel : INotifyPropertyChanged, 
	IDisposable

The VersionControlEditorModel type exposes the following members.

Properties
 NameDescription
Public propertyBranchNames The names of all the available branches in the repository.
Public propertyCanCommit Whether committing is possible (i.e. there are saved or unsaved changes).
Public propertyCanEnableVersionControl Whether version control can currently be enabled for this document.
Public propertyCanUndoLocalChanges Whether undoing local changes is possible (i.e. there are local changes, and there are existing commits).
Public propertyCurrentBranchName The name of the current branch.
Public propertyCurrentCommitID The ID of the current commit.
Public propertyCurrentCommitShortID The short ID of the current commit.
Public propertyDocumentPath The full path of this document.
Public propertyHasBranches Whether there are any branches present in this repository. (Before the first commit, there will be none.)
Public propertyHasLocalChanges Whether there are any uncommitted local changes.
Public propertyHasUnsavedChanges Whether the document has any unsaved changes.
Public propertyIsDetachedHead Whether the repository currently has a detached HEAD (i.e. we're viewing a previous commit).
Public propertyIsVersionControlEnabled Whether version control is enabled for this document.
Public propertyModifiedFiles The structure of modified files for this repository.
Public propertyMostRecentBranchName The name of the last actual branch to be selected. This is so that, having checked out a specific commit, the default option for which branch to return to is the one previously selected.
Public propertyRootFolder The root folder in which to look for a Git repository.
Top
Methods
 NameDescription
Public methodDispose Unsubscribes from the version control implementation's events.
Top
Events
 NameDescription
Public eventPropertyChanged Occurs when a property value changes.
Top
See Also