From 980cc626a9e27d35a31a5210e796d09b34df2ba2 Mon Sep 17 00:00:00 2001 From: Oli Sturm Date: Wed, 22 Apr 2026 13:37:58 +0100 Subject: [PATCH] fix project names --- .../Application/AccountApplicationService.cs | 4 ++-- csharp-oop-simplified2/Domain/Account.cs | 2 +- csharp-oop-simplified2/Domain/IAccountRepository.cs | 2 +- .../Domain/InsufficientBalanceException.cs | 2 +- csharp-oop-simplified2/Domain/Money.cs | 2 +- .../Infrastructure/InMemoryAccountRepository.cs | 4 ++-- csharp-oop-simplified2/Program.cs | 8 ++++---- 7 files changed, 12 insertions(+), 12 deletions(-) diff --git a/csharp-oop-simplified2/Application/AccountApplicationService.cs b/csharp-oop-simplified2/Application/AccountApplicationService.cs index 3efda42..4b09838 100644 --- a/csharp-oop-simplified2/Application/AccountApplicationService.cs +++ b/csharp-oop-simplified2/Application/AccountApplicationService.cs @@ -1,6 +1,6 @@ -using CsharpOopSimplified2.Domain; +using CsharpFp1.Domain; -namespace CsharpOopSimplified2.Application; +namespace CsharpFp1.Application; public static class AccountApplicationService { diff --git a/csharp-oop-simplified2/Domain/Account.cs b/csharp-oop-simplified2/Domain/Account.cs index 5a3e671..e17e2ab 100644 --- a/csharp-oop-simplified2/Domain/Account.cs +++ b/csharp-oop-simplified2/Domain/Account.cs @@ -1,4 +1,4 @@ -namespace CsharpOopSimplified2.Domain; +namespace CsharpFp1.Domain; /// Domain entity / aggregate root representing a bank account public sealed class Account diff --git a/csharp-oop-simplified2/Domain/IAccountRepository.cs b/csharp-oop-simplified2/Domain/IAccountRepository.cs index 3425b46..a86cad5 100644 --- a/csharp-oop-simplified2/Domain/IAccountRepository.cs +++ b/csharp-oop-simplified2/Domain/IAccountRepository.cs @@ -1,4 +1,4 @@ -namespace CsharpOopSimplified2.Domain; +namespace CsharpFp1.Domain; /// Repository abstraction used to load and save accounts public interface IAccountRepository diff --git a/csharp-oop-simplified2/Domain/InsufficientBalanceException.cs b/csharp-oop-simplified2/Domain/InsufficientBalanceException.cs index 30658fa..08333ad 100644 --- a/csharp-oop-simplified2/Domain/InsufficientBalanceException.cs +++ b/csharp-oop-simplified2/Domain/InsufficientBalanceException.cs @@ -1,4 +1,4 @@ -namespace CsharpOopSimplified2.Domain; +namespace CsharpFp1.Domain; /// Custom domain exception thrown when a withdrawal would cause the balance to go below zero public sealed class InsufficientBalanceException : InvalidOperationException diff --git a/csharp-oop-simplified2/Domain/Money.cs b/csharp-oop-simplified2/Domain/Money.cs index 2156789..61f1c2f 100644 --- a/csharp-oop-simplified2/Domain/Money.cs +++ b/csharp-oop-simplified2/Domain/Money.cs @@ -1,4 +1,4 @@ -namespace CsharpOopSimplified2.Domain; +namespace CsharpFp1.Domain; /// Value object used to represent money and enforce simple invariants. /// Note that this implementation uses immutable patterns for the data diff --git a/csharp-oop-simplified2/Infrastructure/InMemoryAccountRepository.cs b/csharp-oop-simplified2/Infrastructure/InMemoryAccountRepository.cs index cd73b80..0f1ce9b 100644 --- a/csharp-oop-simplified2/Infrastructure/InMemoryAccountRepository.cs +++ b/csharp-oop-simplified2/Infrastructure/InMemoryAccountRepository.cs @@ -1,6 +1,6 @@ -using CsharpOopSimplified2.Domain; +using CsharpFp1.Domain; -namespace CsharpOopSimplified2.Infrastructure; +namespace CsharpFp1.Infrastructure; /// Simple in-memory repository for demonstration public class InMemoryAccountRepository : IAccountRepository diff --git a/csharp-oop-simplified2/Program.cs b/csharp-oop-simplified2/Program.cs index 2e6fee1..e5102be 100644 --- a/csharp-oop-simplified2/Program.cs +++ b/csharp-oop-simplified2/Program.cs @@ -1,8 +1,8 @@ -using CsharpOopSimplified2.Application; -using CsharpOopSimplified2.Domain; -using CsharpOopSimplified2.Infrastructure; +using CsharpFp1.Application; +using CsharpFp1.Domain; +using CsharpFp1.Infrastructure; -namespace CsharpOopSimplified2; +namespace CsharpFp1; public class Program {