Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
U
uHttpSharp
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Scott Duncan
uHttpSharp
Commits
580e6265
Commit
580e6265
authored
Jan 21, 2014
by
Shani Elharrar
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Moved HttpHeadersDebuggerDisplayProxy
parent
16add7ec
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
53 additions
and
47 deletions
+53
-47
uhttpsharp/Headers/HttpHeaders.cs
uhttpsharp/Headers/HttpHeaders.cs
+0
-47
uhttpsharp/Headers/HttpHeadersDebuggerProxy.cs
uhttpsharp/Headers/HttpHeadersDebuggerProxy.cs
+52
-0
uhttpsharp/uhttpsharp.csproj
uhttpsharp/uhttpsharp.csproj
+1
-0
No files found.
uhttpsharp/Headers/HttpHeaders.cs
View file @
580e6265
...
...
@@ -2,7 +2,6 @@ using System.Collections;
using
System.Collections.Generic
;
using
System.Diagnostics
;
using
System.IO
;
using
System.Linq
;
using
System.Text
;
using
System.Threading.Tasks
;
...
...
@@ -56,50 +55,4 @@ namespace uhttpsharp.Headers
}
}
}
internal
class
HttpHeadersDebuggerProxy
{
private
readonly
IHttpHeaders
_real
;
[
DebuggerDisplay
(
"{Value,nq}"
,
Name
=
"{Key,nq}"
)]
internal
class
HttpHeader
{
private
readonly
KeyValuePair
<
string
,
string
>
_header
;
public
HttpHeader
(
KeyValuePair
<
string
,
string
>
header
)
{
_header
=
header
;
}
public
string
Value
{
get
{
return
_header
.
Value
;
}
}
public
string
Key
{
get
{
return
_header
.
Key
;
}
}
}
public
HttpHeadersDebuggerProxy
(
IHttpHeaders
real
)
{
_real
=
real
;
}
[
DebuggerBrowsable
(
DebuggerBrowsableState
.
RootHidden
)]
public
HttpHeader
[]
Headers
{
get
{
return
_real
.
Select
(
kvp
=>
new
HttpHeader
(
kvp
)).
ToArray
();
}
}
}
}
\ No newline at end of file
uhttpsharp/Headers/HttpHeadersDebuggerProxy.cs
0 → 100644
View file @
580e6265
using
System.Collections.Generic
;
using
System.Diagnostics
;
using
System.Linq
;
namespace
uhttpsharp.Headers
{
internal
class
HttpHeadersDebuggerProxy
{
private
readonly
IHttpHeaders
_real
;
[
DebuggerDisplay
(
"{Value,nq}"
,
Name
=
"{Key,nq}"
)]
internal
class
HttpHeader
{
private
readonly
KeyValuePair
<
string
,
string
>
_header
;
public
HttpHeader
(
KeyValuePair
<
string
,
string
>
header
)
{
_header
=
header
;
}
public
string
Value
{
get
{
return
_header
.
Value
;
}
}
public
string
Key
{
get
{
return
_header
.
Key
;
}
}
}
public
HttpHeadersDebuggerProxy
(
IHttpHeaders
real
)
{
_real
=
real
;
}
[
DebuggerBrowsable
(
DebuggerBrowsableState
.
RootHidden
)]
public
HttpHeader
[]
Headers
{
get
{
return
_real
.
Select
(
kvp
=>
new
HttpHeader
(
kvp
)).
ToArray
();
}
}
}
}
\ No newline at end of file
uhttpsharp/uhttpsharp.csproj
View file @
580e6265
...
...
@@ -63,6 +63,7 @@
<Compile
Include=
"Handlers\RestHandler.cs"
/>
<Compile
Include=
"Headers\EmptyHttpHeaders.cs"
/>
<Compile
Include=
"Headers\HttpHeaders.cs"
/>
<Compile
Include=
"Headers\HttpHeadersDebuggerProxy.cs"
/>
<Compile
Include=
"Headers\HttpHeadersExtensions.cs"
/>
<Compile
Include=
"Headers\IHttpHeaders.cs"
/>
<Compile
Include=
"Headers\QueryStringHttpHeaders.cs"
/>
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment