mirror of
https://github.com/ysoftdevs/Theatrical-Players-Refactoring-Kata.git
synced 2026-04-27 03:09:37 +02:00
add csharp version to the exercice
This commit is contained in:
20
csharp/TheatricalPlayersRefactoringKata/Invoice.cs
Normal file
20
csharp/TheatricalPlayersRefactoringKata/Invoice.cs
Normal file
@@ -0,0 +1,20 @@
|
||||
using System.Collections.Generic;
|
||||
|
||||
namespace TheatricalPlayersRefactoringKata
|
||||
{
|
||||
public class Invoice
|
||||
{
|
||||
private string _customer;
|
||||
private List<Performance> _performances;
|
||||
|
||||
public string Customer { get => _customer; set => _customer = value; }
|
||||
public List<Performance> Performances { get => _performances; set => _performances = value; }
|
||||
|
||||
public Invoice(string customer, List<Performance> performance)
|
||||
{
|
||||
this._customer = customer;
|
||||
this._performances = performance;
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user