Skip to content

Commit 265d8cf

Browse files
committed
RENAME ALL THE THINGS
1 parent 80837bc commit 265d8cf

File tree

83 files changed

+23
-23
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

83 files changed

+23
-23
lines changed

otel-code-path.sln renamed to ActivitySourceCodeAttributes.sln

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,13 +5,13 @@ VisualStudioVersion = 16.0.30114.105
55
MinimumVisualStudioVersion = 10.0.40219.1
66
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "src", "src", "{428CD6C9-BA82-468D-816A-31EDA1D90549}"
77
EndProject
8-
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "otel-code-path", "src\sample\otel-code-path.csproj", "{44D18ECB-12EC-4AD0-8EF1-768BB7DA5610}"
8+
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "ActivitySourceCodeAttributes.Sample", "src\ActivitySourceCodeAttributes.Sample\ActivitySourceCodeAttributes.Sample.csproj", "{44D18ECB-12EC-4AD0-8EF1-768BB7DA5610}"
99
EndProject
10-
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "ActivitySourceGenerator", "src\ActivitySourceGenerator\ActivitySourceGenerator.csproj", "{CADCAAE0-7F2D-4501-AD48-1932FDCA3B3F}"
10+
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "ActivitySourceCodeAttributes", "src\ActivitySourceCodeAttributes\ActivitySourceCodeAttributes.csproj", "{CADCAAE0-7F2D-4501-AD48-1932FDCA3B3F}"
1111
EndProject
1212
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "tests", "tests", "{8F52D2F6-8615-4E20-903C-57D395D0A178}"
1313
EndProject
14-
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "codegen-test", "tests\ActivitySourceGenerator.Tests\ActivitySourceGenerator.Tests.csproj", "{1A305CC5-C69E-4A88-90D7-A630548C67FB}"
14+
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "codegen-test", "tests\ActivitySourceCodeAttributes.Tests\ActivitySourceCodeAttributes.Tests.csproj", "{1A305CC5-C69E-4A88-90D7-A630548C67FB}"
1515
EndProject
1616
Global
1717
GlobalSection(SolutionConfigurationPlatforms) = preSolution

src/sample/otel-code-path.csproj renamed to src/ActivitySourceCodeAttributes.Sample/ActivitySourceCodeAttributes.Sample.csproj

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
<TargetFramework>net6.0</TargetFramework>
55
<Nullable>enable</Nullable>
66
<ImplicitUsings>enable</ImplicitUsings>
7-
<RootNamespace>otel_code_path</RootNamespace>
7+
<RootNamespace>ActivitySourceCodeAttributes.Sample</RootNamespace>
88
</PropertyGroup>
99

1010
<ItemGroup>
@@ -14,7 +14,7 @@
1414
</ItemGroup>
1515

1616
<ItemGroup>
17-
<ProjectReference Include="..\ActivitySourceGenerator\ActivitySourceGenerator.csproj" ReferenceOutputAssembly="false" OutputItemType="Analyzer" />
17+
<ProjectReference Include="..\ActivitySourceCodeAttributes\ActivitySourceCodeAttributes.csproj" ReferenceOutputAssembly="false" OutputItemType="Analyzer" />
1818
</ItemGroup>
1919

2020
</Project>

src/sample/Controllers/HomeController.cs renamed to src/ActivitySourceCodeAttributes.Sample/Controllers/HomeController.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
using System.Diagnostics;
22
using Microsoft.AspNetCore.Mvc;
3-
using otel_code_path.Models;
3+
using ActivitySourceCodeAttributes.Sample.Models;
44

5-
namespace otel_code_path.Controllers;
5+
namespace ActivitySourceCodeAttributes.Sample.Controllers;
66

77
public class HomeController : Controller
88
{

src/sample/Models/ErrorViewModel.cs renamed to src/ActivitySourceCodeAttributes.Sample/Models/ErrorViewModel.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
namespace otel_code_path.Models;
1+
namespace ActivitySourceCodeAttributes.Sample.Models;
22

33
public class ErrorViewModel
44
{

src/sample/Program.cs renamed to src/ActivitySourceCodeAttributes.Sample/Program.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
builder.Services
1010
.AddOpenTelemetryTracing((otelBuilder) => otelBuilder
1111
.AddAspNetCoreInstrumentation()
12-
.SetResourceBuilder(ResourceBuilder.CreateDefault().AddService("Otel-code-path"))
12+
.SetResourceBuilder(ResourceBuilder.CreateDefault().AddService("ActivitySourceCodeAttributes.Sample"))
1313
.AddSource("MySource")
1414
.AddConsoleExporter());
1515

0 commit comments

Comments
 (0)