rename proj
This commit is contained in:
@@ -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()
|
||||
{
|
||||
@@ -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")]
|
||||
@@ -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>
|
||||
@@ -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>
|
||||
@@ -5,7 +5,7 @@
|
||||
"dependencies": {
|
||||
"xunit": "2.2.0-beta2-build3300",
|
||||
"dotnet-test-xunit": "2.2.0-preview2-build1029",
|
||||
"FluentUriBuilder": "*"
|
||||
"UriBuilder.Fluent": "*"
|
||||
},
|
||||
|
||||
"frameworks": {
|
||||
7496
src/UriBuilder.Fluent.UnitTests/project.lock.json
Normal file
7496
src/UriBuilder.Fluent.UnitTests/project.lock.json
Normal file
File diff suppressed because it is too large
Load Diff
@@ -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")]
|
||||
@@ -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))
|
||||
{
|
||||
@@ -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>
|
||||
6
src/UriBuilder.Fluent/UriBuilder.Fluent.xproj.user
Normal file
6
src/UriBuilder.Fluent/UriBuilder.Fluent.xproj.user
Normal 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>
|
||||
4026
src/UriBuilder.Fluent/project.lock.json
Normal file
4026
src/UriBuilder.Fluent/project.lock.json
Normal file
File diff suppressed because it is too large
Load Diff
Reference in New Issue
Block a user