rename proj

This commit is contained in:
Tommy Parnell
2016-11-08 19:52:31 -05:00
parent d51c8e5841
commit 6d32f107e5
17 changed files with 11599 additions and 87 deletions

View File

@@ -44,6 +44,14 @@ namespace FluentUriBuilder.Tests
Assert.Equal("http://awesome.com/?awesome=cool,dawg", url.Uri.ToString());
}
[Fact]
public void TestAddParameterArrayint()
{
var url = new UriBuilder("http://awesome.com")
.WithParameter("awesome", new List<int>() { 1, 2 }.Cast<Object>());
Assert.Equal("http://awesome.com/?awesome=1,2", url.Uri.ToString());
}
[Fact]
public void TestAddParameterNoValue()
{

View File

@@ -7,7 +7,7 @@ using System.Runtime.InteropServices;
// associated with an assembly.
[assembly: AssemblyConfiguration("")]
[assembly: AssemblyCompany("")]
[assembly: AssemblyProduct("FluentUriBuilder.Tests")]
[assembly: AssemblyProduct("UriBuilder.Fluent.UnitTests")]
[assembly: AssemblyTrademark("")]
// Setting ComVisible to false makes the types in this assembly not visible
@@ -16,4 +16,4 @@ using System.Runtime.InteropServices;
[assembly: ComVisible(false)]
// The following GUID is for the ID of the typelib if this project is exposed to COM
[assembly: Guid("ecaca676-2599-4fa5-8e25-7503f0ccca78")]
[assembly: Guid("f421a9ee-180c-413e-a0cd-665295825646")]

View File

@@ -6,8 +6,8 @@
</PropertyGroup>
<Import Project="$(VSToolsPath)\DotNet\Microsoft.DotNet.Props" Condition="'$(VSToolsPath)' != ''" />
<PropertyGroup Label="Globals">
<ProjectGuid>ecaca676-2599-4fa5-8e25-7503f0ccca78</ProjectGuid>
<RootNamespace>FluentUriBuilder.Tests</RootNamespace>
<ProjectGuid>f421a9ee-180c-413e-a0cd-665295825646</ProjectGuid>
<RootNamespace>UriBuilder.Fluent.UnitTests</RootNamespace>
<BaseIntermediateOutputPath Condition="'$(BaseIntermediateOutputPath)'=='' ">.\obj</BaseIntermediateOutputPath>
<OutputPath Condition="'$(OutputPath)'=='' ">.\bin\</OutputPath>
<TargetFrameworkVersion>v4.5.2</TargetFrameworkVersion>

View File

@@ -0,0 +1,6 @@
<?xml version="1.0" encoding="utf-8"?>
<Project ToolsVersion="14.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<PropertyGroup>
<ActiveDebugProfile>Start</ActiveDebugProfile>
</PropertyGroup>
</Project>

View File

@@ -5,7 +5,7 @@
"dependencies": {
"xunit": "2.2.0-beta2-build3300",
"dotnet-test-xunit": "2.2.0-preview2-build1029",
"FluentUriBuilder": "*"
"UriBuilder.Fluent": "*"
},
"frameworks": {

File diff suppressed because it is too large Load Diff

View File

@@ -7,7 +7,7 @@ using System.Runtime.InteropServices;
// associated with an assembly.
[assembly: AssemblyConfiguration("")]
[assembly: AssemblyCompany("")]
[assembly: AssemblyProduct("FluentUriBuilder")]
[assembly: AssemblyProduct("UriBuilder.Fluent")]
[assembly: AssemblyTrademark("")]
// Setting ComVisible to false makes the types in this assembly not visible
@@ -16,4 +16,4 @@ using System.Runtime.InteropServices;
[assembly: ComVisible(false)]
// The following GUID is for the ID of the typelib if this project is exposed to COM
[assembly: Guid("f6ea52b1-1bc1-490b-a348-87e83c63f24b")]
[assembly: Guid("b8458f59-debd-4844-aa29-ee3b4388aa7a")]

View File

@@ -8,7 +8,9 @@ namespace System
{
public static class TerribleDevUriExtensions
{
public static UriBuilder WithParameter(this UriBuilder bld, string key, params string[] values)
public static UriBuilder WithParameter(this UriBuilder bld, string key, params string[] values) => bld.WithParameter(key, values);
public static UriBuilder WithParameter(this UriBuilder bld, string key, IEnumerable<object> values)
{
if(string.IsNullOrWhiteSpace(key))
{

View File

@@ -7,11 +7,11 @@
<Import Project="$(VSToolsPath)\DotNet\Microsoft.DotNet.Props" Condition="'$(VSToolsPath)' != ''" />
<PropertyGroup Label="Globals">
<ProjectGuid>f6ea52b1-1bc1-490b-a348-87e83c63f24b</ProjectGuid>
<RootNamespace>FluentUriBuilder</RootNamespace>
<ProjectGuid>b8458f59-debd-4844-aa29-ee3b4388aa7a</ProjectGuid>
<RootNamespace>UriBuilder.Fluent</RootNamespace>
<BaseIntermediateOutputPath Condition="'$(BaseIntermediateOutputPath)'=='' ">.\obj</BaseIntermediateOutputPath>
<OutputPath Condition="'$(OutputPath)'=='' ">.\bin\</OutputPath>
<TargetFrameworkVersion>v4.5</TargetFrameworkVersion>
<TargetFrameworkVersion>v4.5.2</TargetFrameworkVersion>
</PropertyGroup>
<PropertyGroup>

View File

@@ -0,0 +1,6 @@
<?xml version="1.0" encoding="utf-8"?>
<Project ToolsVersion="14.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<PropertyGroup>
<ActiveDebugProfile>Start</ActiveDebugProfile>
</PropertyGroup>
</Project>

File diff suppressed because it is too large Load Diff