Skip to main content
View as Markdown

IVcsProvider interface

No description yet.

public interface IVcsProvider

Namespace: DXP · Assembly: Altium.SDK.Interfaces

Derived: ICloudVCSVcsProvider, ISVNVcsProvider

Methods​

MethodReturnsDescription
AddFilesstring
AddRegisteredDesignVaultIVcsDesignVault
BrowseRepositorybool
CanCreateDesignVaultbool
CheckOutint
CheckRepositorybool
ClearRegisteredDesignVaultsvoid
Commitstring
CreateDesignVaultIVcsDesignVault
CreateProjectIVcsProject
CreateRepositoryint
CreateRepositorySilentlybool
Deletestring
DeleteInRepositorystring
DesignVaultForFolderIVcsDesignVault
Downloadint
Exportstring
GetAutoConnectbool
GetNamestring
GetOptionPageIOptionsPage
GetRegisteredDesignVaultIVcsDesignVault
GetValidbool
Importstring
IsUnderVersionControlbool
ListRepositoryIVcsFileNames
LoadDesignVaultsFromInivoid
Movestring
RegisteredDesignVaultCountint
ReloadOptionsvoid
RepositoryPathExistsbool
Resolveint
Revertstring
SaveOptionsvoid
SelectModulebool
ShallowCheckOutint
Updateint

AddFiles​

No description yet.

string AddFiles(string argRepositoryAddress, string argLocalDirectory, string argComment, IVcsFileNames argLocalFilePaths, bool argCommit);
string AddFiles(string argRepositoryAddress, string argLocalDirectory, string argComment, object argLocalFilePaths, bool argCommit);
ParameterTypePassing
argRepositoryAddressstringvalue
argLocalDirectorystringvalue
argCommentstringvalue
argLocalFilePathsIVcsFileNamesvalue
argCommitboolvalue

Returns: string

The first overload is an extension method of IVcsProviderHelper (using DXP;) with typed parameters; the second is declared by the interface.

AddRegisteredDesignVault​

No description yet.

IVcsDesignVault AddRegisteredDesignVault();

Returns: IVcsDesignVault

Extension method of IVcsProviderHelper (using DXP;).

BrowseRepository​

No description yet.

bool BrowseRepository(ref string argRepositoryAddress);
ParameterTypePassing
argRepositoryAddressstringref

Returns: bool

CanCreateDesignVault​

No description yet.

bool CanCreateDesignVault();

Returns: bool

CheckOut​

No description yet.

int CheckOut(string argRepositoryAddress, string argPath, string argLocalDirectory);
ParameterTypePassing
argRepositoryAddressstringvalue
argPathstringvalue
argLocalDirectorystringvalue

Returns: int

CheckRepository​

No description yet.

bool CheckRepository(ref string argRepositoryAddress);
ParameterTypePassing
argRepositoryAddressstringref

Returns: bool

ClearRegisteredDesignVaults​

No description yet.

void ClearRegisteredDesignVaults();

Returns: nothing (void)

Commit​

No description yet.

string Commit(string argRepositoryAddress, string argLocalDirectory, string argComment, IVcsFileNames argFileNames);
string Commit(string argRepositoryAddress, string argLocalDirectory, string argComment, object argFileNames);
ParameterTypePassing
argRepositoryAddressstringvalue
argLocalDirectorystringvalue
argCommentstringvalue
argFileNamesIVcsFileNamesvalue

Returns: string

The first overload is an extension method of IVcsProviderHelper (using DXP;) with typed parameters; the second is declared by the interface.

CreateDesignVault​

No description yet.

IVcsDesignVault CreateDesignVault();

Returns: IVcsDesignVault

Extension method of IVcsProviderHelper (using DXP;).

CreateProject​

No description yet.

IVcsProject CreateProject();

Returns: IVcsProject

Extension method of IVcsProviderHelper (using DXP;).

CreateRepository​

No description yet.

int CreateRepository(ref string argRepositoryAddress);
ParameterTypePassing
argRepositoryAddressstringref

Returns: int

CreateRepositorySilently​

No description yet.

bool CreateRepositorySilently(ref string argRepositoryAddress, bool argData);
ParameterTypePassing
argRepositoryAddressstringref
argDataboolvalue

Returns: bool

Delete​

No description yet.

string Delete(string argRepositoryAddress, IVcsFileNames argLocalPaths);
string Delete(string argRepositoryAddress, object argLocalPaths);
ParameterTypePassing
argRepositoryAddressstringvalue
argLocalPathsIVcsFileNamesvalue

Returns: string

The first overload is an extension method of IVcsProviderHelper (using DXP;) with typed parameters; the second is declared by the interface.

DeleteInRepository​

No description yet.

string DeleteInRepository(string argRepositoryAddress, string argComment, IVcsFileNames argRepositoryPaths);
string DeleteInRepository(string argRepositoryAddress, string argComment, object argRepositoryPaths);
ParameterTypePassing
argRepositoryAddressstringvalue
argCommentstringvalue
argRepositoryPathsIVcsFileNamesvalue

Returns: string

