added groupUseCase, GroupConsole and changed GroupRepository and MainMenu with Program
This commit is contained in:
commit
2043a0253a
13
Data/LocalData/Entity/Group.cs
Normal file
13
Data/LocalData/Entity/Group.cs
Normal file
@ -0,0 +1,13 @@
|
|||||||
|
using System;
|
||||||
|
using System.Collections.Generic;
|
||||||
|
using System.Linq;
|
||||||
|
using System.Text;
|
||||||
|
using System.Threading.Tasks;
|
||||||
|
|
||||||
|
namespace Posechaemost.Data.LocalData.Entity
|
||||||
|
{
|
||||||
|
public class GroupLocalEntity{
|
||||||
|
public required int Id {get; set;}
|
||||||
|
public required string Name {get; set;}
|
||||||
|
}
|
||||||
|
}
|
15
Data/LocalData/Entity/Presence.cs
Normal file
15
Data/LocalData/Entity/Presence.cs
Normal file
@ -0,0 +1,15 @@
|
|||||||
|
using System;
|
||||||
|
using System.Collections.Generic;
|
||||||
|
using System.Linq;
|
||||||
|
using System.Text;
|
||||||
|
using System.Threading.Tasks;
|
||||||
|
|
||||||
|
namespace Posechaemost.Data.LocalData.Entity
|
||||||
|
{
|
||||||
|
public class PresenceLocalEntity{
|
||||||
|
public DateOnly Date {get; set;}
|
||||||
|
public int ClassNumber {get; set;}
|
||||||
|
public bool IsAttendence {get; set;}
|
||||||
|
public required Guid UserGuid {get; set;}
|
||||||
|
}
|
||||||
|
}
|
21
Data/LocalData/Entity/User.cs
Normal file
21
Data/LocalData/Entity/User.cs
Normal file
@ -0,0 +1,21 @@
|
|||||||
|
using System;
|
||||||
|
using System.Collections.Generic;
|
||||||
|
using System.Linq;
|
||||||
|
using System.Text;
|
||||||
|
using System.Threading.Tasks;
|
||||||
|
|
||||||
|
namespace Posechaemost.Data.LocalData.Entity
|
||||||
|
{
|
||||||
|
public class UserLocalEntity : IEquatable<UserLocalEntity>
|
||||||
|
{
|
||||||
|
public required string FIO {get; set; }
|
||||||
|
public Guid Guid {get; set;}
|
||||||
|
public required int GroupID {get; set;}
|
||||||
|
|
||||||
|
public bool Equals(UserLocalEntity? other)
|
||||||
|
{
|
||||||
|
if (other == null) return false;
|
||||||
|
return this.Guid.Equals(other.Guid);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
31
Data/LocalData/LocalStaticData.cs
Normal file
31
Data/LocalData/LocalStaticData.cs
Normal file
@ -0,0 +1,31 @@
|
|||||||
|
using System;
|
||||||
|
using System.Collections.Generic;
|
||||||
|
using System.Linq;
|
||||||
|
using System.Net.NetworkInformation;
|
||||||
|
using System.Text;
|
||||||
|
using System.Threading.Tasks;
|
||||||
|
using Posechaemost.Data.LocalData.Entity;
|
||||||
|
|
||||||
|
namespace Posechaemost.Data.LocalData
|
||||||
|
{
|
||||||
|
public static class LocalStaticData
|
||||||
|
{
|
||||||
|
public static List<GroupLocalEntity> groups => new List<GroupLocalEntity>
|
||||||
|
|
||||||
|
{
|
||||||
|
new GroupLocalEntity{ Id = 1, Name = "ИП1-21" },
|
||||||
|
new GroupLocalEntity{ Id = 2, Name = "ИП1-22" },
|
||||||
|
new GroupLocalEntity{ Id = 3, Name = "ИП1-23" },
|
||||||
|
};
|
||||||
|
|
||||||
|
public static List<UserLocalEntity> users => new List<UserLocalEntity>
|
||||||
|
{
|
||||||
|
new UserLocalEntity{Guid=Guid.Parse("e6b9964d-ea9f-420a-84b9-af9633bbfab9"), FIO = "RandomFio", GroupID = 1 },
|
||||||
|
new UserLocalEntity{Guid=Guid.Parse("8388d931-5bef-41be-a152-78f1aca980ed"), FIO = "RandomFio1", GroupID = 2 },
|
||||||
|
new UserLocalEntity{Guid=Guid.Parse("ed174548-49ed-4503-a902-c970cbf27173"), FIO = "RandomFio2", GroupID = 3 },
|
||||||
|
new UserLocalEntity{Guid=Guid.Parse("614c0a23-5bd5-43ae-b48e-d5750afbc282"), FIO = "RandomFio3", GroupID = 1 },
|
||||||
|
new UserLocalEntity{Guid=Guid.Parse("efcc1473-c116-4244-b3f7-f2341a5c3003"), FIO = "RandomFio4", GroupID = 2 },
|
||||||
|
new UserLocalEntity{Guid=Guid.Parse("60640fb3-ace2-4cad-81d5-a0a58bc2dbbd"), FIO = "RandomFio5", GroupID = 3 },
|
||||||
|
};
|
||||||
|
}
|
||||||
|
}
|
27
Data/Repository/GroupRepositoryImpl.cs
Normal file
27
Data/Repository/GroupRepositoryImpl.cs
Normal file
@ -0,0 +1,27 @@
|
|||||||
|
|
||||||
|
using System;
|
||||||
|
using System.Collections.Generic;
|
||||||
|
using System.Linq;
|
||||||
|
using System.Text;
|
||||||
|
using System.Text.RegularExpressions;
|
||||||
|
using System.Threading.Tasks;
|
||||||
|
using Posechaemost.Data.LocalData;
|
||||||
|
using Posechaemost.Data.LocalData.Entity;
|
||||||
|
|
||||||
|
namespace Posechaemost.Data.Repository
|
||||||
|
{
|
||||||
|
public class GroupRepositoryImpl
|
||||||
|
{
|
||||||
|
public List<GroupLocalEntity> GetAllGroups() => LocalStaticData.groups;
|
||||||
|
public GroupLocalEntity? UpdateGroup(GroupLocalEntity groupUpdateLocalEnity)
|
||||||
|
{
|
||||||
|
GroupLocalEntity? groupLocal = GetAllGroups()
|
||||||
|
.Where(x => x.Id == groupUpdateLocalEnity.Id).FirstOrDefault();
|
||||||
|
if (groupLocal == null) return null;
|
||||||
|
groupLocal.Id = groupUpdateLocalEnity.Id;
|
||||||
|
groupLocal.Name = groupUpdateLocalEnity.Name;
|
||||||
|
return groupLocal;
|
||||||
|
}
|
||||||
|
|
||||||
|
}
|
||||||
|
}
|
48
Data/Repository/UserRepositoryImpl.cs
Normal file
48
Data/Repository/UserRepositoryImpl.cs
Normal file
@ -0,0 +1,48 @@
|
|||||||
|
using System;
|
||||||
|
using System.Collections.Generic;
|
||||||
|
using System.Linq;
|
||||||
|
using System.Security.Cryptography.X509Certificates;
|
||||||
|
using System.Text;
|
||||||
|
using System.Threading.Tasks;
|
||||||
|
using Posechaemost.Data.LocalData;
|
||||||
|
using Posechaemost.Data.LocalData.Entity;
|
||||||
|
|
||||||
|
namespace Posechaemost.Data.Repository
|
||||||
|
{
|
||||||
|
public class UserRepositoryImpl
|
||||||
|
{
|
||||||
|
public UserRepositoryImpl() {
|
||||||
|
|
||||||
|
GetAllUsers = LocalStaticData.users;
|
||||||
|
}
|
||||||
|
public List<UserLocalEntity> GetAllUsers
|
||||||
|
{ get; set; }
|
||||||
|
|
||||||
|
public bool RemoveUserByGuid(Guid userGuid)
|
||||||
|
{
|
||||||
|
UserLocalEntity? userLocal = GetAllUsers
|
||||||
|
.Where(x => x.Guid == userGuid).FirstOrDefault();
|
||||||
|
if (userLocal == null) return false;
|
||||||
|
|
||||||
|
return GetAllUsers.Remove(userLocal);
|
||||||
|
}
|
||||||
|
|
||||||
|
public UserLocalEntity? GetUserByGuid(Guid userGuid) {
|
||||||
|
UserLocalEntity? userLocal = GetAllUsers
|
||||||
|
.Where(x => x.Guid == userGuid).FirstOrDefault();
|
||||||
|
if (userLocal == null) return null;
|
||||||
|
|
||||||
|
return userLocal;
|
||||||
|
}
|
||||||
|
|
||||||
|
public UserLocalEntity? UpdateUser(UserLocalEntity userUpdateLocalEnity) {
|
||||||
|
UserLocalEntity? userLocal = GetAllUsers
|
||||||
|
.Where(x => x.Guid == userUpdateLocalEnity.Guid).FirstOrDefault();
|
||||||
|
if (userLocal == null) return null;
|
||||||
|
userLocal.FIO = userUpdateLocalEnity.FIO;
|
||||||
|
userLocal.GroupID = userUpdateLocalEnity.GroupID;
|
||||||
|
return userLocal;
|
||||||
|
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
13
Domain/Models/Group.cs
Normal file
13
Domain/Models/Group.cs
Normal file
@ -0,0 +1,13 @@
|
|||||||
|
using System;
|
||||||
|
using System.Collections.Generic;
|
||||||
|
using System.Linq;
|
||||||
|
using System.Text;
|
||||||
|
using System.Threading.Tasks;
|
||||||
|
|
||||||
|
namespace Posechaemost.Domain.Models
|
||||||
|
{
|
||||||
|
public class Group{
|
||||||
|
public required int Id {get; set;}
|
||||||
|
public required string Name {get; set;}
|
||||||
|
}
|
||||||
|
}
|
15
Domain/Models/Presence.cs
Normal file
15
Domain/Models/Presence.cs
Normal file
@ -0,0 +1,15 @@
|
|||||||
|
using System;
|
||||||
|
using System.Collections.Generic;
|
||||||
|
using System.Linq;
|
||||||
|
using System.Text;
|
||||||
|
using System.Threading.Tasks;
|
||||||
|
|
||||||
|
namespace Posechaemost.Domain.Models
|
||||||
|
{
|
||||||
|
public class Presence{
|
||||||
|
public DateOnly Date {get; set;}
|
||||||
|
public int ClassNumber {get; set;}
|
||||||
|
public bool IsAttendence {get; set;}
|
||||||
|
public required User User {get; set;}
|
||||||
|
}
|
||||||
|
}
|
14
Domain/Models/User.cs
Normal file
14
Domain/Models/User.cs
Normal file
@ -0,0 +1,14 @@
|
|||||||
|
using System;
|
||||||
|
using System.Collections.Generic;
|
||||||
|
using System.Linq;
|
||||||
|
using System.Text;
|
||||||
|
using System.Threading.Tasks;
|
||||||
|
|
||||||
|
namespace Posechaemost.Domain.Models
|
||||||
|
{
|
||||||
|
public class User{
|
||||||
|
public required string FIO {get; set; }
|
||||||
|
public Guid Guid {get; set;}
|
||||||
|
public required Group Group {get; set;}
|
||||||
|
}
|
||||||
|
}
|
33
Domain/UseCase/GroupUseCase.cs
Normal file
33
Domain/UseCase/GroupUseCase.cs
Normal file
@ -0,0 +1,33 @@
|
|||||||
|
using Posechaemost.Data.LocalData.Entity;
|
||||||
|
using Posechaemost.Data.Repository;
|
||||||
|
using Posechaemost.Domain.Models;
|
||||||
|
using System;
|
||||||
|
using System.Collections.Generic;
|
||||||
|
using System.Linq;
|
||||||
|
using System.Text;
|
||||||
|
using System.Threading.Tasks;
|
||||||
|
|
||||||
|
namespace Posechaemost.Domain.UseCase
|
||||||
|
{
|
||||||
|
public class GroupUseCase
|
||||||
|
{
|
||||||
|
private GroupRepositoryImpl _repositoryGroupImpl;
|
||||||
|
|
||||||
|
public GroupUseCase(GroupRepositoryImpl repositoryGroupImpl)
|
||||||
|
{
|
||||||
|
_repositoryGroupImpl = repositoryGroupImpl;
|
||||||
|
}
|
||||||
|
|
||||||
|
public List<Group> GetAllGroups() => _repositoryGroupImpl.GetAllGroups()
|
||||||
|
.Select(it => new Group { Id = it.Id, Name = it.Name}).ToList();
|
||||||
|
|
||||||
|
public Group UpdateGroupName(Group grou) {
|
||||||
|
GroupLocalEntity groupLocalEntity = new GroupLocalEntity {Id = grou.Id, Name = grou.Name};
|
||||||
|
GroupLocalEntity? result = _repositoryGroupImpl.UpdateGroup(groupLocalEntity);
|
||||||
|
if (result == null) throw new Exception("");
|
||||||
|
Group? group = GetAllGroups().FirstOrDefault(it => it.Id == result!.Id);
|
||||||
|
if (group == null) throw new Exception("");
|
||||||
|
return new Group {Id = group.Id, Name = group.Name};
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
48
Domain/UseCase/UserUseCase.cs
Normal file
48
Domain/UseCase/UserUseCase.cs
Normal file
@ -0,0 +1,48 @@
|
|||||||
|
using Posechaemost.Data.LocalData.Entity;
|
||||||
|
using Posechaemost.Data.Repository;
|
||||||
|
using Posechaemost.Domain.Models;
|
||||||
|
using System;
|
||||||
|
using System.Collections.Generic;
|
||||||
|
using System.Linq;
|
||||||
|
using System.Text;
|
||||||
|
using System.Threading.Tasks;
|
||||||
|
|
||||||
|
namespace Posechaemost.Domain.UseCase
|
||||||
|
{
|
||||||
|
public class UserUseCase
|
||||||
|
{
|
||||||
|
private UserRepositoryImpl _repositoryUserImpl;
|
||||||
|
private GroupRepositoryImpl _repositoryGroupImpl;
|
||||||
|
|
||||||
|
public UserUseCase(UserRepositoryImpl repositoryImpl, GroupRepositoryImpl repositoryGroupImpl)
|
||||||
|
{
|
||||||
|
_repositoryUserImpl = repositoryImpl;
|
||||||
|
_repositoryGroupImpl = repositoryGroupImpl;
|
||||||
|
}
|
||||||
|
|
||||||
|
public List<Group> GetAllGroups() => _repositoryGroupImpl.GetAllGroups()
|
||||||
|
.Select(it => new Group { Id = it.Id, Name = it.Name}).ToList();
|
||||||
|
public List<User> GetAllUsers() => _repositoryUserImpl.GetAllUsers
|
||||||
|
.Join(_repositoryGroupImpl.GetAllGroups(),
|
||||||
|
user => user.GroupID,
|
||||||
|
group => group.Id,
|
||||||
|
(user, group) =>
|
||||||
|
new User { FIO = user.FIO,
|
||||||
|
Guid = user.Guid,
|
||||||
|
Group = new Group {Id = group.Id, Name = group.Name } }
|
||||||
|
).ToList();
|
||||||
|
|
||||||
|
|
||||||
|
public bool RemoveUserByGuid(Guid userGuid) {
|
||||||
|
return _repositoryUserImpl.RemoveUserByGuid(userGuid);
|
||||||
|
}
|
||||||
|
public User UpdateUser(User user) {
|
||||||
|
UserLocalEntity userLocalEnity = new UserLocalEntity { FIO = user.FIO, GroupID = user.Group.Id, Guid = user.Guid };
|
||||||
|
UserLocalEntity? result = _repositoryUserImpl.UpdateUser(userLocalEnity);
|
||||||
|
if (result == null) throw new Exception("");
|
||||||
|
Group? group = GetAllGroups().FirstOrDefault(it => it.Id == result!.GroupID);
|
||||||
|
if (group == null) throw new Exception("");
|
||||||
|
return new User { FIO = user.FIO, Guid = user.Guid, Group = group};
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
10
Posechaemost.csproj
Normal file
10
Posechaemost.csproj
Normal file
@ -0,0 +1,10 @@
|
|||||||
|
<Project Sdk="Microsoft.NET.Sdk">
|
||||||
|
|
||||||
|
<PropertyGroup>
|
||||||
|
<OutputType>Exe</OutputType>
|
||||||
|
<TargetFramework>net8.0</TargetFramework>
|
||||||
|
<ImplicitUsings>enable</ImplicitUsings>
|
||||||
|
<Nullable>enable</Nullable>
|
||||||
|
</PropertyGroup>
|
||||||
|
|
||||||
|
</Project>
|
25
Posechaemost.sln
Normal file
25
Posechaemost.sln
Normal file
@ -0,0 +1,25 @@
|
|||||||
|
|
||||||
|
Microsoft Visual Studio Solution File, Format Version 12.00
|
||||||
|
# Visual Studio Version 17
|
||||||
|
VisualStudioVersion = 17.5.002.0
|
||||||
|
MinimumVisualStudioVersion = 10.0.40219.1
|
||||||
|
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "Posechaemost", "Posechaemost.csproj", "{22811DCB-9E90-438A-9004-9EADA47D20CF}"
|
||||||
|
EndProject
|
||||||
|
Global
|
||||||
|
GlobalSection(SolutionConfigurationPlatforms) = preSolution
|
||||||
|
Debug|Any CPU = Debug|Any CPU
|
||||||
|
Release|Any CPU = Release|Any CPU
|
||||||
|
EndGlobalSection
|
||||||
|
GlobalSection(ProjectConfigurationPlatforms) = postSolution
|
||||||
|
{22811DCB-9E90-438A-9004-9EADA47D20CF}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
|
||||||
|
{22811DCB-9E90-438A-9004-9EADA47D20CF}.Debug|Any CPU.Build.0 = Debug|Any CPU
|
||||||
|
{22811DCB-9E90-438A-9004-9EADA47D20CF}.Release|Any CPU.ActiveCfg = Release|Any CPU
|
||||||
|
{22811DCB-9E90-438A-9004-9EADA47D20CF}.Release|Any CPU.Build.0 = Release|Any CPU
|
||||||
|
EndGlobalSection
|
||||||
|
GlobalSection(SolutionProperties) = preSolution
|
||||||
|
HideSolutionNode = FALSE
|
||||||
|
EndGlobalSection
|
||||||
|
GlobalSection(ExtensibilityGlobals) = postSolution
|
||||||
|
SolutionGuid = {44F46F8A-F460-4DD7-A059-E486BBB0CC84}
|
||||||
|
EndGlobalSection
|
||||||
|
EndGlobal
|
10
Program.cs
Normal file
10
Program.cs
Normal file
@ -0,0 +1,10 @@
|
|||||||
|
using Posechaemost.Data.Repository;
|
||||||
|
using Posechaemost.Domain.UseCase;
|
||||||
|
using Posechaemost.UI;
|
||||||
|
|
||||||
|
GroupRepositoryImpl groupRepositoryImpl = new GroupRepositoryImpl();
|
||||||
|
UserRepositoryImpl userRepositoryImpl = new UserRepositoryImpl();
|
||||||
|
UserUseCase userUseCase = new UserUseCase(userRepositoryImpl, groupRepositoryImpl);
|
||||||
|
GroupUseCase groupUseCase = new GroupUseCase(groupRepositoryImpl);
|
||||||
|
|
||||||
|
MainMenuUI mainMenuUI = new MainMenuUI(userUseCase, groupUseCase);
|
27
UI/GroupConsole.cs
Normal file
27
UI/GroupConsole.cs
Normal file
@ -0,0 +1,27 @@
|
|||||||
|
using Posechaemost.Domain.UseCase;
|
||||||
|
using System;
|
||||||
|
using System.Collections.Generic;
|
||||||
|
using System.Linq;
|
||||||
|
using System.Text;
|
||||||
|
using System.Threading.Tasks;
|
||||||
|
|
||||||
|
namespace Posechaemost.UI
|
||||||
|
{
|
||||||
|
public class GroupConsoleUI
|
||||||
|
{
|
||||||
|
GroupUseCase _groupUseCase;
|
||||||
|
public GroupConsoleUI(GroupUseCase groupUseCase) {
|
||||||
|
_groupUseCase = groupUseCase;
|
||||||
|
}
|
||||||
|
|
||||||
|
public void DisplayAllGroups()
|
||||||
|
{
|
||||||
|
StringBuilder groupOutput = new StringBuilder();
|
||||||
|
foreach (var group in _groupUseCase.GetAllGroups())
|
||||||
|
{
|
||||||
|
groupOutput.AppendLine($"{group.Id}\t{group.Name}");
|
||||||
|
}
|
||||||
|
Console.WriteLine(groupOutput);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
43
UI/MainMenu.cs
Normal file
43
UI/MainMenu.cs
Normal file
@ -0,0 +1,43 @@
|
|||||||
|
using Posechaemost.Domain.UseCase;
|
||||||
|
using System;
|
||||||
|
using System.Collections.Generic;
|
||||||
|
using System.Linq;
|
||||||
|
using System.Text;
|
||||||
|
using System.Threading.Tasks;
|
||||||
|
|
||||||
|
namespace Posechaemost.UI
|
||||||
|
{
|
||||||
|
public class MainMenuUI
|
||||||
|
{
|
||||||
|
|
||||||
|
UserConsoleUI _userConsoleUI;
|
||||||
|
GroupConsoleUI _groupConsoleUI;
|
||||||
|
|
||||||
|
public MainMenuUI(UserUseCase userUseCase, GroupUseCase groupUseCase)
|
||||||
|
{
|
||||||
|
_userConsoleUI = new UserConsoleUI(userUseCase);
|
||||||
|
_groupConsoleUI = new GroupConsoleUI(groupUseCase);
|
||||||
|
|
||||||
|
DisplayMenu();
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
private void DisplayMenu()
|
||||||
|
{
|
||||||
|
while (true)
|
||||||
|
{
|
||||||
|
switch (Console.ReadLine())
|
||||||
|
{
|
||||||
|
case "1": _userConsoleUI.DisplayAllUsers(); break;
|
||||||
|
case "2": _userConsoleUI.RemoveUserByGuid(Guid.Parse(Console.ReadLine())); break;
|
||||||
|
case "3": _groupConsoleUI.DisplayAllGroups(); break;
|
||||||
|
|
||||||
|
default: DisplayMenu();
|
||||||
|
break;
|
||||||
|
}
|
||||||
|
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
}
|
||||||
|
}
|
33
UI/UserConsole.cs
Normal file
33
UI/UserConsole.cs
Normal file
@ -0,0 +1,33 @@
|
|||||||
|
using Posechaemost.Domain.UseCase;
|
||||||
|
using System;
|
||||||
|
using System.Collections.Generic;
|
||||||
|
using System.Linq;
|
||||||
|
using System.Text;
|
||||||
|
using System.Threading.Tasks;
|
||||||
|
|
||||||
|
namespace Posechaemost.UI
|
||||||
|
{
|
||||||
|
public class UserConsoleUI
|
||||||
|
{
|
||||||
|
UserUseCase _userUseCase;
|
||||||
|
public UserConsoleUI(UserUseCase userUseCase) {
|
||||||
|
_userUseCase = userUseCase;
|
||||||
|
}
|
||||||
|
|
||||||
|
public void RemoveUserByGuid(Guid guidUser) {
|
||||||
|
|
||||||
|
string output = _userUseCase.RemoveUserByGuid(guidUser) ? "Пользователь удален" : "Пользователь не удален";
|
||||||
|
Console.WriteLine(output);
|
||||||
|
}
|
||||||
|
|
||||||
|
public void DisplayAllUsers()
|
||||||
|
{
|
||||||
|
StringBuilder userOutput = new StringBuilder();
|
||||||
|
foreach (var user in _userUseCase.GetAllUsers())
|
||||||
|
{
|
||||||
|
userOutput.AppendLine($"{user.Guid}\t{user.FIO}\t{user.Group.Name}");
|
||||||
|
}
|
||||||
|
Console.WriteLine(userOutput);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
BIN
bin/Debug/net8.0/Posechaemost
Executable file
BIN
bin/Debug/net8.0/Posechaemost
Executable file
Binary file not shown.
23
bin/Debug/net8.0/Posechaemost.deps.json
Normal file
23
bin/Debug/net8.0/Posechaemost.deps.json
Normal file
@ -0,0 +1,23 @@
|
|||||||
|
{
|
||||||
|
"runtimeTarget": {
|
||||||
|
"name": ".NETCoreApp,Version=v8.0",
|
||||||
|
"signature": ""
|
||||||
|
},
|
||||||
|
"compilationOptions": {},
|
||||||
|
"targets": {
|
||||||
|
".NETCoreApp,Version=v8.0": {
|
||||||
|
"Posechaemost/1.0.0": {
|
||||||
|
"runtime": {
|
||||||
|
"Posechaemost.dll": {}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"libraries": {
|
||||||
|
"Posechaemost/1.0.0": {
|
||||||
|
"type": "project",
|
||||||
|
"serviceable": false,
|
||||||
|
"sha512": ""
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
BIN
bin/Debug/net8.0/Posechaemost.dll
Normal file
BIN
bin/Debug/net8.0/Posechaemost.dll
Normal file
Binary file not shown.
BIN
bin/Debug/net8.0/Posechaemost.pdb
Normal file
BIN
bin/Debug/net8.0/Posechaemost.pdb
Normal file
Binary file not shown.
12
bin/Debug/net8.0/Posechaemost.runtimeconfig.json
Normal file
12
bin/Debug/net8.0/Posechaemost.runtimeconfig.json
Normal file
@ -0,0 +1,12 @@
|
|||||||
|
{
|
||||||
|
"runtimeOptions": {
|
||||||
|
"tfm": "net8.0",
|
||||||
|
"framework": {
|
||||||
|
"name": "Microsoft.NETCore.App",
|
||||||
|
"version": "8.0.0"
|
||||||
|
},
|
||||||
|
"configProperties": {
|
||||||
|
"System.Runtime.Serialization.EnableUnsafeBinaryFormatterSerialization": false
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
@ -0,0 +1,4 @@
|
|||||||
|
// <autogenerated />
|
||||||
|
using System;
|
||||||
|
using System.Reflection;
|
||||||
|
[assembly: global::System.Runtime.Versioning.TargetFrameworkAttribute(".NETCoreApp,Version=v8.0", FrameworkDisplayName = ".NET 8.0")]
|
22
obj/Debug/net8.0/Posechaemost.AssemblyInfo.cs
Normal file
22
obj/Debug/net8.0/Posechaemost.AssemblyInfo.cs
Normal file
@ -0,0 +1,22 @@
|
|||||||
|
//------------------------------------------------------------------------------
|
||||||
|
// <auto-generated>
|
||||||
|
// This code was generated by a tool.
|
||||||
|
//
|
||||||
|
// Changes to this file may cause incorrect behavior and will be lost if
|
||||||
|
// the code is regenerated.
|
||||||
|
// </auto-generated>
|
||||||
|
//------------------------------------------------------------------------------
|
||||||
|
|
||||||
|
using System;
|
||||||
|
using System.Reflection;
|
||||||
|
|
||||||
|
[assembly: System.Reflection.AssemblyCompanyAttribute("Posechaemost")]
|
||||||
|
[assembly: System.Reflection.AssemblyConfigurationAttribute("Debug")]
|
||||||
|
[assembly: System.Reflection.AssemblyFileVersionAttribute("1.0.0.0")]
|
||||||
|
[assembly: System.Reflection.AssemblyInformationalVersionAttribute("1.0.0")]
|
||||||
|
[assembly: System.Reflection.AssemblyProductAttribute("Posechaemost")]
|
||||||
|
[assembly: System.Reflection.AssemblyTitleAttribute("Posechaemost")]
|
||||||
|
[assembly: System.Reflection.AssemblyVersionAttribute("1.0.0.0")]
|
||||||
|
|
||||||
|
// Generated by the MSBuild WriteCodeFragment class.
|
||||||
|
|
1
obj/Debug/net8.0/Posechaemost.AssemblyInfoInputs.cache
Normal file
1
obj/Debug/net8.0/Posechaemost.AssemblyInfoInputs.cache
Normal file
@ -0,0 +1 @@
|
|||||||
|
e9ceada99c48877fad5313fae59738b420d0cb46da13e0667c31a7c6ce5e0a82
|
@ -0,0 +1,13 @@
|
|||||||
|
is_global = true
|
||||||
|
build_property.TargetFramework = net8.0
|
||||||
|
build_property.TargetPlatformMinVersion =
|
||||||
|
build_property.UsingMicrosoftNETSdkWeb =
|
||||||
|
build_property.ProjectTypeGuids =
|
||||||
|
build_property.InvariantGlobalization =
|
||||||
|
build_property.PlatformNeutralAssembly =
|
||||||
|
build_property.EnforceExtendedAnalyzerRules =
|
||||||
|
build_property._SupportedPlatformList = Linux,macOS,Windows
|
||||||
|
build_property.RootNamespace = Posechaemost
|
||||||
|
build_property.ProjectDir = /home/gara/csharp/Posechaemost/
|
||||||
|
build_property.EnableComHosting =
|
||||||
|
build_property.EnableGeneratedComInterfaceComImportInterop =
|
8
obj/Debug/net8.0/Posechaemost.GlobalUsings.g.cs
Normal file
8
obj/Debug/net8.0/Posechaemost.GlobalUsings.g.cs
Normal file
@ -0,0 +1,8 @@
|
|||||||
|
// <auto-generated/>
|
||||||
|
global using global::System;
|
||||||
|
global using global::System.Collections.Generic;
|
||||||
|
global using global::System.IO;
|
||||||
|
global using global::System.Linq;
|
||||||
|
global using global::System.Net.Http;
|
||||||
|
global using global::System.Threading;
|
||||||
|
global using global::System.Threading.Tasks;
|
BIN
obj/Debug/net8.0/Posechaemost.assets.cache
Normal file
BIN
obj/Debug/net8.0/Posechaemost.assets.cache
Normal file
Binary file not shown.
@ -0,0 +1 @@
|
|||||||
|
d16495386ea1e78818b82168a231de57a07fc0aed0d80bae9784f57984cdf7ac
|
14
obj/Debug/net8.0/Posechaemost.csproj.FileListAbsolute.txt
Normal file
14
obj/Debug/net8.0/Posechaemost.csproj.FileListAbsolute.txt
Normal file
@ -0,0 +1,14 @@
|
|||||||
|
/home/gara/csharp/Posechaemost/obj/Debug/net8.0/Posechaemost.GeneratedMSBuildEditorConfig.editorconfig
|
||||||
|
/home/gara/csharp/Posechaemost/obj/Debug/net8.0/Posechaemost.AssemblyInfoInputs.cache
|
||||||
|
/home/gara/csharp/Posechaemost/obj/Debug/net8.0/Posechaemost.AssemblyInfo.cs
|
||||||
|
/home/gara/csharp/Posechaemost/obj/Debug/net8.0/Posechaemost.csproj.CoreCompileInputs.cache
|
||||||
|
/home/gara/csharp/Posechaemost/bin/Debug/net8.0/Posechaemost
|
||||||
|
/home/gara/csharp/Posechaemost/bin/Debug/net8.0/Posechaemost.deps.json
|
||||||
|
/home/gara/csharp/Posechaemost/bin/Debug/net8.0/Posechaemost.runtimeconfig.json
|
||||||
|
/home/gara/csharp/Posechaemost/bin/Debug/net8.0/Posechaemost.dll
|
||||||
|
/home/gara/csharp/Posechaemost/bin/Debug/net8.0/Posechaemost.pdb
|
||||||
|
/home/gara/csharp/Posechaemost/obj/Debug/net8.0/Posechaemost.dll
|
||||||
|
/home/gara/csharp/Posechaemost/obj/Debug/net8.0/refint/Posechaemost.dll
|
||||||
|
/home/gara/csharp/Posechaemost/obj/Debug/net8.0/Posechaemost.pdb
|
||||||
|
/home/gara/csharp/Posechaemost/obj/Debug/net8.0/Posechaemost.genruntimeconfig.cache
|
||||||
|
/home/gara/csharp/Posechaemost/obj/Debug/net8.0/ref/Posechaemost.dll
|
BIN
obj/Debug/net8.0/Posechaemost.dll
Normal file
BIN
obj/Debug/net8.0/Posechaemost.dll
Normal file
Binary file not shown.
1
obj/Debug/net8.0/Posechaemost.genruntimeconfig.cache
Normal file
1
obj/Debug/net8.0/Posechaemost.genruntimeconfig.cache
Normal file
@ -0,0 +1 @@
|
|||||||
|
a9417c411c66b66a4df5d92d9f310b644c078377e1751bf58abb262a26de136e
|
BIN
obj/Debug/net8.0/Posechaemost.pdb
Normal file
BIN
obj/Debug/net8.0/Posechaemost.pdb
Normal file
Binary file not shown.
BIN
obj/Debug/net8.0/apphost
Executable file
BIN
obj/Debug/net8.0/apphost
Executable file
Binary file not shown.
BIN
obj/Debug/net8.0/ref/Posechaemost.dll
Normal file
BIN
obj/Debug/net8.0/ref/Posechaemost.dll
Normal file
Binary file not shown.
BIN
obj/Debug/net8.0/refint/Posechaemost.dll
Normal file
BIN
obj/Debug/net8.0/refint/Posechaemost.dll
Normal file
Binary file not shown.
66
obj/Posechaemost.csproj.nuget.dgspec.json
Normal file
66
obj/Posechaemost.csproj.nuget.dgspec.json
Normal file
@ -0,0 +1,66 @@
|
|||||||
|
{
|
||||||
|
"format": 1,
|
||||||
|
"restore": {
|
||||||
|
"/home/gara/csharp/Posechaemost/Posechaemost.csproj": {}
|
||||||
|
},
|
||||||
|
"projects": {
|
||||||
|
"/home/gara/csharp/Posechaemost/Posechaemost.csproj": {
|
||||||
|
"version": "1.0.0",
|
||||||
|
"restore": {
|
||||||
|
"projectUniqueName": "/home/gara/csharp/Posechaemost/Posechaemost.csproj",
|
||||||
|
"projectName": "Posechaemost",
|
||||||
|
"projectPath": "/home/gara/csharp/Posechaemost/Posechaemost.csproj",
|
||||||
|
"packagesPath": "/home/gara/.nuget/packages/",
|
||||||
|
"outputPath": "/home/gara/csharp/Posechaemost/obj/",
|
||||||
|
"projectStyle": "PackageReference",
|
||||||
|
"configFilePaths": [
|
||||||
|
"/home/gara/.nuget/NuGet/NuGet.Config"
|
||||||
|
],
|
||||||
|
"originalTargetFrameworks": [
|
||||||
|
"net8.0"
|
||||||
|
],
|
||||||
|
"sources": {
|
||||||
|
"https://api.nuget.org/v3/index.json": {}
|
||||||
|
},
|
||||||
|
"frameworks": {
|
||||||
|
"net8.0": {
|
||||||
|
"targetAlias": "net8.0",
|
||||||
|
"projectReferences": {}
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"warningProperties": {
|
||||||
|
"warnAsError": [
|
||||||
|
"NU1605"
|
||||||
|
]
|
||||||
|
},
|
||||||
|
"restoreAuditProperties": {
|
||||||
|
"enableAudit": "true",
|
||||||
|
"auditLevel": "low",
|
||||||
|
"auditMode": "direct"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"frameworks": {
|
||||||
|
"net8.0": {
|
||||||
|
"targetAlias": "net8.0",
|
||||||
|
"imports": [
|
||||||
|
"net461",
|
||||||
|
"net462",
|
||||||
|
"net47",
|
||||||
|
"net471",
|
||||||
|
"net472",
|
||||||
|
"net48",
|
||||||
|
"net481"
|
||||||
|
],
|
||||||
|
"assetTargetFallback": true,
|
||||||
|
"warn": true,
|
||||||
|
"frameworkReferences": {
|
||||||
|
"Microsoft.NETCore.App": {
|
||||||
|
"privateAssets": "all"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"runtimeIdentifierGraphPath": "/usr/share/dotnet/sdk/8.0.402/PortableRuntimeIdentifierGraph.json"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
15
obj/Posechaemost.csproj.nuget.g.props
Normal file
15
obj/Posechaemost.csproj.nuget.g.props
Normal file
@ -0,0 +1,15 @@
|
|||||||
|
<?xml version="1.0" encoding="utf-8" standalone="no"?>
|
||||||
|
<Project ToolsVersion="14.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
|
||||||
|
<PropertyGroup Condition=" '$(ExcludeRestorePackageImports)' != 'true' ">
|
||||||
|
<RestoreSuccess Condition=" '$(RestoreSuccess)' == '' ">True</RestoreSuccess>
|
||||||
|
<RestoreTool Condition=" '$(RestoreTool)' == '' ">NuGet</RestoreTool>
|
||||||
|
<ProjectAssetsFile Condition=" '$(ProjectAssetsFile)' == '' ">$(MSBuildThisFileDirectory)project.assets.json</ProjectAssetsFile>
|
||||||
|
<NuGetPackageRoot Condition=" '$(NuGetPackageRoot)' == '' ">/home/gara/.nuget/packages/</NuGetPackageRoot>
|
||||||
|
<NuGetPackageFolders Condition=" '$(NuGetPackageFolders)' == '' ">/home/gara/.nuget/packages/</NuGetPackageFolders>
|
||||||
|
<NuGetProjectStyle Condition=" '$(NuGetProjectStyle)' == '' ">PackageReference</NuGetProjectStyle>
|
||||||
|
<NuGetToolVersion Condition=" '$(NuGetToolVersion)' == '' ">6.11.1</NuGetToolVersion>
|
||||||
|
</PropertyGroup>
|
||||||
|
<ItemGroup Condition=" '$(ExcludeRestorePackageImports)' != 'true' ">
|
||||||
|
<SourceRoot Include="/home/gara/.nuget/packages/" />
|
||||||
|
</ItemGroup>
|
||||||
|
</Project>
|
2
obj/Posechaemost.csproj.nuget.g.targets
Normal file
2
obj/Posechaemost.csproj.nuget.g.targets
Normal file
@ -0,0 +1,2 @@
|
|||||||
|
<?xml version="1.0" encoding="utf-8" standalone="no"?>
|
||||||
|
<Project ToolsVersion="14.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003" />
|
71
obj/project.assets.json
Normal file
71
obj/project.assets.json
Normal file
@ -0,0 +1,71 @@
|
|||||||
|
{
|
||||||
|
"version": 3,
|
||||||
|
"targets": {
|
||||||
|
"net8.0": {}
|
||||||
|
},
|
||||||
|
"libraries": {},
|
||||||
|
"projectFileDependencyGroups": {
|
||||||
|
"net8.0": []
|
||||||
|
},
|
||||||
|
"packageFolders": {
|
||||||
|
"/home/gara/.nuget/packages/": {}
|
||||||
|
},
|
||||||
|
"project": {
|
||||||
|
"version": "1.0.0",
|
||||||
|
"restore": {
|
||||||
|
"projectUniqueName": "/home/gara/csharp/Posechaemost/Posechaemost.csproj",
|
||||||
|
"projectName": "Posechaemost",
|
||||||
|
"projectPath": "/home/gara/csharp/Posechaemost/Posechaemost.csproj",
|
||||||
|
"packagesPath": "/home/gara/.nuget/packages/",
|
||||||
|
"outputPath": "/home/gara/csharp/Posechaemost/obj/",
|
||||||
|
"projectStyle": "PackageReference",
|
||||||
|
"configFilePaths": [
|
||||||
|
"/home/gara/.nuget/NuGet/NuGet.Config"
|
||||||
|
],
|
||||||
|
"originalTargetFrameworks": [
|
||||||
|
"net8.0"
|
||||||
|
],
|
||||||
|
"sources": {
|
||||||
|
"https://api.nuget.org/v3/index.json": {}
|
||||||
|
},
|
||||||
|
"frameworks": {
|
||||||
|
"net8.0": {
|
||||||
|
"targetAlias": "net8.0",
|
||||||
|
"projectReferences": {}
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"warningProperties": {
|
||||||
|
"warnAsError": [
|
||||||
|
"NU1605"
|
||||||
|
]
|
||||||
|
},
|
||||||
|
"restoreAuditProperties": {
|
||||||
|
"enableAudit": "true",
|
||||||
|
"auditLevel": "low",
|
||||||
|
"auditMode": "direct"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"frameworks": {
|
||||||
|
"net8.0": {
|
||||||
|
"targetAlias": "net8.0",
|
||||||
|
"imports": [
|
||||||
|
"net461",
|
||||||
|
"net462",
|
||||||
|
"net47",
|
||||||
|
"net471",
|
||||||
|
"net472",
|
||||||
|
"net48",
|
||||||
|
"net481"
|
||||||
|
],
|
||||||
|
"assetTargetFallback": true,
|
||||||
|
"warn": true,
|
||||||
|
"frameworkReferences": {
|
||||||
|
"Microsoft.NETCore.App": {
|
||||||
|
"privateAssets": "all"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"runtimeIdentifierGraphPath": "/usr/share/dotnet/sdk/8.0.402/PortableRuntimeIdentifierGraph.json"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
8
obj/project.nuget.cache
Normal file
8
obj/project.nuget.cache
Normal file
@ -0,0 +1,8 @@
|
|||||||
|
{
|
||||||
|
"version": 2,
|
||||||
|
"dgSpecHash": "3K0+oSHYQvE=",
|
||||||
|
"success": true,
|
||||||
|
"projectFilePath": "/home/gara/csharp/Posechaemost/Posechaemost.csproj",
|
||||||
|
"expectedPackageFiles": [],
|
||||||
|
"logs": []
|
||||||
|
}
|
Loading…
Reference in New Issue
Block a user