Skip to content
This repository was archived by the owner on Jun 26, 2026. It is now read-only.

Commit 7bf4280

Browse files
committed
Add OCC.Library with Utils class
1 parent c054d4f commit 7bf4280

3 files changed

Lines changed: 20 additions & 0 deletions

File tree

OrchardCoreContrib.Library.slnx

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
<Solution>
2+
<Folder Name="/src/">
3+
<Project Path="src/OrchardCoreContrib.Library.csproj" />
4+
</Folder>
5+
</Solution>
Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
<Project Sdk="Microsoft.NET.Sdk">
2+
3+
<PropertyGroup>
4+
<TargetFramework>net10.0</TargetFramework>
5+
<ImplicitUsings>enable</ImplicitUsings>
6+
<Nullable>enable</Nullable>
7+
</PropertyGroup>
8+
9+
</Project>

src/Utils.cs

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
namespace OrchardCoreContrib.Library;
2+
3+
public static class Utils
4+
{
5+
public static string Greet(string name) => $"Hello, {name}!";
6+
}

0 commit comments

Comments
 (0)