копирования бибилотеки после бсорки
фикс предыдущего коммита
This commit is contained in:
parent
f92ed77c59
commit
f57191019d
@ -18,30 +18,6 @@ namespace DatabaseCore
|
|||||||
|
|
||||||
private readonly int _countMaxAttempt = 3;
|
private readonly int _countMaxAttempt = 3;
|
||||||
|
|
||||||
private static SecurityManager _securityManager;
|
|
||||||
|
|
||||||
private static readonly object _lockObject = new();
|
|
||||||
|
|
||||||
private SecurityManager() { }
|
|
||||||
|
|
||||||
/// <summary>
|
|
||||||
/// Singleton для класса
|
|
||||||
/// </summary>
|
|
||||||
public static SecurityManager GetInstance
|
|
||||||
{
|
|
||||||
get
|
|
||||||
{
|
|
||||||
if (_securityManager == null)
|
|
||||||
{
|
|
||||||
lock (_lockObject)
|
|
||||||
{
|
|
||||||
_securityManager = new SecurityManager();
|
|
||||||
}
|
|
||||||
}
|
|
||||||
return _securityManager;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
public Guid? User { get; set; }
|
public Guid? User { get; set; }
|
||||||
|
|
||||||
public List<Guid> Roles { get; set; }
|
public List<Guid> Roles { get; set; }
|
||||||
|
@ -5,7 +5,7 @@
|
|||||||
</PropertyGroup>
|
</PropertyGroup>
|
||||||
|
|
||||||
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|AnyCPU'">
|
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|AnyCPU'">
|
||||||
<OutputPath>..\..\ImplementationExtensions\</OutputPath>
|
<OutputPath></OutputPath>
|
||||||
</PropertyGroup>
|
</PropertyGroup>
|
||||||
|
|
||||||
<ItemGroup>
|
<ItemGroup>
|
||||||
@ -13,4 +13,8 @@
|
|||||||
<ProjectReference Include="..\SecurityBusinessLogic\SecurityBusinessLogic.csproj" />
|
<ProjectReference Include="..\SecurityBusinessLogic\SecurityBusinessLogic.csproj" />
|
||||||
</ItemGroup>
|
</ItemGroup>
|
||||||
|
|
||||||
|
<Target Name="PostBuild" AfterTargets="PostBuildEvent">
|
||||||
|
<Exec Command="copy /Y "$(TargetDir)$(ProjectName).dll" "$(SolutionDir)ImplementationExtensions\$(ProjectName).dll"" />
|
||||||
|
</Target>
|
||||||
|
|
||||||
</Project>
|
</Project>
|
||||||
|
@ -6,7 +6,7 @@
|
|||||||
</PropertyGroup>
|
</PropertyGroup>
|
||||||
|
|
||||||
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|AnyCPU'">
|
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|AnyCPU'">
|
||||||
<OutputPath>..\..\WindowDestopExtensions\</OutputPath>
|
<OutputPath></OutputPath>
|
||||||
</PropertyGroup>
|
</PropertyGroup>
|
||||||
|
|
||||||
<ItemGroup>
|
<ItemGroup>
|
||||||
@ -21,4 +21,8 @@
|
|||||||
<ProjectReference Include="..\SecurityBusinessLogic\SecurityBusinessLogic.csproj" />
|
<ProjectReference Include="..\SecurityBusinessLogic\SecurityBusinessLogic.csproj" />
|
||||||
</ItemGroup>
|
</ItemGroup>
|
||||||
|
|
||||||
|
<Target Name="PostBuild" AfterTargets="PostBuildEvent">
|
||||||
|
<Exec Command="copy /Y "$(TargetDir)$(ProjectName).dll" "$(SolutionDir)WindowDestopExtensions\$(ProjectName).dll"" />
|
||||||
|
</Target>
|
||||||
|
|
||||||
</Project>
|
</Project>
|
||||||
|
Loading…
Reference in New Issue
Block a user