This commit is contained in:
Kukks
2023-07-04 14:16:06 +02:00
parent c65dc2fbfd
commit 241e319e46
16 changed files with 675 additions and 464 deletions

View File

@@ -1,3 +1,25 @@
namespace BTCPayServer.Plugins.Prism;
using System.Collections.Generic;
public record Split(string Source, PrismSplit[] Destinations);
namespace BTCPayServer.Plugins.Prism;
public class Split
{
public Split()
{
}
public Split(string Source, List<PrismSplit> Destinations)
{
this.Source = Source;
this.Destinations = Destinations;
}
public string Source { get; set; }
public List<PrismSplit> Destinations { get; init; } = new();
public void Deconstruct(out string Source, out List<PrismSplit> Destinations)
{
Source = this.Source;
Destinations = this.Destinations;
}
}