public override IIdentity GetIdentity(string username) { return(_bridge.Wrap <WrapperForIdentity, Identity>(Retry.Do(() => GroupSecurityService.ReadIdentity(SearchFactor.AccountName, username, QueryMembership.None)))); }
protected override bool HasWorkItems(Changeset changeset) { return(Retry.Do(() => changeset.AssociatedWorkItems.Length > 0)); }
private void DoUntilNoFailures(Func <GetStatus> get) { Retry.DoWhile(() => get().NumFailures != 0); }
public void GetSpecificVersion(int changeset) { Retry.Do(() => DoUntilNoFailures(() => _workspace.Get(new ChangesetVersionSpec(changeset), GetOptions.Overwrite | GetOptions.GetAll))); }
public override IIdentity GetIdentity(string username) { return(_bridge.Wrap <WrapperForIdentity, TeamFoundationIdentity>(Retry.Do(() => GroupSecurityService.ReadIdentity(IdentitySearchFactor.AccountName, username, MembershipQuery.None, ReadIdentityOptions.None)))); }