Class SourceControlProviderBase
Inheritance
System.Object
SourceControlProviderBase
Inherited Members
System.Object.ToString()
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
Namespace: ArtOfTest.WebAii.Design.ProjectModel.Providers.SourceControl
Assembly: ArtOfTest.WebAii.Design.dll
Syntax
public abstract class SourceControlProviderBase
Constructors
SourceControlProviderBase()
Declaration
protected SourceControlProviderBase()
Properties
CurrentBranch
Declaration
public string CurrentBranch { get; }
Property Value
System.String
|
IsConnected
Declaration
public bool IsConnected { get; protected set; }
Property Value
System.Boolean
|
LastError
Declaration
public string LastError { get; }
Property Value
System.String
|
Methods
AddItems(String[])
Declaration
public virtual void AddItems(string[] filePaths)
Parameters
System.String[]
filePaths
|
CheckOutFile(String)
Declaration
public virtual void CheckOutFile(string filePath)
Parameters
System.String
filePath
|
CommitFiles(String, String[])
Declaration
public virtual bool CommitFiles(string comments, string[] filePaths)
Parameters
System.String
comments
|
System.String[]
filePaths
|
Returns
System.Boolean
|
Disconnect()
Declaration
public virtual void Disconnect()
GetLatest(Boolean, String[])
Declaration
public virtual void GetLatest(bool shouldOverride, string[] items)
Parameters
System.Boolean
shouldOverride
|
System.String[]
items
|
GetLatestAsync(Boolean, String[])
Declaration
public virtual void GetLatestAsync(bool shouldOverride, string[] items)
Parameters
System.Boolean
shouldOverride
|
System.String[]
items
|
IsExceptionCritical(Exception)
Declaration
protected virtual bool IsExceptionCritical(Exception ex)
Parameters
System.Exception
ex
|
Returns
System.Boolean
|
MoveItem(String, String)
Declaration
public virtual bool MoveItem(string oldPath, string newPath)
Parameters
System.String
oldPath
|
System.String
newPath
|
Returns
System.Boolean
|
OnGetLatestCompleted(Boolean)
Declaration
protected virtual void OnGetLatestCompleted(bool successful)
Parameters
System.Boolean
successful
|
QueryLightProjectElementsState(LightProjectElement[])
Declaration
public virtual bool QueryLightProjectElementsState(params LightProjectElement[] projectElements)
Parameters
LightProjectElement[]
projectElements
|
Returns
System.Boolean
|
QueryPendingChanges()
Declaration
public List<PendingChangeInfo> QueryPendingChanges()
Returns
System.Collections.Generic.List<ArtOfTest.Common.SourceControl.PendingChangeInfo>
|
RemoveFiles(String[])
Declaration
public virtual bool RemoveFiles(params string[] filePaths)
Parameters
System.String[]
filePaths
|
Returns
System.Boolean
|
RequestGoingOffline(String)
Declaration
protected virtual void RequestGoingOffline(string message)
Parameters
System.String
message
|
TFSCheckOutFiles(String[])
Declaration
public virtual void TFSCheckOutFiles(string[] filePaths)
Parameters
System.String[]
filePaths
|
UndoFilePendingChanges(String[])
Declaration
public virtual void UndoFilePendingChanges(string[] filePaths)
Parameters
System.String[]
filePaths
|
UndoPendingDeletes()
Declaration
public virtual IEnumerable<string> UndoPendingDeletes()
Returns
System.Collections.Generic.IEnumerable<System.String>
|
Events
Disconnected
Declaration
public event Action<string> Disconnected
Event Type
System.Action<System.String>
|
GetLatestCompleted
Declaration
public event Action<bool> GetLatestCompleted
Event Type
System.Action<System.Boolean>
|