mirror of
https://github.com/BeyondDimension/SteamTools.git
synced 2026-10-17 05:30:48 +08:00
🚧 Misc
This commit is contained in:
@@ -3,6 +3,10 @@ namespace BD.WTTS.Plugins;
|
||||
/// <summary>
|
||||
/// 插件重复类型
|
||||
/// </summary>
|
||||
[Mobius(
|
||||
"""
|
||||
Mobius.Enums.Plugins.PluginRepetitionType
|
||||
""")]
|
||||
public enum PluginRepetitionType : byte
|
||||
{
|
||||
Id = 5,
|
||||
|
||||
@@ -6,6 +6,11 @@ namespace BD.WTTS.Plugins;
|
||||
/// <typeparam name="TData">结果数据类型</typeparam>
|
||||
/// <param name="IsDisable">是否禁用</param>
|
||||
/// <param name="Data">插件数据</param>
|
||||
[Mobius(
|
||||
"""
|
||||
Mobius.Plugins.Abstractions.IPluginResult
|
||||
Mobius.Plugins.FrontendPluginResult
|
||||
""")]
|
||||
public sealed class PluginResult<TData>
|
||||
: ReactiveObject, IEquatable<PluginResult<TData>>,
|
||||
IEquatable<TData>, IReactiveObject
|
||||
|
||||
@@ -4,6 +4,10 @@ using static BD.WTTS.AssemblyInfo;
|
||||
|
||||
namespace BD.WTTS.Plugins;
|
||||
|
||||
[Mobius(
|
||||
"""
|
||||
Mobius.Plugins.PluginsCore
|
||||
""")]
|
||||
public static class PluginsCore
|
||||
{
|
||||
const string TAG = nameof(PluginsCore);
|
||||
|
||||
@@ -1,6 +1,7 @@
|
||||
// ReSharper disable once CheckNamespace
|
||||
namespace BD.WTTS.Repositories.Abstractions;
|
||||
|
||||
[Mobius(Obsolete = true)]
|
||||
public interface INotificationRepository : IRepository<Notification, Guid>
|
||||
{
|
||||
Task<IList<Notification>> GetAllAsync(Expression<Func<Notification, bool>>? expression = null, CancellationToken cancellationToken = default);
|
||||
|
||||
@@ -1,6 +1,7 @@
|
||||
// ReSharper disable once CheckNamespace
|
||||
namespace BD.WTTS.Repositories;
|
||||
|
||||
[Mobius(Obsolete = true)]
|
||||
internal sealed class NotificationRepository : Repository<Notification, Guid>, INotificationRepository
|
||||
{
|
||||
public async Task<IList<Notification>> GetAllAsync(Expression<Func<Notification, bool>>? expression = null, CancellationToken cancellationToken = default)
|
||||
|
||||
@@ -1,6 +1,10 @@
|
||||
// ReSharper disable once CheckNamespace
|
||||
namespace BD.WTTS.Services;
|
||||
|
||||
[Mobius(
|
||||
"""
|
||||
Mobius.Services.Abstractions.IProxyService
|
||||
""")]
|
||||
public interface IProxyService : IDisposable, IAsyncDisposable
|
||||
{
|
||||
bool ProxyStatus { get; set; }
|
||||
|
||||
Reference in New Issue
Block a user