public int Checkin(IPendingChange[] changes, string comment, string author, ICheckinNote checkinNote, IEnumerable <IWorkItemCheckinInfo> workItemChanges, TfsPolicyOverrideInfo policyOverrideInfo, bool overrideGatedCheckIn) { var checkinParameters = new WorkspaceCheckInParameters(_bridge.Unwrap <PendingChange>(changes), comment) { CheckinNotes = _bridge.Unwrap <CheckinNote>(checkinNote), AssociatedWorkItems = _bridge.Unwrap <WorkItemCheckinInfo>(workItemChanges), PolicyOverride = ToTfs(policyOverrideInfo), OverrideGatedCheckIn = overrideGatedCheckIn }; if (author != null) { checkinParameters.Author = author; } try { return(_workspace.CheckIn(checkinParameters)); } catch (GatedCheckinException gatedException) { throw new GitTfsGatedCheckinException(gatedException.ShelvesetName, gatedException.AffectedBuildDefinitions, gatedException.CheckInTicket); } }
public CheckinPolicyEvaluationResult EvaluateCheckin(IWorkspace workspace, IPendingChange[] pendingChanges, string comment, ICheckinNote checkinNote, IEnumerable<IWorkItemCheckinInfo> workItemInfo) { var result = workspace.EvaluateCheckin(TfsCheckinEvaluationOptions.All, pendingChanges, pendingChanges, comment, null, checkinNote, workItemInfo); return new CheckinPolicyEvaluationResult(result); }
public int Checkin(IPendingChange[] changes, string comment, ICheckinNote checkinNote, IEnumerable <IWorkItemCheckinInfo> workItemChanges, TfsPolicyOverrideInfo policyOverrideInfo) { return(_workspace.CheckIn( _bridge.Unwrap <PendingChange>(changes), comment, _bridge.Unwrap <CheckinNote>(checkinNote), _bridge.Unwrap <WorkItemCheckinInfo>(workItemChanges), ToTfs(policyOverrideInfo))); }
public int Checkin(IPendingChange[] changes, string comment, ICheckinNote checkinNote, IEnumerable<IWorkItemCheckinInfo> workItemChanges, TfsPolicyOverrideInfo policyOverrideInfo, bool overrideGatedCheckIn) { return _workspace.CheckIn( _bridge.Unwrap<PendingChange>(changes), comment, _bridge.Unwrap<CheckinNote>(checkinNote), _bridge.Unwrap<WorkItemCheckinInfo>(workItemChanges), ToTfs(policyOverrideInfo)); }
public ICheckinEvaluationResult EvaluateCheckin(TfsCheckinEvaluationOptions options, IPendingChange[] allChanges, IPendingChange[] changes, string comment, ICheckinNote checkinNote, IEnumerable <IWorkItemCheckinInfo> workItemChanges) { return(_bridge.Wrap <WrapperForCheckinEvaluationResult, CheckinEvaluationResult>(_workspace.EvaluateCheckin( _bridge.Convert <CheckinEvaluationOptions>(options), _bridge.Unwrap <PendingChange>(allChanges), _bridge.Unwrap <PendingChange>(changes), comment, _bridge.Unwrap <CheckinNote>(checkinNote), _bridge.Unwrap <WorkItemCheckinInfo>(workItemChanges)))); }
public int Checkin(IPendingChange[] changes, string comment, ICheckinNote checkinNote, IEnumerable<IWorkItemCheckinInfo> workItemChanges, TfsPolicyOverrideInfo policyOverrideInfo, bool overrideGatedCheckIn) { var checkinParameters = new WorkspaceCheckInParameters(_bridge.Unwrap<PendingChange>(changes), comment) { CheckinNotes = _bridge.Unwrap<CheckinNote>(checkinNote), AssociatedWorkItems = _bridge.Unwrap<WorkItemCheckinInfo>(workItemChanges), PolicyOverride = ToTfs(policyOverrideInfo), OverrideGatedCheckIn = overrideGatedCheckIn }; return _workspace.CheckIn(checkinParameters); }
public int Checkin(IPendingChange[] changes, string comment, ICheckinNote checkinNote, IEnumerable <IWorkItemCheckinInfo> workItemChanges, TfsPolicyOverrideInfo policyOverrideInfo, bool overrideGatedCheckIn) { var checkinParameters = new WorkspaceCheckInParameters(_bridge.Unwrap <PendingChange>(changes), comment) { CheckinNotes = _bridge.Unwrap <CheckinNote>(checkinNote), AssociatedWorkItems = _bridge.Unwrap <WorkItemCheckinInfo>(workItemChanges), PolicyOverride = ToTfs(policyOverrideInfo), OverrideGatedCheckIn = overrideGatedCheckIn }; return(_workspace.CheckIn(checkinParameters)); }
public int Checkin(IPendingChange[] changes, string comment, string author, ICheckinNote checkinNote, IEnumerable <IWorkItemCheckinInfo> workItemChanges, TfsPolicyOverrideInfo policyOverrideInfo, bool overrideGatedCheckIn) { if (author != null) { return(_workspace.CheckIn( _bridge.Unwrap <PendingChange>(changes), comment, author, _bridge.Unwrap <CheckinNote>(checkinNote), _bridge.Unwrap <WorkItemCheckinInfo>(workItemChanges), ToTfs(policyOverrideInfo))); } return(_workspace.CheckIn( _bridge.Unwrap <PendingChange>(changes), comment, _bridge.Unwrap <CheckinNote>(checkinNote), _bridge.Unwrap <WorkItemCheckinInfo>(workItemChanges), ToTfs(policyOverrideInfo))); }
public ICheckinEvaluationResult EvaluateCheckin(TfsCheckinEvaluationOptions options, IPendingChange[] allChanges, IPendingChange[] changes, string comment, string authors, ICheckinNote checkinNote, IEnumerable<IWorkItemCheckinInfo> workItemChanges) { throw new NotImplementedException(); }
public int Checkin(IPendingChange[] changes, string comment, string author, ICheckinNote checkinNote, IEnumerable<IWorkItemCheckinInfo> workItemChanges, TfsPolicyOverrideInfo policyOverrideInfo, bool overrideGatedCheckIn) { throw new NotImplementedException(); }
public int Checkin(IPendingChange[] changes, string comment, string author, ICheckinNote checkinNote, IEnumerable <IWorkItemCheckinInfo> workItemChanges, TfsPolicyOverrideInfo policyOverrideInfo, bool overrideGatedCheckIn) { throw new NotImplementedException(); }
public ICheckinEvaluationResult EvaluateCheckin(TfsCheckinEvaluationOptions options, IPendingChange[] allChanges, IPendingChange[] changes, string comment, string authors, ICheckinNote checkinNote, IEnumerable <IWorkItemCheckinInfo> workItemChanges) { throw new NotImplementedException(); }
public CheckinPolicyEvaluationResult EvaluateCheckin(IWorkspace workspace, IPendingChange[] pendingChanges, string comment, ICheckinNote checkinNote, IEnumerable <IWorkItemCheckinInfo> workItemInfo) { var result = workspace.EvaluateCheckin(TfsCheckinEvaluationOptions.All, pendingChanges, pendingChanges, comment, null, checkinNote, workItemInfo); return(new CheckinPolicyEvaluationResult(result)); }