mirror of
https://github.com/aljazceru/BTCPayServerPlugins.git
synced 2025-12-17 07:34:24 +01:00
updates
This commit is contained in:
@@ -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;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user