/// <summary> /// Constructor that takes a CCElement object /// </summary> internal TfsFileSystemDiffItem( string localPath, VCItemType itemType) { Debug.Assert((itemType != VCItemType.File) || !string.IsNullOrEmpty(localPath), "File item must have a local path"); this.LocalPath = localPath; this.ServerPath = localPath; this.VCItemType = itemType; }
/// <summary> /// Constructor that takes a CCElement object /// </summary> internal ClearCaseDiffItem( string serverPath, string localPath, VCItemType itemType) { this.ServerPath = serverPath; Debug.Assert((itemType != VCItemType.File) || !string.IsNullOrEmpty(localPath), "File item must have a local path"); this.LocalPath = localPath; this.VCItemType = itemType; }