mirror of
https://github.com/BeyondDimension/SteamTools.git
synced 2026-10-21 09:02:26 +08:00
fix2
This commit is contained in:
@@ -61,7 +61,7 @@ namespace Microsoft.Extensions.DependencyInjection
|
||||
/// <returns></returns>
|
||||
public static IServiceCollection AddConfigFileService(this IServiceCollection services)
|
||||
{
|
||||
services.AddSingleton<IConfigFileService>(new ConfigFileServiceImpl());
|
||||
services.AddSingleton<IConfigFileService, ConfigFileServiceImpl>();
|
||||
return services;
|
||||
}
|
||||
|
||||
|
||||
@@ -118,7 +118,7 @@ namespace System.Application.Services
|
||||
}
|
||||
|
||||
/// <inheritdoc cref="OperationResultBase{T}.OperationResultBase(OperationResultType, string, T)"/>
|
||||
public OperationResult(OperationResultType resultType, string message, T appendData) : base(resultType, message, appendData)
|
||||
public OperationResult(OperationResultType resultType, string message, object? appendData) : base(resultType, message, appendData)
|
||||
{
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user