diff --git a/.vs/VSWorkspaceState.json b/.vs/VSWorkspaceState.json new file mode 100644 index 0000000..bf7f3ee --- /dev/null +++ b/.vs/VSWorkspaceState.json @@ -0,0 +1,9 @@ +{ + "ExpandedNodes": [ + "", + "\\Demo", + "\\Demo\\UI" + ], + "SelectedNode": "\\Demo\\UI\\UserConsole.cs", + "PreviewInSolutionExplorer": false +} \ No newline at end of file diff --git a/.vs/presenceNikita/FileContentIndex/25588308-5b3d-4492-81b5-52ab560391e4.vsidx b/.vs/presenceNikita/FileContentIndex/25588308-5b3d-4492-81b5-52ab560391e4.vsidx new file mode 100644 index 0000000..d14d8c5 Binary files /dev/null and b/.vs/presenceNikita/FileContentIndex/25588308-5b3d-4492-81b5-52ab560391e4.vsidx differ diff --git a/.vs/presenceNikita/v17/.wsuo b/.vs/presenceNikita/v17/.wsuo new file mode 100644 index 0000000..7aaaf7e Binary files /dev/null and b/.vs/presenceNikita/v17/.wsuo differ diff --git a/.vs/presenceNikita/v17/DocumentLayout.backup.json b/.vs/presenceNikita/v17/DocumentLayout.backup.json new file mode 100644 index 0000000..e977e83 --- /dev/null +++ b/.vs/presenceNikita/v17/DocumentLayout.backup.json @@ -0,0 +1,41 @@ +{ + "Version": 1, + "WorkspaceRootPath": "C:\\Users\\VivoBook 15X\\Desktop\\presenceNikita\\", + "Documents": [ + { + "AbsoluteMoniker": "D:0:0:{A2FE74E1-B743-11D0-AE1A-00A0C90FFFC3}|\u003CMiscFiles\u003E|C:\\Users\\VivoBook 15X\\Desktop\\presenceNikita\\Demo\\Program.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}", + "RelativeMoniker": "D:0:0:{A2FE74E1-B743-11D0-AE1A-00A0C90FFFC3}|\u003CMiscFiles\u003E|solutionrelative:Demo\\Program.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}" + } + ], + "DocumentGroupContainers": [ + { + "Orientation": 0, + "VerticalTabListWidth": 256, + "DocumentGroups": [ + { + "DockedWidth": 200, + "SelectedChildIndex": 1, + "Children": [ + { + "$type": "Bookmark", + "Name": "ST:0:0:{1c4feeaa-4718-4aa9-859d-94ce25d182ba}" + }, + { + "$type": "Document", + "DocumentIndex": 0, + "Title": "Program.cs", + "DocumentMoniker": "C:\\Users\\VivoBook 15X\\Desktop\\presenceNikita\\Demo\\Program.cs", + "RelativeDocumentMoniker": "Demo\\Program.cs", + "ToolTip": "C:\\Users\\VivoBook 15X\\Desktop\\presenceNikita\\Demo\\Program.cs", + "RelativeToolTip": "Demo\\Program.cs", + "ViewState": "AgIAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA==", + "Icon": "ae27a6b0-e345-4288-96df-5eaf394ee369.000738|", + "WhenOpened": "2024-10-16T08:18:04.067Z", + "EditorCaption": "" + } + ] + } + ] + } + ] +} \ No newline at end of file diff --git a/.vs/presenceNikita/v17/DocumentLayout.json b/.vs/presenceNikita/v17/DocumentLayout.json new file mode 100644 index 0000000..f4d0ddc --- /dev/null +++ b/.vs/presenceNikita/v17/DocumentLayout.json @@ -0,0 +1,75 @@ +{ + "Version": 1, + "WorkspaceRootPath": "C:\\Users\\VivoBook 15X\\Desktop\\presenceNikita\\", + "Documents": [ + { + "AbsoluteMoniker": "D:0:0:{A2FE74E1-B743-11D0-AE1A-00A0C90FFFC3}|\u003CMiscFiles\u003E|C:\\Users\\VivoBook 15X\\Desktop\\presenceNikita\\Demo\\UI\\UserConsole.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}", + "RelativeMoniker": "D:0:0:{A2FE74E1-B743-11D0-AE1A-00A0C90FFFC3}|\u003CMiscFiles\u003E|solutionrelative:Demo\\UI\\UserConsole.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}" + }, + { + "AbsoluteMoniker": "D:0:0:{A2FE74E1-B743-11D0-AE1A-00A0C90FFFC3}|\u003CMiscFiles\u003E|C:\\Users\\VivoBook 15X\\Desktop\\presenceNikita\\Demo\\Program.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}", + "RelativeMoniker": "D:0:0:{A2FE74E1-B743-11D0-AE1A-00A0C90FFFC3}|\u003CMiscFiles\u003E|solutionrelative:Demo\\Program.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}" + }, + { + "AbsoluteMoniker": "D:0:0:{A2FE74E1-B743-11D0-AE1A-00A0C90FFFC3}|\u003CMiscFiles\u003E|C:\\Users\\VivoBook 15X\\Desktop\\presenceNikita\\Demo\\UI\\MainMenu.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}", + "RelativeMoniker": "D:0:0:{A2FE74E1-B743-11D0-AE1A-00A0C90FFFC3}|\u003CMiscFiles\u003E|solutionrelative:Demo\\UI\\MainMenu.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}" + } + ], + "DocumentGroupContainers": [ + { + "Orientation": 0, + "VerticalTabListWidth": 256, + "DocumentGroups": [ + { + "DockedWidth": 200, + "SelectedChildIndex": 1, + "Children": [ + { + "$type": "Bookmark", + "Name": "ST:0:0:{1c4feeaa-4718-4aa9-859d-94ce25d182ba}" + }, + { + "$type": "Document", + "DocumentIndex": 0, + "Title": "UserConsole.cs", + "DocumentMoniker": "C:\\Users\\VivoBook 15X\\Desktop\\presenceNikita\\Demo\\UI\\UserConsole.cs", + "RelativeDocumentMoniker": "Demo\\UI\\UserConsole.cs", + "ToolTip": "C:\\Users\\VivoBook 15X\\Desktop\\presenceNikita\\Demo\\UI\\UserConsole.cs", + "RelativeToolTip": "Demo\\UI\\UserConsole.cs", + "ViewState": "AgIAABIAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA==", + "Icon": "ae27a6b0-e345-4288-96df-5eaf394ee369.000738|", + "WhenOpened": "2024-10-16T08:19:17.328Z", + "EditorCaption": "" + }, + { + "$type": "Document", + "DocumentIndex": 2, + "Title": "MainMenu.cs", + "DocumentMoniker": "C:\\Users\\VivoBook 15X\\Desktop\\presenceNikita\\Demo\\UI\\MainMenu.cs", + "RelativeDocumentMoniker": "Demo\\UI\\MainMenu.cs", + "ToolTip": "C:\\Users\\VivoBook 15X\\Desktop\\presenceNikita\\Demo\\UI\\MainMenu.cs", + "RelativeToolTip": "Demo\\UI\\MainMenu.cs", + "ViewState": "AgIAAAYAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA==", + "Icon": "ae27a6b0-e345-4288-96df-5eaf394ee369.000738|", + "WhenOpened": "2024-10-16T08:18:57.383Z", + "EditorCaption": "" + }, + { + "$type": "Document", + "DocumentIndex": 1, + "Title": "Program.cs", + "DocumentMoniker": "C:\\Users\\VivoBook 15X\\Desktop\\presenceNikita\\Demo\\Program.cs", + "RelativeDocumentMoniker": "Demo\\Program.cs", + "ToolTip": "C:\\Users\\VivoBook 15X\\Desktop\\presenceNikita\\Demo\\Program.cs", + "RelativeToolTip": "Demo\\Program.cs", + "ViewState": "AgIAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA==", + "Icon": "ae27a6b0-e345-4288-96df-5eaf394ee369.000738|", + "WhenOpened": "2024-10-16T08:18:04.067Z", + "EditorCaption": "" + } + ] + } + ] + } + ] +} \ No newline at end of file diff --git a/.vs/slnx.sqlite b/.vs/slnx.sqlite new file mode 100644 index 0000000..b0b70e0 Binary files /dev/null and b/.vs/slnx.sqlite differ diff --git a/Demo/Data/LocalData/Entity/Group.cs b/Demo/Data/LocalData/Entity/Group.cs new file mode 100644 index 0000000..6041311 --- /dev/null +++ b/Demo/Data/LocalData/Entity/Group.cs @@ -0,0 +1,15 @@ +using System; +using System.Collections.Generic; +using System.Linq; +using System.Text; +using System.Threading.Tasks; + +namespace Demo.domain.Models +{ + public class GroupLocalEntity + { + public required int Id { get; set; } + public required string Name { get; set; } + + } +} diff --git a/Demo/Data/LocalData/Entity/Presence.cs b/Demo/Data/LocalData/Entity/Presence.cs new file mode 100644 index 0000000..70b8d1e --- /dev/null +++ b/Demo/Data/LocalData/Entity/Presence.cs @@ -0,0 +1,17 @@ +using System; +using System.Collections.Generic; +using System.Linq; +using System.Text; +using System.Threading.Tasks; + +namespace Demo.domain.Models +{ + internal class PresenceLocalEntity + { + public required Guid UserGuid { get; set; } + public bool IsAttedance { get; set; } = true; + public required DateOnly Date { get; set; } + + public required int LessonNumber { get; set; } + } +} diff --git a/Demo/Data/LocalData/Entity/User.cs b/Demo/Data/LocalData/Entity/User.cs new file mode 100644 index 0000000..5af4881 --- /dev/null +++ b/Demo/Data/LocalData/Entity/User.cs @@ -0,0 +1,24 @@ +using System; +using System.Collections.Generic; +using System.Linq; +using System.Text; +using System.Threading.Tasks; + +namespace Demo.domain.Models +{ + public class UserLocalEnity : IEquatable + { + public required string FIO { get; set; } + public Guid Guid { get; set; } + + public required int GroupID { get; set; } + + + + public bool Equals(UserLocalEnity? other) + { + if (other == null) return false; + return this.Guid.Equals(other.Guid); + } + } +} diff --git a/Demo/Data/LocalData/LocalStaticData.cs b/Demo/Data/LocalData/LocalStaticData.cs new file mode 100644 index 0000000..50e54f7 --- /dev/null +++ b/Demo/Data/LocalData/LocalStaticData.cs @@ -0,0 +1,31 @@ +using Demo.domain.Models; +using System; +using System.Collections.Generic; +using System.Linq; +using System.Net.NetworkInformation; +using System.Text; +using System.Threading.Tasks; + +namespace Demo.Data.LocalData +{ + public static class LocalStaticData + { + public static List groups => new List + + { + new GroupLocalEntity{ Id = 1, Name = "ИП1-21" }, + new GroupLocalEntity{ Id = 2, Name = "ИП1-22" }, + new GroupLocalEntity{ Id = 3, Name = "ИП1-23" }, + }; + + public static List users => new List + { + new UserLocalEnity{Guid=Guid.Parse("e6b9964d-ea9f-420a-84b9-af9633bbfab9"), FIO = "RandomFio", GroupID = 1 }, + new UserLocalEnity{Guid=Guid.Parse("8388d931-5bef-41be-a152-78f1aca980ed"), FIO = "RandomFio1", GroupID = 2 }, + new UserLocalEnity{Guid=Guid.Parse("ed174548-49ed-4503-a902-c970cbf27173"), FIO = "RandomFio2", GroupID = 3 }, + new UserLocalEnity{Guid=Guid.Parse("614c0a23-5bd5-43ae-b48e-d5750afbc282"), FIO = "RandomFio3", GroupID = 1 }, + new UserLocalEnity{Guid=Guid.Parse("efcc1473-c116-4244-b3f7-f2341a5c3003"), FIO = "RandomFio4", GroupID = 2 }, + new UserLocalEnity{Guid=Guid.Parse("60640fb3-ace2-4cad-81d5-a0a58bc2dbbd"), FIO = "RandomFio5", GroupID = 3 }, + }; + } +} diff --git a/Demo/Data/Repository/GroupRepositoryImpl.cs b/Demo/Data/Repository/GroupRepositoryImpl.cs new file mode 100644 index 0000000..e5b9a29 --- /dev/null +++ b/Demo/Data/Repository/GroupRepositoryImpl.cs @@ -0,0 +1,15 @@ +using Demo.Data.LocalData; +using Demo.domain.Models; +using System; +using System.Collections.Generic; +using System.Linq; +using System.Text; +using System.Threading.Tasks; + +namespace Demo.Data.Repository +{ + public class GroupRepositoryImpl + { + public List GetAllGroups() => LocalStaticData.groups; + } +} diff --git a/Demo/Data/Repository/UserRepositoryImpl.cs b/Demo/Data/Repository/UserRepositoryImpl.cs new file mode 100644 index 0000000..bf9ae8c --- /dev/null +++ b/Demo/Data/Repository/UserRepositoryImpl.cs @@ -0,0 +1,47 @@ +using Demo.Data.LocalData; +using Demo.domain.Models; +using System; +using System.Collections.Generic; +using System.Linq; +using System.Text; +using System.Threading.Tasks; + +namespace Demo.Data.Repository +{ + public class UserRepositoryImpl + { + public UserRepositoryImpl() { + + GetAllUsers = LocalStaticData.users; + } + public List GetAllUsers + { get; set; } + + public bool RemoveUserByGuid(Guid userGuid) + { + UserLocalEnity? userLocal = GetAllUsers + .Where(x => x.Guid == userGuid).FirstOrDefault(); + if (userLocal == null) return false; + + return GetAllUsers.Remove(userLocal); + } + + public UserLocalEnity? GetUserByGuid(Guid userGuid) { + UserLocalEnity? userLocal = GetAllUsers + .Where(x => x.Guid == userGuid).FirstOrDefault(); + if (userLocal == null) return null; + + return userLocal; + } + + public UserLocalEnity? UpdateUser(UserLocalEnity userUpdateLocalEnity) { + UserLocalEnity? userLocal = GetAllUsers + .Where(x => x.Guid == userUpdateLocalEnity.Guid).FirstOrDefault(); + if (userLocal == null) return null; + userLocal.FIO = userUpdateLocalEnity.FIO; + userLocal.GroupID = userUpdateLocalEnity.GroupID; + return userLocal; + + } + } +} diff --git a/Demo/Demo.csproj b/Demo/Demo.csproj new file mode 100644 index 0000000..1ea2759 --- /dev/null +++ b/Demo/Demo.csproj @@ -0,0 +1,14 @@ + + + + Exe + net8.0 + enable + enable + + + + + + + diff --git a/Demo/Domain/Models/Group.cs b/Demo/Domain/Models/Group.cs new file mode 100644 index 0000000..ce0914b --- /dev/null +++ b/Demo/Domain/Models/Group.cs @@ -0,0 +1,14 @@ +using System; +using System.Collections.Generic; +using System.Linq; +using System.Text; +using System.Threading.Tasks; + +namespace Demo.domain.Models +{ + public class Group + { + public required int Id { get; set; } + public required string Name { get; set; } + } +} diff --git a/Demo/Domain/Models/Presence.cs b/Demo/Domain/Models/Presence.cs new file mode 100644 index 0000000..a5fe7a0 --- /dev/null +++ b/Demo/Domain/Models/Presence.cs @@ -0,0 +1,18 @@ +using System; +using System.Collections.Generic; +using System.Linq; +using System.Text; +using System.Threading.Tasks; + +namespace Demo.domain.Models +{ + public class Presence + { + + public required User User { get; set; } + public bool IsAttedance { get; set; } = true; + public required DateOnly Date { get; set; } + + public required int LessonNumber { get; set; } + } +} diff --git a/Demo/Domain/Models/User.cs b/Demo/Domain/Models/User.cs new file mode 100644 index 0000000..cffca41 --- /dev/null +++ b/Demo/Domain/Models/User.cs @@ -0,0 +1,16 @@ +using System; +using System.Collections.Generic; +using System.Linq; +using System.Text; +using System.Threading.Tasks; + +namespace Demo.domain.Models +{ + public class User + { + public required string FIO { get; set; } + public Guid Guid { get; set; } + + public required Group Group { get; set; } + } +} diff --git a/Demo/Domain/UseCase/UserUseCase.cs b/Demo/Domain/UseCase/UserUseCase.cs new file mode 100644 index 0000000..f1f44e1 --- /dev/null +++ b/Demo/Domain/UseCase/UserUseCase.cs @@ -0,0 +1,46 @@ +using Demo.Data.Repository; +using Demo.domain.Models; +using System; +using System.Collections.Generic; +using System.Linq; +using System.Text; +using System.Threading.Tasks; + +namespace Demo.Domain.UseCase +{ + public class UserUseCase + { + private UserRepositoryImpl _repositoryUserImpl; + private GroupRepositoryImpl _repositoryGroupImpl; + + public UserUseCase(UserRepositoryImpl repositoryImpl, GroupRepositoryImpl repositoryGroupImpl) + { + _repositoryUserImpl = repositoryImpl; + _repositoryGroupImpl = repositoryGroupImpl; + } + + public List GetAllGroups() => _repositoryGroupImpl.GetAllGroups() + .Select(it => new Group { Id = it.Id, Name = it.Name}).ToList(); + public List 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) { + UserLocalEnity userLocalEnity = new UserLocalEnity { FIO = user.FIO, GroupID = user.Group.Id, Guid = user.Guid }; + UserLocalEnity? 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}; + } + } +} diff --git a/Demo/Program.cs b/Demo/Program.cs new file mode 100644 index 0000000..9ebb621 --- /dev/null +++ b/Demo/Program.cs @@ -0,0 +1,10 @@ + +using Demo.Data.Repository; +using Demo.Domain.UseCase; +using Demo.UI; + +GroupRepositoryImpl groupRepositoryImpl = new GroupRepositoryImpl(); +UserRepositoryImpl userRepositoryImpl = new UserRepositoryImpl(); +UserUseCase userUseCase = new UserUseCase(userRepositoryImpl, groupRepositoryImpl); + +MainMenuUI mainMenuUI = new MainMenuUI(userUseCase); \ No newline at end of file diff --git a/Demo/UI/MainMenu.cs b/Demo/UI/MainMenu.cs new file mode 100644 index 0000000..ce13884 --- /dev/null +++ b/Demo/UI/MainMenu.cs @@ -0,0 +1,37 @@ +using Demo.Domain.UseCase; +using System; +using System.Collections.Generic; +using System.Linq; +using System.Text; +using System.Threading.Tasks; + +namespace Demo.UI +{ + public class MainMenuUI + { + + UserConsoleUI _userConsoleUI; + + public MainMenuUI(UserUseCase userUseCase) { + _userConsoleUI = new UserConsoleUI(userUseCase); + DisplayMenu(); + + } + + private void DisplayMenu() { + while (true) + { + switch (Console.ReadLine()) + { + case "1": _userConsoleUI.DisplayAllUsers(); break; + case "2": _userConsoleUI.RemoveUserByGuid(Guid.Parse(Console.ReadLine())); break; + + default: DisplayMenu(); + break; + } + + } + } + + } +} diff --git a/Demo/UI/UserConsole.cs b/Demo/UI/UserConsole.cs new file mode 100644 index 0000000..15ec296 --- /dev/null +++ b/Demo/UI/UserConsole.cs @@ -0,0 +1,33 @@ +using Demo.Domain.UseCase; +using System; +using System.Collections.Generic; +using System.Linq; +using System.Text; +using System.Threading.Tasks; + +namespace Demo.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); + } + } +} diff --git a/Demo/bin/Debug/net8.0/Demo.deps.json b/Demo/bin/Debug/net8.0/Demo.deps.json new file mode 100644 index 0000000..34d15c4 --- /dev/null +++ b/Demo/bin/Debug/net8.0/Demo.deps.json @@ -0,0 +1,23 @@ +{ + "runtimeTarget": { + "name": ".NETCoreApp,Version=v8.0", + "signature": "" + }, + "compilationOptions": {}, + "targets": { + ".NETCoreApp,Version=v8.0": { + "Demo/1.0.0": { + "runtime": { + "Demo.dll": {} + } + } + } + }, + "libraries": { + "Demo/1.0.0": { + "type": "project", + "serviceable": false, + "sha512": "" + } + } +} \ No newline at end of file diff --git a/Demo/bin/Debug/net8.0/Demo.dll b/Demo/bin/Debug/net8.0/Demo.dll new file mode 100644 index 0000000..466a5a6 Binary files /dev/null and b/Demo/bin/Debug/net8.0/Demo.dll differ diff --git a/Demo/bin/Debug/net8.0/Demo.exe b/Demo/bin/Debug/net8.0/Demo.exe new file mode 100644 index 0000000..714fbe4 Binary files /dev/null and b/Demo/bin/Debug/net8.0/Demo.exe differ diff --git a/Demo/bin/Debug/net8.0/Demo.pdb b/Demo/bin/Debug/net8.0/Demo.pdb new file mode 100644 index 0000000..bb1fcf9 Binary files /dev/null and b/Demo/bin/Debug/net8.0/Demo.pdb differ diff --git a/Demo/bin/Debug/net8.0/Demo.runtimeconfig.json b/Demo/bin/Debug/net8.0/Demo.runtimeconfig.json new file mode 100644 index 0000000..becfaea --- /dev/null +++ b/Demo/bin/Debug/net8.0/Demo.runtimeconfig.json @@ -0,0 +1,12 @@ +{ + "runtimeOptions": { + "tfm": "net8.0", + "framework": { + "name": "Microsoft.NETCore.App", + "version": "8.0.0" + }, + "configProperties": { + "System.Runtime.Serialization.EnableUnsafeBinaryFormatterSerialization": false + } + } +} \ No newline at end of file diff --git a/Demo/obj/Debug/net8.0/.NETCoreApp,Version=v8.0.AssemblyAttributes.cs b/Demo/obj/Debug/net8.0/.NETCoreApp,Version=v8.0.AssemblyAttributes.cs new file mode 100644 index 0000000..2217181 --- /dev/null +++ b/Demo/obj/Debug/net8.0/.NETCoreApp,Version=v8.0.AssemblyAttributes.cs @@ -0,0 +1,4 @@ +// +using System; +using System.Reflection; +[assembly: global::System.Runtime.Versioning.TargetFrameworkAttribute(".NETCoreApp,Version=v8.0", FrameworkDisplayName = ".NET 8.0")] diff --git a/Demo/obj/Debug/net8.0/Demo.AssemblyInfo.cs b/Demo/obj/Debug/net8.0/Demo.AssemblyInfo.cs new file mode 100644 index 0000000..330ab52 --- /dev/null +++ b/Demo/obj/Debug/net8.0/Demo.AssemblyInfo.cs @@ -0,0 +1,23 @@ +//------------------------------------------------------------------------------ +// +// Этот код создан программой. +// Исполняемая версия:4.0.30319.42000 +// +// Изменения в этом файле могут привести к неправильной работе и будут потеряны в случае +// повторной генерации кода. +// +//------------------------------------------------------------------------------ + +using System; +using System.Reflection; + +[assembly: System.Reflection.AssemblyCompanyAttribute("Demo")] +[assembly: System.Reflection.AssemblyConfigurationAttribute("Debug")] +[assembly: System.Reflection.AssemblyFileVersionAttribute("1.0.0.0")] +[assembly: System.Reflection.AssemblyInformationalVersionAttribute("1.0.0+450363bfcbd9d1181b9f9603d2b5a88ef23421f1")] +[assembly: System.Reflection.AssemblyProductAttribute("Demo")] +[assembly: System.Reflection.AssemblyTitleAttribute("Demo")] +[assembly: System.Reflection.AssemblyVersionAttribute("1.0.0.0")] + +// Создано классом WriteCodeFragment MSBuild. + diff --git a/Demo/obj/Debug/net8.0/Demo.AssemblyInfoInputs.cache b/Demo/obj/Debug/net8.0/Demo.AssemblyInfoInputs.cache new file mode 100644 index 0000000..ec28b4a --- /dev/null +++ b/Demo/obj/Debug/net8.0/Demo.AssemblyInfoInputs.cache @@ -0,0 +1 @@ +82398f8776110354e0284895ebb0d7b632952ab8604f29b3eaf202a9b9454f32 diff --git a/Demo/obj/Debug/net8.0/Demo.GeneratedMSBuildEditorConfig.editorconfig b/Demo/obj/Debug/net8.0/Demo.GeneratedMSBuildEditorConfig.editorconfig new file mode 100644 index 0000000..a64c576 --- /dev/null +++ b/Demo/obj/Debug/net8.0/Demo.GeneratedMSBuildEditorConfig.editorconfig @@ -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 = Demo +build_property.ProjectDir = C:\Users\VivoBook 15X\Desktop\presenceNikita\Demo\ +build_property.EnableComHosting = +build_property.EnableGeneratedComInterfaceComImportInterop = diff --git a/Demo/obj/Debug/net8.0/Demo.GlobalUsings.g.cs b/Demo/obj/Debug/net8.0/Demo.GlobalUsings.g.cs new file mode 100644 index 0000000..8578f3d --- /dev/null +++ b/Demo/obj/Debug/net8.0/Demo.GlobalUsings.g.cs @@ -0,0 +1,8 @@ +// +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; diff --git a/Demo/obj/Debug/net8.0/Demo.assets.cache b/Demo/obj/Debug/net8.0/Demo.assets.cache new file mode 100644 index 0000000..8a14972 Binary files /dev/null and b/Demo/obj/Debug/net8.0/Demo.assets.cache differ diff --git a/Demo/obj/Debug/net8.0/Demo.csproj.BuildWithSkipAnalyzers b/Demo/obj/Debug/net8.0/Demo.csproj.BuildWithSkipAnalyzers new file mode 100644 index 0000000..e69de29 diff --git a/Demo/obj/Debug/net8.0/Demo.csproj.CoreCompileInputs.cache b/Demo/obj/Debug/net8.0/Demo.csproj.CoreCompileInputs.cache new file mode 100644 index 0000000..3f684fe --- /dev/null +++ b/Demo/obj/Debug/net8.0/Demo.csproj.CoreCompileInputs.cache @@ -0,0 +1 @@ +eff918b7fd1dc49f37ad0c036085f5a6ea63aec8d1d02ffa6a34a0e6ea70a8b3 diff --git a/Demo/obj/Debug/net8.0/Demo.csproj.FileListAbsolute.txt b/Demo/obj/Debug/net8.0/Demo.csproj.FileListAbsolute.txt new file mode 100644 index 0000000..b6a7fe4 --- /dev/null +++ b/Demo/obj/Debug/net8.0/Demo.csproj.FileListAbsolute.txt @@ -0,0 +1,28 @@ +C:\Users\VivoBook 15X\Desktop\C#\Программные модули\presence\Demo\bin\Debug\net8.0\Demo.exe +C:\Users\VivoBook 15X\Desktop\C#\Программные модули\presence\Demo\bin\Debug\net8.0\Demo.deps.json +C:\Users\VivoBook 15X\Desktop\C#\Программные модули\presence\Demo\bin\Debug\net8.0\Demo.runtimeconfig.json +C:\Users\VivoBook 15X\Desktop\C#\Программные модули\presence\Demo\bin\Debug\net8.0\Demo.dll +C:\Users\VivoBook 15X\Desktop\C#\Программные модули\presence\Demo\bin\Debug\net8.0\Demo.pdb +C:\Users\VivoBook 15X\Desktop\C#\Программные модули\presence\Demo\obj\Debug\net8.0\Demo.GeneratedMSBuildEditorConfig.editorconfig +C:\Users\VivoBook 15X\Desktop\C#\Программные модули\presence\Demo\obj\Debug\net8.0\Demo.AssemblyInfoInputs.cache +C:\Users\VivoBook 15X\Desktop\C#\Программные модули\presence\Demo\obj\Debug\net8.0\Demo.AssemblyInfo.cs +C:\Users\VivoBook 15X\Desktop\C#\Программные модули\presence\Demo\obj\Debug\net8.0\Demo.csproj.CoreCompileInputs.cache +C:\Users\VivoBook 15X\Desktop\C#\Программные модули\presence\Demo\obj\Debug\net8.0\Demo.dll +C:\Users\VivoBook 15X\Desktop\C#\Программные модули\presence\Demo\obj\Debug\net8.0\refint\Demo.dll +C:\Users\VivoBook 15X\Desktop\C#\Программные модули\presence\Demo\obj\Debug\net8.0\Demo.pdb +C:\Users\VivoBook 15X\Desktop\C#\Программные модули\presence\Demo\obj\Debug\net8.0\Demo.genruntimeconfig.cache +C:\Users\VivoBook 15X\Desktop\C#\Программные модули\presence\Demo\obj\Debug\net8.0\ref\Demo.dll +C:\Users\VivoBook 15X\Desktop\presenceNikita\Demo\bin\Debug\net8.0\Demo.exe +C:\Users\VivoBook 15X\Desktop\presenceNikita\Demo\bin\Debug\net8.0\Demo.deps.json +C:\Users\VivoBook 15X\Desktop\presenceNikita\Demo\bin\Debug\net8.0\Demo.runtimeconfig.json +C:\Users\VivoBook 15X\Desktop\presenceNikita\Demo\bin\Debug\net8.0\Demo.dll +C:\Users\VivoBook 15X\Desktop\presenceNikita\Demo\bin\Debug\net8.0\Demo.pdb +C:\Users\VivoBook 15X\Desktop\presenceNikita\Demo\obj\Debug\net8.0\Demo.GeneratedMSBuildEditorConfig.editorconfig +C:\Users\VivoBook 15X\Desktop\presenceNikita\Demo\obj\Debug\net8.0\Demo.AssemblyInfoInputs.cache +C:\Users\VivoBook 15X\Desktop\presenceNikita\Demo\obj\Debug\net8.0\Demo.AssemblyInfo.cs +C:\Users\VivoBook 15X\Desktop\presenceNikita\Demo\obj\Debug\net8.0\Demo.csproj.CoreCompileInputs.cache +C:\Users\VivoBook 15X\Desktop\presenceNikita\Demo\obj\Debug\net8.0\Demo.dll +C:\Users\VivoBook 15X\Desktop\presenceNikita\Demo\obj\Debug\net8.0\refint\Demo.dll +C:\Users\VivoBook 15X\Desktop\presenceNikita\Demo\obj\Debug\net8.0\Demo.pdb +C:\Users\VivoBook 15X\Desktop\presenceNikita\Demo\obj\Debug\net8.0\Demo.genruntimeconfig.cache +C:\Users\VivoBook 15X\Desktop\presenceNikita\Demo\obj\Debug\net8.0\ref\Demo.dll diff --git a/Demo/obj/Debug/net8.0/Demo.dll b/Demo/obj/Debug/net8.0/Demo.dll new file mode 100644 index 0000000..466a5a6 Binary files /dev/null and b/Demo/obj/Debug/net8.0/Demo.dll differ diff --git a/Demo/obj/Debug/net8.0/Demo.genruntimeconfig.cache b/Demo/obj/Debug/net8.0/Demo.genruntimeconfig.cache new file mode 100644 index 0000000..1c854e0 --- /dev/null +++ b/Demo/obj/Debug/net8.0/Demo.genruntimeconfig.cache @@ -0,0 +1 @@ +ac949e3dea345fa2a8fe1793a4200a2ed3f72794a755776994eef7675d0b2907 diff --git a/Demo/obj/Debug/net8.0/Demo.pdb b/Demo/obj/Debug/net8.0/Demo.pdb new file mode 100644 index 0000000..bb1fcf9 Binary files /dev/null and b/Demo/obj/Debug/net8.0/Demo.pdb differ diff --git a/Demo/obj/Debug/net8.0/apphost.exe b/Demo/obj/Debug/net8.0/apphost.exe new file mode 100644 index 0000000..714fbe4 Binary files /dev/null and b/Demo/obj/Debug/net8.0/apphost.exe differ diff --git a/Demo/obj/Debug/net8.0/ref/Demo.dll b/Demo/obj/Debug/net8.0/ref/Demo.dll new file mode 100644 index 0000000..fd2514e Binary files /dev/null and b/Demo/obj/Debug/net8.0/ref/Demo.dll differ diff --git a/Demo/obj/Debug/net8.0/refint/Demo.dll b/Demo/obj/Debug/net8.0/refint/Demo.dll new file mode 100644 index 0000000..fd2514e Binary files /dev/null and b/Demo/obj/Debug/net8.0/refint/Demo.dll differ diff --git a/Demo/obj/Demo.csproj.nuget.dgspec.json b/Demo/obj/Demo.csproj.nuget.dgspec.json new file mode 100644 index 0000000..894bf26 --- /dev/null +++ b/Demo/obj/Demo.csproj.nuget.dgspec.json @@ -0,0 +1,68 @@ +{ + "format": 1, + "restore": { + "C:\\Users\\VivoBook 15X\\Desktop\\C#\\Программные модули\\presence\\Demo\\Demo.csproj": {} + }, + "projects": { + "C:\\Users\\VivoBook 15X\\Desktop\\C#\\Программные модули\\presence\\Demo\\Demo.csproj": { + "version": "1.0.0", + "restore": { + "projectUniqueName": "C:\\Users\\VivoBook 15X\\Desktop\\C#\\Программные модули\\presence\\Demo\\Demo.csproj", + "projectName": "Demo", + "projectPath": "C:\\Users\\VivoBook 15X\\Desktop\\C#\\Программные модули\\presence\\Demo\\Demo.csproj", + "packagesPath": "C:\\Users\\VivoBook 15X\\.nuget\\packages\\", + "outputPath": "C:\\Users\\VivoBook 15X\\Desktop\\C#\\Программные модули\\presence\\Demo\\obj\\", + "projectStyle": "PackageReference", + "configFilePaths": [ + "C:\\Users\\VivoBook 15X\\AppData\\Roaming\\NuGet\\NuGet.Config", + "C:\\Program Files (x86)\\NuGet\\Config\\Microsoft.VisualStudio.Offline.config" + ], + "originalTargetFrameworks": [ + "net8.0" + ], + "sources": { + "C:\\Program Files (x86)\\Microsoft SDKs\\NuGetPackages\\": {}, + "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": "C:\\Program Files\\dotnet\\sdk\\8.0.403/PortableRuntimeIdentifierGraph.json" + } + } + } + } +} \ No newline at end of file diff --git a/Demo/obj/Demo.csproj.nuget.g.props b/Demo/obj/Demo.csproj.nuget.g.props new file mode 100644 index 0000000..62bb66c --- /dev/null +++ b/Demo/obj/Demo.csproj.nuget.g.props @@ -0,0 +1,15 @@ + + + + True + NuGet + $(MSBuildThisFileDirectory)project.assets.json + $(UserProfile)\.nuget\packages\ + C:\Users\VivoBook 15X\.nuget\packages\ + PackageReference + 6.11.1 + + + + + \ No newline at end of file diff --git a/Demo/obj/Demo.csproj.nuget.g.targets b/Demo/obj/Demo.csproj.nuget.g.targets new file mode 100644 index 0000000..3dc06ef --- /dev/null +++ b/Demo/obj/Demo.csproj.nuget.g.targets @@ -0,0 +1,2 @@ + + \ No newline at end of file diff --git a/Demo/obj/Release/net8.0/.NETCoreApp,Version=v8.0.AssemblyAttributes.cs b/Demo/obj/Release/net8.0/.NETCoreApp,Version=v8.0.AssemblyAttributes.cs new file mode 100644 index 0000000..2217181 --- /dev/null +++ b/Demo/obj/Release/net8.0/.NETCoreApp,Version=v8.0.AssemblyAttributes.cs @@ -0,0 +1,4 @@ +// +using System; +using System.Reflection; +[assembly: global::System.Runtime.Versioning.TargetFrameworkAttribute(".NETCoreApp,Version=v8.0", FrameworkDisplayName = ".NET 8.0")] diff --git a/Demo/obj/Release/net8.0/Demo.AssemblyInfo.cs b/Demo/obj/Release/net8.0/Demo.AssemblyInfo.cs new file mode 100644 index 0000000..0347899 --- /dev/null +++ b/Demo/obj/Release/net8.0/Demo.AssemblyInfo.cs @@ -0,0 +1,23 @@ +//------------------------------------------------------------------------------ +// +// Этот код создан программой. +// Исполняемая версия:4.0.30319.42000 +// +// Изменения в этом файле могут привести к неправильной работе и будут потеряны в случае +// повторной генерации кода. +// +//------------------------------------------------------------------------------ + +using System; +using System.Reflection; + +[assembly: System.Reflection.AssemblyCompanyAttribute("Demo")] +[assembly: System.Reflection.AssemblyConfigurationAttribute("Release")] +[assembly: System.Reflection.AssemblyFileVersionAttribute("1.0.0.0")] +[assembly: System.Reflection.AssemblyInformationalVersionAttribute("1.0.0+450363bfcbd9d1181b9f9603d2b5a88ef23421f1")] +[assembly: System.Reflection.AssemblyProductAttribute("Demo")] +[assembly: System.Reflection.AssemblyTitleAttribute("Demo")] +[assembly: System.Reflection.AssemblyVersionAttribute("1.0.0.0")] + +// Создано классом WriteCodeFragment MSBuild. + diff --git a/Demo/obj/Release/net8.0/Demo.AssemblyInfoInputs.cache b/Demo/obj/Release/net8.0/Demo.AssemblyInfoInputs.cache new file mode 100644 index 0000000..d50b7b5 --- /dev/null +++ b/Demo/obj/Release/net8.0/Demo.AssemblyInfoInputs.cache @@ -0,0 +1 @@ +65a91eaebd0f5a86a94808a9eefb6067c3215ba2778e63f7873a90f3e7043455 diff --git a/Demo/obj/Release/net8.0/Demo.GeneratedMSBuildEditorConfig.editorconfig b/Demo/obj/Release/net8.0/Demo.GeneratedMSBuildEditorConfig.editorconfig new file mode 100644 index 0000000..a64c576 --- /dev/null +++ b/Demo/obj/Release/net8.0/Demo.GeneratedMSBuildEditorConfig.editorconfig @@ -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 = Demo +build_property.ProjectDir = C:\Users\VivoBook 15X\Desktop\presenceNikita\Demo\ +build_property.EnableComHosting = +build_property.EnableGeneratedComInterfaceComImportInterop = diff --git a/Demo/obj/Release/net8.0/Demo.GlobalUsings.g.cs b/Demo/obj/Release/net8.0/Demo.GlobalUsings.g.cs new file mode 100644 index 0000000..8578f3d --- /dev/null +++ b/Demo/obj/Release/net8.0/Demo.GlobalUsings.g.cs @@ -0,0 +1,8 @@ +// +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; diff --git a/Demo/obj/Release/net8.0/Demo.assets.cache b/Demo/obj/Release/net8.0/Demo.assets.cache new file mode 100644 index 0000000..6d587c7 Binary files /dev/null and b/Demo/obj/Release/net8.0/Demo.assets.cache differ diff --git a/Demo/obj/project.assets.json b/Demo/obj/project.assets.json new file mode 100644 index 0000000..a2764ae --- /dev/null +++ b/Demo/obj/project.assets.json @@ -0,0 +1,73 @@ +{ + "version": 3, + "targets": { + "net8.0": {} + }, + "libraries": {}, + "projectFileDependencyGroups": { + "net8.0": [] + }, + "packageFolders": { + "C:\\Users\\VivoBook 15X\\.nuget\\packages\\": {} + }, + "project": { + "version": "1.0.0", + "restore": { + "projectUniqueName": "C:\\Users\\VivoBook 15X\\Desktop\\C#\\Программные модули\\presence\\Demo\\Demo.csproj", + "projectName": "Demo", + "projectPath": "C:\\Users\\VivoBook 15X\\Desktop\\C#\\Программные модули\\presence\\Demo\\Demo.csproj", + "packagesPath": "C:\\Users\\VivoBook 15X\\.nuget\\packages\\", + "outputPath": "C:\\Users\\VivoBook 15X\\Desktop\\C#\\Программные модули\\presence\\Demo\\obj\\", + "projectStyle": "PackageReference", + "configFilePaths": [ + "C:\\Users\\VivoBook 15X\\AppData\\Roaming\\NuGet\\NuGet.Config", + "C:\\Program Files (x86)\\NuGet\\Config\\Microsoft.VisualStudio.Offline.config" + ], + "originalTargetFrameworks": [ + "net8.0" + ], + "sources": { + "C:\\Program Files (x86)\\Microsoft SDKs\\NuGetPackages\\": {}, + "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": "C:\\Program Files\\dotnet\\sdk\\8.0.403/PortableRuntimeIdentifierGraph.json" + } + } + } +} \ No newline at end of file diff --git a/Demo/obj/project.nuget.cache b/Demo/obj/project.nuget.cache new file mode 100644 index 0000000..f9f84a2 --- /dev/null +++ b/Demo/obj/project.nuget.cache @@ -0,0 +1,8 @@ +{ + "version": 2, + "dgSpecHash": "IkHy/mnznvI=", + "success": true, + "projectFilePath": "C:\\Users\\VivoBook 15X\\Desktop\\C#\\Программные модули\\presence\\Demo\\Demo.csproj", + "expectedPackageFiles": [], + "logs": [] +} \ No newline at end of file