fix project names
This commit is contained in:
@@ -1,6 +1,6 @@
|
|||||||
using CsharpOopSimplified2.Domain;
|
using CsharpFp1.Domain;
|
||||||
|
|
||||||
namespace CsharpOopSimplified2.Application;
|
namespace CsharpFp1.Application;
|
||||||
|
|
||||||
public static class AccountApplicationService
|
public static class AccountApplicationService
|
||||||
{
|
{
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
namespace CsharpOopSimplified2.Domain;
|
namespace CsharpFp1.Domain;
|
||||||
|
|
||||||
/// Domain entity / aggregate root representing a bank account
|
/// Domain entity / aggregate root representing a bank account
|
||||||
public sealed class Account
|
public sealed class Account
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
namespace CsharpOopSimplified2.Domain;
|
namespace CsharpFp1.Domain;
|
||||||
|
|
||||||
/// Repository abstraction used to load and save accounts
|
/// Repository abstraction used to load and save accounts
|
||||||
public interface IAccountRepository
|
public interface IAccountRepository
|
||||||
|
|||||||
@@ -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
|
/// Custom domain exception thrown when a withdrawal would cause the balance to go below zero
|
||||||
public sealed class InsufficientBalanceException : InvalidOperationException
|
public sealed class InsufficientBalanceException : InvalidOperationException
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
namespace CsharpOopSimplified2.Domain;
|
namespace CsharpFp1.Domain;
|
||||||
|
|
||||||
/// Value object used to represent money and enforce simple invariants.
|
/// Value object used to represent money and enforce simple invariants.
|
||||||
/// Note that this implementation uses immutable patterns for the data
|
/// Note that this implementation uses immutable patterns for the data
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
using CsharpOopSimplified2.Domain;
|
using CsharpFp1.Domain;
|
||||||
|
|
||||||
namespace CsharpOopSimplified2.Infrastructure;
|
namespace CsharpFp1.Infrastructure;
|
||||||
|
|
||||||
/// Simple in-memory repository for demonstration
|
/// Simple in-memory repository for demonstration
|
||||||
public class InMemoryAccountRepository : IAccountRepository
|
public class InMemoryAccountRepository : IAccountRepository
|
||||||
|
|||||||
@@ -1,8 +1,8 @@
|
|||||||
using CsharpOopSimplified2.Application;
|
using CsharpFp1.Application;
|
||||||
using CsharpOopSimplified2.Domain;
|
using CsharpFp1.Domain;
|
||||||
using CsharpOopSimplified2.Infrastructure;
|
using CsharpFp1.Infrastructure;
|
||||||
|
|
||||||
namespace CsharpOopSimplified2;
|
namespace CsharpFp1;
|
||||||
|
|
||||||
public class Program
|
public class Program
|
||||||
{
|
{
|
||||||
|
|||||||
Reference in New Issue
Block a user