Skip to content

Commit 4190a57

Browse files
Lanning, MarkLanning, Mark
authored andcommitted
Update copyright, licenses, and project configurations
Updated .editorconfig and source files to reflect 2025 copyright notices. Added Apache-2.0 license expressions to multiple project files. Enhanced ServiceExtensions for Cosmos, Memory, and MongoDB caches with new methods. Commented out unused MongoCache implementation. Updated Entity projects with new service registration methods and ensured database creation. Adjusted project targets to net10.0 and added new project references in the solution file. Updated favicon.ico.
1 parent be13f1a commit 4190a57

File tree

119 files changed

+853
-368
lines changed

Some content is hidden

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

119 files changed

+853
-368
lines changed

.editorconfig

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ insert_final_newline = false
2020
# Organize usings
2121
dotnet_separate_import_directive_groups = false
2222
dotnet_sort_system_directives_first = true
23-
file_header_template = ================================================================================\n<copyright file="{fileName}" company="Starlight Software Co">\n Copyright (c) Starlight Software Co. All rights reserved.\n Licensed under the Apache License, Version 2.0. See LICENSE in the project root for license information.\n</copyright>\n================================================================================
23+
file_header_template = ================================================================================\n<copyright file="{fileName}" company="Starlight Software Co">\n Copyright (c) 2025 Starlight Software Co. All rights reserved.\n Licensed under the Apache License, Version 2.0. See LICENSE in the project root for license information.\n</copyright>\n================================================================================
2424
dotnet_diagnostic.IDE0073.severity = error
2525

2626
# this. and Me. preferences

Base/src/ThingsLibrary.Base/Reflection.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ public static class Reflection
2424
{
2525
var defaultValue = GetDefault(typeof(T));
2626
if(defaultValue == null) { return default; }
27-
27+
2828
return (T)defaultValue;
2929
}
3030

Base/src/ThingsLibrary.Base/ThingsLibrary.csproj

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,12 +4,13 @@
44
<TargetFrameworks>net10.0</TargetFrameworks>
55
<ImplicitUsings>enable</ImplicitUsings>
66
<Nullable>enable</Nullable>
7-
<IsPackable>true</IsPackable>
7+
<IsPackable>true</IsPackable>
88
</PropertyGroup>
99

1010
<PropertyGroup>
1111
<PackageId>ThingsLibrary.Base</PackageId>
1212
<PackageDescription>Things Library core framework libraries and wrappers.</PackageDescription>
13+
<PackageLicenseExpression>Apache-2.0</PackageLicenseExpression>
1314

1415
<ProductName>ThingsLibrary.Base</ProductName>
1516
<Title>Things Library Core Framework Library</Title>

Base/tests/ThingsLibrary.Base.Tests/AssemblyInfo.cs

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,10 @@
1+
// ================================================================================
2+
// <copyright file="AssemblyInfo.cs" company="Starlight Software Co">
3+
// Copyright (c) 2025 Starlight Software Co. All rights reserved.
4+
// Licensed under the Apache License, Version 2.0. See LICENSE in the project root for license information.
5+
// </copyright>
6+
// ================================================================================
7+
18
using System.Runtime.InteropServices;
29

310
// In SDK-style projects such as this one, several assembly attributes that were historically

Base/tests/ThingsLibrary.Base.Tests/DataType/ActionResponse.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
// ================================================================================
22
// <copyright file="ActionResponse.cs" company="Starlight Software Co">
3-
// Copyright (c) Starlight Software Co. All rights reserved.
3+
// Copyright (c) 2025 Starlight Software Co. All rights reserved.
44
// Licensed under the Apache License, Version 2.0. See LICENSE in the project root for license information.
55
// </copyright>
66
// ================================================================================

Base/tests/ThingsLibrary.Base.Tests/DataType/Breadcrumb.cs

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,10 @@
1+
// ================================================================================
2+
// <copyright file="Breadcrumb.cs" company="Starlight Software Co">
3+
// Copyright (c) 2025 Starlight Software Co. All rights reserved.
4+
// Licensed under the Apache License, Version 2.0. See LICENSE in the project root for license information.
5+
// </copyright>
6+
// ================================================================================
7+
18
using ThingsLibrary.DataType;
29
using System.Diagnostics.CodeAnalysis;
310

Base/tests/ThingsLibrary.Base.Tests/DataType/Envelope.cs

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,10 @@
1+
// ================================================================================
2+
// <copyright file="Envelope.cs" company="Starlight Software Co">
3+
// Copyright (c) 2025 Starlight Software Co. All rights reserved.
4+
// Licensed under the Apache License, Version 2.0. See LICENSE in the project root for license information.
5+
// </copyright>
6+
// ================================================================================
7+
18
using ThingsLibrary.DataType;
29

310
namespace ThingsLibrary.Tests.DataType

Base/tests/ThingsLibrary.Base.Tests/DataType/Extensions/Boolean.cs

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,10 @@
1+
// ================================================================================
2+
// <copyright file="Boolean.cs" company="Starlight Software Co">
3+
// Copyright (c) 2025 Starlight Software Co. All rights reserved.
4+
// Licensed under the Apache License, Version 2.0. See LICENSE in the project root for license information.
5+
// </copyright>
6+
// ================================================================================
7+
18
namespace ThingsLibrary.Tests.DataType.Extensions
29
{
310
[TestClass, ExcludeFromCodeCoverage]

Base/tests/ThingsLibrary.Base.Tests/DataType/Extensions/Class.cs

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,10 @@
1+
// ================================================================================
2+
// <copyright file="Class.cs" company="Starlight Software Co">
3+
// Copyright (c) 2025 Starlight Software Co. All rights reserved.
4+
// Licensed under the Apache License, Version 2.0. See LICENSE in the project root for license information.
5+
// </copyright>
6+
// ================================================================================
7+
18
using System.Reflection;
29
using System.Web;
310

Base/tests/ThingsLibrary.Base.Tests/DataType/Extensions/DateTime.cs

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,10 @@
1+
// ================================================================================
2+
// <copyright file="DateTime.cs" company="Starlight Software Co">
3+
// Copyright (c) 2025 Starlight Software Co. All rights reserved.
4+
// Licensed under the Apache License, Version 2.0. See LICENSE in the project root for license information.
5+
// </copyright>
6+
// ================================================================================
7+
18
namespace ThingsLibrary.Tests.DataType.Extensions
29
{
310
[TestClass, ExcludeFromCodeCoverage]

0 commit comments

Comments
 (0)