mirror of
https://github.com/BeyondDimension/SteamTools.git
synced 2026-10-28 23:19:53 +08:00
update readme.md migrate V2 1%
This commit is contained in:
@@ -1,9 +1,10 @@
|
||||
using SQLite;
|
||||
using System.Diagnostics;
|
||||
using SQLiteTable = SQLite.TableAttribute;
|
||||
|
||||
namespace System.Application.Entities
|
||||
{
|
||||
[Table("D5428AED")]
|
||||
[SQLiteTable("D5428AED")]
|
||||
[DebuggerDisplay("{DebuggerDisplay,nq}")]
|
||||
public sealed class User : IEntity<Guid>
|
||||
{
|
||||
|
||||
@@ -0,0 +1,20 @@
|
||||
using Microsoft.Extensions.DependencyInjection.Extensions;
|
||||
using System;
|
||||
using System.Application.Services;
|
||||
using System.Application.Services.Implementation;
|
||||
using System.Collections.Generic;
|
||||
using System.Text;
|
||||
|
||||
// ReSharper disable once CheckNamespace
|
||||
namespace Microsoft.Extensions.DependencyInjection
|
||||
{
|
||||
public static class IdentityServiceCollectionExtensions
|
||||
{
|
||||
public static IServiceCollection TryAddUserManager(this IServiceCollection services)
|
||||
{
|
||||
services.TryAddSingleton<ISecurityService, SecurityService>();
|
||||
services.TryAddSingleton<IUserManager, UserManager>();
|
||||
return services;
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -13,6 +13,7 @@
|
||||
</ItemGroup>
|
||||
|
||||
<ItemGroup>
|
||||
<ProjectReference Include="..\System.Application.Repositories.sqlite-net-pcl\System.Application.Repositories.sqlite-net-pcl.csproj" />
|
||||
<ProjectReference Include="..\System.Application.SteamTools.Services.CloudService\System.Application.SteamTools.Services.CloudService.csproj" />
|
||||
<ProjectReference Include="..\System.Application.SteamTools\System.Application.SteamTools.csproj" />
|
||||
<ProjectReference Include="..\System.Common.ClientLib\System.Common.ClientLib.csproj" />
|
||||
|
||||
Reference in New Issue
Block a user