The first overload is an extension method of IVcsProviderHelper (using DXP;) with typed parameters; the second is declared by the interface.

DesignVaultForFolder​

No description yet.

IVcsDesignVault DesignVaultForFolder(string argDirectory);
ParameterTypePassing
argDirectorystringvalue

Returns: IVcsDesignVault

Extension method of IVcsProviderHelper (using DXP;).

Download​

No description yet.

int Download(string argRepositoryAddress, string argFileName, string argLocalDirectory);
ParameterTypePassing
argRepositoryAddressstringvalue
argFileNamestringvalue
argLocalDirectorystringvalue

Returns: int

Export​

No description yet.

string Export(string argRepositoryAddress, string argPath, string argLocalDirectory);
ParameterTypePassing
argRepositoryAddressstringvalue
argPathstringvalue
argLocalDirectorystringvalue

Returns: string

GetAutoConnect​

No description yet.

bool GetAutoConnect();

Returns: bool

GetName​

No description yet.

string GetName();

Returns: string

GetOptionPage​

No description yet.

IOptionsPage GetOptionPage();

Returns: IOptionsPage

Extension method of IVcsProviderHelper (using DXP;).

GetRegisteredDesignVault​

No description yet.

IVcsDesignVault GetRegisteredDesignVault(int argI);
ParameterTypePassing
argIintvalue

Returns: IVcsDesignVault

Extension method of IVcsProviderHelper (using DXP;).

GetValid​

No description yet.

bool GetValid();

Returns: bool

Import​

No description yet.

string Import(string argRepositoryAddress, string argPath, string argLocalDirectory, string argComment);
ParameterTypePassing
argRepositoryAddressstringvalue
argPathstringvalue
argLocalDirectorystringvalue
argCommentstringvalue

Returns: string

IsUnderVersionControl​

No description yet.

bool IsUnderVersionControl(string argDirectory);
ParameterTypePassing
argDirectorystringvalue

Returns: bool

ListRepository​

No description yet.

IVcsFileNames ListRepository(string argRepositoryAddress, string argPath, bool argRecursive);
ParameterTypePassing
argRepositoryAddressstringvalue
argPathstringvalue
argRecursiveboolvalue

Returns: IVcsFileNames

Extension method of IVcsProviderHelper (using DXP;).

LoadDesignVaultsFromIni​

No description yet.

void LoadDesignVaultsFromIni(IOptionsReader argReader, string argSectionName);
void LoadDesignVaultsFromIni(object argReader, string argSectionName);
ParameterTypePassing
argReaderIOptionsReadervalue
argSectionNamestringvalue

Returns: nothing (void)

The first overload is an extension method of IVcsProviderHelper (using DXP;) with typed parameters; the second is declared by the interface.

Move​

No description yet.

string Move(string argRepositoryAddress, string argSrcPath, string argDestPath);
ParameterTypePassing
argRepositoryAddressstringvalue
argSrcPathstringvalue
argDestPathstringvalue

Returns: string

RegisteredDesignVaultCount​

No description yet.

int RegisteredDesignVaultCount();

Returns: int

ReloadOptions​

No description yet.

void ReloadOptions();

Returns: nothing (void)

RepositoryPathExists​

No description yet.

bool RepositoryPathExists(string argRepositoryAddress, string argPath);
ParameterTypePassing
argRepositoryAddressstringvalue
argPathstringvalue

Returns: bool

Resolve​

No description yet.

int Resolve(string argLocalDirectory, IVcsFileNames argFileNames);
int Resolve(string argLocalDirectory, object argFileNames);
ParameterTypePassing
argLocalDirectorystringvalue
argFileNamesIVcsFileNamesvalue

Returns: int

The first overload is an extension method of IVcsProviderHelper (using DXP;) with typed parameters; the second is declared by the interface.

Revert​

No description yet.

string Revert(string argRepositoryAddress, IVcsFileNames argLocalPaths);
string Revert(string argRepositoryAddress, object argLocalPaths);
ParameterTypePassing
argRepositoryAddressstringvalue
argLocalPathsIVcsFileNamesvalue

Returns: string

The first overload is an extension method of IVcsProviderHelper (using DXP;) with typed parameters; the second is declared by the interface.

SaveOptions​

No description yet.

void SaveOptions();

Returns: nothing (void)

SelectModule​

No description yet.

bool SelectModule(string argAuxProject, ref string argModule);
ParameterTypePassing
argAuxProjectstringvalue
argModulestringref

Returns: bool

ShallowCheckOut​

No description yet.

int ShallowCheckOut(string argRepositoryAddress, string argPath, string argLocalDirectory);
ParameterTypePassing
argRepositoryAddressstringvalue
argPathstringvalue
argLocalDirectorystringvalue

Returns: int

Update​

No description yet.

int Update(string argRepositoryAddress, string argLocalDirectory);
ParameterTypePassing
argRepositoryAddressstringvalue
argLocalDirectorystringvalue

Returns: int

Returned by​

IVcsBasedProjectCommands.GetVcsProvider, IVcsDesignVault.GetProvider, IVcsManager.GetProviderByType