2024-10-07 21:33:53 +09:00
|
|
|
using System;
|
2020-11-17 13:46:23 +01:00
|
|
|
using BTCPayServer.Abstractions.Contracts;
|
|
|
|
|
|
|
|
namespace BTCPayServer.Abstractions.Services
|
2020-10-15 14:28:09 +02:00
|
|
|
{
|
2021-12-31 16:59:02 +09:00
|
|
|
public class UIExtension : IUIExtension
|
2020-10-15 14:28:09 +02:00
|
|
|
{
|
2024-10-07 21:33:53 +09:00
|
|
|
[Obsolete("Use extension method BTCPayServer.Extensions.AddUIExtension(this IServiceCollection services, string location, string partialViewName) instead")]
|
2020-10-21 14:02:20 +02:00
|
|
|
public UIExtension(string partial, string location)
|
2020-10-15 14:28:09 +02:00
|
|
|
{
|
|
|
|
Partial = partial;
|
|
|
|
Location = location;
|
|
|
|
}
|
|
|
|
|
|
|
|
public string Partial { get; }
|
|
|
|
public string Location { get; }
|
|
|
|
}
|
|
|
|
}
|