Skip to content

Commit 2cdfd9d

Browse files
authored
fix typo #60 (#62)
1 parent 84f9279 commit 2cdfd9d

File tree

7 files changed

+95
-6
lines changed

7 files changed

+95
-6
lines changed

source/Diol/src/Diol.Aspnet/Pages/Index.cshtml

Lines changed: 84 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,90 @@
66
<html>
77
<head>
88
<title>Diol signal r client</title>
9+
<style>
10+
/* Reset default browser styles */
11+
* {
12+
margin: 0;
13+
padding: 0;
14+
box-sizing: border-box;
15+
}
16+
17+
/* Set a base font and background color for the body */
18+
body {
19+
font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
20+
background-color: #e7e7e7;
21+
line-height: 1.6;
22+
padding: 20px;
23+
}
24+
25+
/* Style the main heading */
26+
h1 {
27+
text-align: center;
28+
color: #333;
29+
margin-bottom: 40px;
30+
}
31+
32+
/* Style sections with a card-like appearance */
33+
section {
34+
background: #fff;
35+
padding: 20px;
36+
margin-bottom: 20px;
37+
border-radius: 10px;
38+
box-shadow: 0 5px 15px rgba(0,0,0,0.1);
39+
}
40+
41+
/* Style buttons with a modern look */
42+
button {
43+
display: block;
44+
width: 100%;
45+
padding: 10px;
46+
margin: 20px 0;
47+
background: #5cb85c;
48+
color: #fff;
49+
border: none;
50+
border-radius: 5px;
51+
cursor: pointer;
52+
font-size: 16px;
53+
}
54+
55+
button:hover {
56+
background: #4cae4c;
57+
}
58+
59+
/* Style the input field */
60+
input[type="text"] {
61+
width: calc(100% - 22px);
62+
padding: 10px;
63+
margin-top: 20px;
64+
margin-bottom: 10px;
65+
border-radius: 5px;
66+
border: 1px solid #ddd;
67+
font-size: 16px;
68+
}
69+
70+
/* Style the table */
71+
table {
72+
width: 100%;
73+
border-collapse: collapse;
74+
margin-top: 20px;
75+
}
76+
77+
th, td {
78+
text-align: left;
79+
padding: 12px;
80+
border-bottom: 1px solid #ddd;
81+
}
82+
83+
th {
84+
background-color: #f4f4f4;
85+
color: #333;
86+
}
87+
88+
/* Add a hover effect for table rows */
89+
tbody tr:hover {
90+
background-color: #f9f9f9;
91+
}
92+
</style>
993
</head>
1094
<body>
1195

source/Diol/src/Diol.Core/DiagnosticClients/EventPipeEventSourceBuilder.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ public EventPipeEventSourceBuilder SetProcessId(int processId)
3232
/// <summary>
3333
/// Gets the list of EventPipeProviders.
3434
/// </summary>
35-
public List<EventPipeProvider> Providers => EvenPipeHelper.Providers.ToList();
35+
public List<EventPipeProvider> Providers => EventPipeHelper.Providers.ToList();
3636

3737
/// <summary>
3838
/// Gets or sets the list of consumers.

source/Diol/src/Diol.Core/DiagnosticClients/EvenPipeHelper.cs renamed to source/Diol/src/Diol.Core/DiagnosticClients/EventPipeHelper.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ namespace Diol.Core.DiagnosticClients
77
/// <summary>
88
/// Helper class for EventPipe functionality.
99
/// </summary>
10-
public static class EvenPipeHelper
10+
public static class EventPipeHelper
1111
{
1212
/// <summary>
1313
/// Gets a collection of EventPipeProvider instances.

source/Diol/src/Diol.Core/Features/BaseProcessor.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ public void OnError(Exception error)
4545
/// <param name="value">The trace event.</param>
4646
public void OnNext(TraceEvent value)
4747
{
48-
// if you run the app via VS-> for responce's activity ids will be incorrect.
48+
// if you run the app via VS-> for response's activity ids will be incorrect.
4949
var eventId = Convert.ToInt32(value.PayloadByName("EventId"));
5050
var eventName = value.PayloadByName("EventName")?.ToString();
5151

source/Diol/src/Diol.Core/Features/HttpclientProcessor.cs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -122,7 +122,7 @@ public static RequestPipelineEndDto ParseRequestPipelineEnd(TraceEvent traceEven
122122

123123
var correlationId = traceEvent.ActivityID.ToString();
124124

125-
// parse from milisecond to TimeSpan
125+
// parse from millisecond to TimeSpan
126126
return new RequestPipelineEndDto
127127
{
128128
CorrelationId = correlationId,
@@ -157,6 +157,7 @@ private static Dictionary<string, string> ParseHeaders(string headersAsText)
157157
var headersDictionary = new Dictionary<string, string>();
158158
foreach (var header in headers)
159159
{
160+
// TODO: use .split(':') instead of IndexOf and Substring
160161
var deviderIndex = header.IndexOf(':');
161162
if (deviderIndex == -1)
162163
{

source/Diol/src/Diol.Core/TraceEventProcessors/TraceEventRouterUnsubscriber.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ public TraceEventRouterUnSubscriber(List<IObserver<TraceEvent>> observers)
2525
/// </summary>
2626
public void Dispose()
2727
{
28-
if (this.observers != null)
28+
if(this.observers != null)
2929
{
3030
this.observers.Clear();
3131
}

source/Diol/src/applications/DiolVSIX/source.extension.vsixmanifest

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,11 @@
33
<Metadata>
44
<Identity Id="DiolVSIX.66bbb016-3110-40f6-a936-35f914a663e3" Version="1.21.1" Language="en-US" Publisher="Diol devs" />
55
<DisplayName>Diol</DisplayName>
6-
<Description xml:space="preserve">Dotnet Input-Output Logger (Diol) is a free and open-source tool you can easily see and explore logs during debugging your dotnet application in real time.</Description>
6+
<Description xml:space="preserve">Dotnet Input-Output Logger (DIOL) is a free and open-source tool created for .NET developers.
7+
8+
With DIOL, you can easily see and explore logs during debugging your .NET application in real time.
9+
10+
Say goodbye to tons of log messages in your code!</Description>
711
<MoreInfo>https://github.com/Dotnet-IO-logger/core/wiki</MoreInfo>
812
<GettingStartedGuide>https://github.com/Dotnet-IO-logger/core/wiki/1.-Getting-started-guide</GettingStartedGuide>
913
<Icon>Resources\logo.png</Icon>

0 commit comments

Comments
 (0)