From f2924f5231a82281e3f8cc3a375481ee794bc4c4 Mon Sep 17 00:00:00 2001 From: "Joel W. Reed" Date: Thu, 29 May 2008 09:20:03 -0400 Subject: [PATCH] vs2008.compile.fixes --- class/Microsoft.TeamFoundation.Client/Linking.cs | 31 +++++++++++++++-- tools/tfsbot/tfsbot.csproj | 42 ++++++++++++------------ 2 files changed, 50 insertions(+), 23 deletions(-) diff --git a/class/Microsoft.TeamFoundation.Client/Linking.cs b/class/Microsoft.TeamFoundation.Client/Linking.cs index 2784dd1..ff00ca9 100644 --- a/class/Microsoft.TeamFoundation.Client/Linking.cs +++ b/class/Microsoft.TeamFoundation.Client/Linking.cs @@ -39,16 +39,43 @@ namespace Microsoft.TeamFoundation.Client [System.ComponentModel.DesignerCategoryAttribute("code")] public class Linking : System.Web.Services.Protocols.SoapHttpClientProtocol, ILinking { + private TeamFoundationServer teamFoundationServer; + public Linking(TeamFoundationServer teamFoundationServer) { + this.teamFoundationServer = teamFoundationServer; this.Url = String.Format("{0}/{1}", teamFoundationServer.Uri, "WorkItemTracking/v1.0/Integration.asmx"); this.Credentials = teamFoundationServer.Credentials; } - + + public string GetArtifactUrl(ArtifactId id) + { + throw new NotImplementedException(); + } + + public string GetArtifactUrl(string uri) + { + throw new NotImplementedException(); + } + + public string GetArtifactUrlExternal(string uri) + { + return String.Format("{0}/{1}", teamFoundationServer.Uri, uri); + } + + public string GetArtifactUrlExternal(ArtifactId id) + { + throw new NotImplementedException(); + } + + public Artifact[] GetReferencingArtifacts(string[] uriList) + { + return GetReferencingArtifacts(uriList, null); + } + [System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://schemas.microsoft.com/TeamFoundation/2005/06/Services/Linking/03/GetReferencingArtifacts", RequestNamespace="http://schemas.microsoft.com/TeamFoundation/2005/06/Services/Linking/03", ResponseNamespace="http://schemas.microsoft.com/TeamFoundation/2005/06/Services/Linking/03", ParameterStyle=System.Web.Services.Protocols.SoapParameterStyle.Wrapped, Use=System.Web.Services.Description.SoapBindingUse.Literal)] public Artifact[] GetReferencingArtifacts(string[] uriList, LinkFilter[] filters) { - Console.WriteLine("GetReferencingArtifacts"); if (filters != null) GetReferencingArtifactsWithFilter(uriList, filters); diff --git a/tools/tfsbot/tfsbot.csproj b/tools/tfsbot/tfsbot.csproj index d4a24bf..156e78a 100644 --- a/tools/tfsbot/tfsbot.csproj +++ b/tools/tfsbot/tfsbot.csproj @@ -39,27 +39,27 @@ - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + -- 2.11.4.GIT