mirror of
https://github.com/aljazceru/btcpayserver.git
synced 2026-01-08 00:24:23 +01:00
24 lines
657 B
C#
24 lines
657 B
C#
using System;
|
|
using System.Collections.Generic;
|
|
using System.Linq;
|
|
using System.Threading.Tasks;
|
|
|
|
namespace BTCPayServer.Configuration.External
|
|
{
|
|
public interface IAccessKeyService
|
|
{
|
|
SparkConnectionString ConnectionString { get; }
|
|
}
|
|
public class ExternalSpark : ExternalService, IAccessKeyService
|
|
{
|
|
public SparkConnectionString ConnectionString { get; }
|
|
|
|
public ExternalSpark(SparkConnectionString connectionString)
|
|
{
|
|
if (connectionString == null)
|
|
throw new ArgumentNullException(nameof(connectionString));
|
|
ConnectionString = connectionString;
|
|
}
|
|
}
|
|
}
|