Skip to content

Commit

Permalink
fix2
Browse files Browse the repository at this point in the history
  • Loading branch information
AigioL committed Feb 24, 2021
1 parent 5de3925 commit 80e379f
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ public static IServiceCollection AddDesktopLogging(this IServiceCollection servi
/// <returns></returns>
public static IServiceCollection AddConfigFileService(this IServiceCollection services)
{
services.AddSingleton<IConfigFileService>(new ConfigFileServiceImpl());
services.AddSingleton<IConfigFileService, ConfigFileServiceImpl>();
return services;
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -118,7 +118,7 @@ public OperationResult(OperationResultType resultType, string message) : base(re
}

/// <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)
{
}

Expand Down

0 comments on commit 80e379f

Please sign in to comment.