NuGetGallery.FunctionalTests.NuspecHelper.RemoveSampleNuspecValues C# (CSharp) 메소드

RemoveSampleNuspecValues() 정적인 개인적인 메소드

Given a nuspec file, this removes the default sample nuspec values.
static private RemoveSampleNuspecValues ( string nuspecFilePath ) : void
nuspecFilePath string
리턴 void
        internal static void RemoveSampleNuspecValues(string nuspecFilePath)
        {
            UpdateNuspecFile(nuspecFilePath, "<licenseUrl>http://LICENSE_URL_HERE_OR_DELETE_THIS_LINE</licenseUrl>", null);
            UpdateNuspecFile(nuspecFilePath, "<projectUrl>http://PROJECT_URL_HERE_OR_DELETE_THIS_LINE</projectUrl>", string.Empty);
            UpdateNuspecFile(nuspecFilePath, "<projectUrl>http://PROJECT_URL_HERE_OR_DELETE_THIS_LINE</projectUrl>", string.Empty);
            UpdateNuspecFile(nuspecFilePath, "<iconUrl>http://ICON_URL_HERE_OR_DELETE_THIS_LINE</iconUrl>", string.Empty);
            var searchString = new StringBuilder(@"<dependency id=" + @"""" + SampleDependency + @"""" + " version=" + @"""" + SampleDependencyVersion + @"""" + @" />");
            UpdateNuspecFile(nuspecFilePath, searchString.ToString(), string.Empty);
        }