commit 60195b921a4d68d609377f7c4dad9c3484a868fb Author: Userok Date: Mon Oct 21 14:56:16 2024 +0300 first commit diff --git a/.vs/ProjectEvaluation/zurnal.metadata.v9.bin b/.vs/ProjectEvaluation/zurnal.metadata.v9.bin new file mode 100644 index 0000000..be8eef7 Binary files /dev/null and b/.vs/ProjectEvaluation/zurnal.metadata.v9.bin differ diff --git a/.vs/ProjectEvaluation/zurnal.projects.v9.bin b/.vs/ProjectEvaluation/zurnal.projects.v9.bin new file mode 100644 index 0000000..733fdc7 Binary files /dev/null and b/.vs/ProjectEvaluation/zurnal.projects.v9.bin differ diff --git a/.vs/ProjectEvaluation/zurnal.strings.v9.bin b/.vs/ProjectEvaluation/zurnal.strings.v9.bin new file mode 100644 index 0000000..ac71a0b Binary files /dev/null and b/.vs/ProjectEvaluation/zurnal.strings.v9.bin differ diff --git a/.vs/ProjectSettings.json b/.vs/ProjectSettings.json new file mode 100644 index 0000000..f8b4888 --- /dev/null +++ b/.vs/ProjectSettings.json @@ -0,0 +1,3 @@ +{ + "CurrentProjectSetting": null +} \ No newline at end of file diff --git a/.vs/VSWorkspaceState.json b/.vs/VSWorkspaceState.json new file mode 100644 index 0000000..ea6b4bf --- /dev/null +++ b/.vs/VSWorkspaceState.json @@ -0,0 +1,10 @@ +{ + "ExpandedNodes": [ + "", + "\\Zurnal", + "\\Zurnal\\Domain", + "\\Zurnal\\Domain\\UseCase" + ], + "SelectedNode": "\\Zurnal\\Domain\\UseCase\\UseCasePresence.cs", + "PreviewInSolutionExplorer": false +} \ No newline at end of file diff --git a/.vs/Zurnal/DesignTimeBuild/.dtbcache.v2 b/.vs/Zurnal/DesignTimeBuild/.dtbcache.v2 new file mode 100644 index 0000000..496409d Binary files /dev/null and b/.vs/Zurnal/DesignTimeBuild/.dtbcache.v2 differ diff --git a/.vs/Zurnal/FileContentIndex/0e56ef44-3d60-4288-a978-865329700980.vsidx b/.vs/Zurnal/FileContentIndex/0e56ef44-3d60-4288-a978-865329700980.vsidx new file mode 100644 index 0000000..607095f Binary files /dev/null and b/.vs/Zurnal/FileContentIndex/0e56ef44-3d60-4288-a978-865329700980.vsidx differ diff --git a/.vs/Zurnal/FileContentIndex/5516a4ae-034f-4978-a4f6-f61e47d7c160.vsidx b/.vs/Zurnal/FileContentIndex/5516a4ae-034f-4978-a4f6-f61e47d7c160.vsidx new file mode 100644 index 0000000..f568453 Binary files /dev/null and b/.vs/Zurnal/FileContentIndex/5516a4ae-034f-4978-a4f6-f61e47d7c160.vsidx differ diff --git a/.vs/Zurnal/FileContentIndex/a0ea7de0-ecda-4a6e-a790-d89493230407.vsidx b/.vs/Zurnal/FileContentIndex/a0ea7de0-ecda-4a6e-a790-d89493230407.vsidx new file mode 100644 index 0000000..1914bc9 Binary files /dev/null and b/.vs/Zurnal/FileContentIndex/a0ea7de0-ecda-4a6e-a790-d89493230407.vsidx differ diff --git a/.vs/Zurnal/FileContentIndex/b12f45d8-58e8-4adf-8de6-74d1924b6d25.vsidx b/.vs/Zurnal/FileContentIndex/b12f45d8-58e8-4adf-8de6-74d1924b6d25.vsidx new file mode 100644 index 0000000..4b9a20b Binary files /dev/null and b/.vs/Zurnal/FileContentIndex/b12f45d8-58e8-4adf-8de6-74d1924b6d25.vsidx differ diff --git a/.vs/Zurnal/FileContentIndex/df39b237-5224-4f9a-81cd-6767c54aca18.vsidx b/.vs/Zurnal/FileContentIndex/df39b237-5224-4f9a-81cd-6767c54aca18.vsidx new file mode 100644 index 0000000..23900e3 Binary files /dev/null and b/.vs/Zurnal/FileContentIndex/df39b237-5224-4f9a-81cd-6767c54aca18.vsidx differ diff --git a/.vs/Zurnal/v17/.futdcache.v2 b/.vs/Zurnal/v17/.futdcache.v2 new file mode 100644 index 0000000..e9a0eba Binary files /dev/null and b/.vs/Zurnal/v17/.futdcache.v2 differ diff --git a/.vs/Zurnal/v17/.suo b/.vs/Zurnal/v17/.suo new file mode 100644 index 0000000..8bd3426 Binary files /dev/null and b/.vs/Zurnal/v17/.suo differ diff --git a/.vs/Zurnal/v17/.wsuo b/.vs/Zurnal/v17/.wsuo new file mode 100644 index 0000000..adf134e Binary files /dev/null and b/.vs/Zurnal/v17/.wsuo differ diff --git a/.vs/Zurnal/v17/DocumentLayout.backup.json b/.vs/Zurnal/v17/DocumentLayout.backup.json new file mode 100644 index 0000000..5c0c3b6 --- /dev/null +++ b/.vs/Zurnal/v17/DocumentLayout.backup.json @@ -0,0 +1,190 @@ +{ + "Version": 1, + "WorkspaceRootPath": "C:\\Users\\profi\\source\\repos\\Zurnal\\", + "Documents": [ + { + "AbsoluteMoniker": "D:0:0:{29C97C84-2606-4D99-8BF5-4B4674F44541}|Zurnal\\Zurnal.csproj|c:\\users\\profi\\source\\repos\\zurnal\\zurnal\\domain\\usecase\\usecasepresence.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}", + "RelativeMoniker": "D:0:0:{29C97C84-2606-4D99-8BF5-4B4674F44541}|Zurnal\\Zurnal.csproj|solutionrelative:zurnal\\domain\\usecase\\usecasepresence.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}" + }, + { + "AbsoluteMoniker": "D:0:0:{29C97C84-2606-4D99-8BF5-4B4674F44541}|Zurnal\\Zurnal.csproj|c:\\users\\profi\\source\\repos\\zurnal\\zurnal\\presence\\usecasegeneratepresence.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}", + "RelativeMoniker": "D:0:0:{29C97C84-2606-4D99-8BF5-4B4674F44541}|Zurnal\\Zurnal.csproj|solutionrelative:zurnal\\presence\\usecasegeneratepresence.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}" + }, + { + "AbsoluteMoniker": "D:0:0:{29C97C84-2606-4D99-8BF5-4B4674F44541}|Zurnal\\Zurnal.csproj|c:\\users\\profi\\source\\repos\\zurnal\\zurnal\\ui\\meinmenu.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}", + "RelativeMoniker": "D:0:0:{29C97C84-2606-4D99-8BF5-4B4674F44541}|Zurnal\\Zurnal.csproj|solutionrelative:zurnal\\ui\\meinmenu.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}" + }, + { + "AbsoluteMoniker": "D:0:0:{29C97C84-2606-4D99-8BF5-4B4674F44541}|Zurnal\\Zurnal.csproj|c:\\users\\profi\\source\\repos\\zurnal\\zurnal\\program.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}", + "RelativeMoniker": "D:0:0:{29C97C84-2606-4D99-8BF5-4B4674F44541}|Zurnal\\Zurnal.csproj|solutionrelative:zurnal\\program.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}" + }, + { + "AbsoluteMoniker": "D:0:0:{29C97C84-2606-4D99-8BF5-4B4674F44541}|Zurnal\\Zurnal.csproj|c:\\users\\profi\\source\\repos\\zurnal\\zurnal\\ui\\userconsole.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}", + "RelativeMoniker": "D:0:0:{29C97C84-2606-4D99-8BF5-4B4674F44541}|Zurnal\\Zurnal.csproj|solutionrelative:zurnal\\ui\\userconsole.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}" + }, + { + "AbsoluteMoniker": "D:0:0:{29C97C84-2606-4D99-8BF5-4B4674F44541}|Zurnal\\Zurnal.csproj|c:\\users\\profi\\source\\repos\\zurnal\\zurnal\\date\\repository\\grouprepositoryimpl.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}", + "RelativeMoniker": "D:0:0:{29C97C84-2606-4D99-8BF5-4B4674F44541}|Zurnal\\Zurnal.csproj|solutionrelative:zurnal\\date\\repository\\grouprepositoryimpl.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}" + }, + { + "AbsoluteMoniker": "D:0:0:{29C97C84-2606-4D99-8BF5-4B4674F44541}|Zurnal\\Zurnal.csproj|c:\\users\\profi\\source\\repos\\zurnal\\zurnal\\date\\localdate\\entity\\user.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}", + "RelativeMoniker": "D:0:0:{29C97C84-2606-4D99-8BF5-4B4674F44541}|Zurnal\\Zurnal.csproj|solutionrelative:zurnal\\date\\localdate\\entity\\user.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}" + }, + { + "AbsoluteMoniker": "D:0:0:{29C97C84-2606-4D99-8BF5-4B4674F44541}|Zurnal\\Zurnal.csproj|c:\\users\\profi\\source\\repos\\zurnal\\zurnal\\date\\localdate\\localstaticdata.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}", + "RelativeMoniker": "D:0:0:{29C97C84-2606-4D99-8BF5-4B4674F44541}|Zurnal\\Zurnal.csproj|solutionrelative:zurnal\\date\\localdate\\localstaticdata.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}" + }, + { + "AbsoluteMoniker": "D:0:0:{29C97C84-2606-4D99-8BF5-4B4674F44541}|Zurnal\\Zurnal.csproj|c:\\users\\profi\\source\\repos\\zurnal\\zurnal\\domain\\usecase\\userusecase.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}", + "RelativeMoniker": "D:0:0:{29C97C84-2606-4D99-8BF5-4B4674F44541}|Zurnal\\Zurnal.csproj|solutionrelative:zurnal\\domain\\usecase\\userusecase.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}" + }, + { + "AbsoluteMoniker": "D:0:0:{29C97C84-2606-4D99-8BF5-4B4674F44541}|Zurnal\\Zurnal.csproj|c:\\users\\profi\\source\\repos\\zurnal\\zurnal\\date\\repository\\userrepositoryimpl.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}", + "RelativeMoniker": "D:0:0:{29C97C84-2606-4D99-8BF5-4B4674F44541}|Zurnal\\Zurnal.csproj|solutionrelative:zurnal\\date\\repository\\userrepositoryimpl.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}" + } + ], + "DocumentGroupContainers": [ + { + "Orientation": 0, + "VerticalTabListWidth": 256, + "DocumentGroups": [ + { + "DockedWidth": 200, + "SelectedChildIndex": 0, + "Children": [ + { + "$type": "Document", + "DocumentIndex": 0, + "Title": "UseCasePresence.cs", + "DocumentMoniker": "C:\\Users\\profi\\source\\repos\\Zurnal\\Zurnal\\Domain\\UseCase\\UseCasePresence.cs", + "RelativeDocumentMoniker": "Zurnal\\Domain\\UseCase\\UseCasePresence.cs", + "ToolTip": "C:\\Users\\profi\\source\\repos\\Zurnal\\Zurnal\\Domain\\UseCase\\UseCasePresence.cs", + "RelativeToolTip": "Zurnal\\Domain\\UseCase\\UseCasePresence.cs", + "ViewState": "AgIAAB0AAAAAAAAAAAAwwDcAAAABAAAAAAAAAA==", + "Icon": "ae27a6b0-e345-4288-96df-5eaf394ee369.000738|", + "WhenOpened": "2024-10-21T11:51:23.091Z", + "EditorCaption": "" + }, + { + "$type": "Document", + "DocumentIndex": 4, + "Title": "UserConsole.cs", + "DocumentMoniker": "C:\\Users\\profi\\source\\repos\\Zurnal\\Zurnal\\UI\\UserConsole.cs", + "RelativeDocumentMoniker": "Zurnal\\UI\\UserConsole.cs", + "ToolTip": "C:\\Users\\profi\\source\\repos\\Zurnal\\Zurnal\\UI\\UserConsole.cs", + "RelativeToolTip": "Zurnal\\UI\\UserConsole.cs", + "ViewState": "AgIAAAAAAAAAAAAAAAAAACIAAAABAAAAAAAAAA==", + "Icon": "ae27a6b0-e345-4288-96df-5eaf394ee369.000738|", + "WhenOpened": "2024-10-21T11:39:20.727Z", + "EditorCaption": "" + }, + { + "$type": "Document", + "DocumentIndex": 6, + "Title": "User.cs", + "DocumentMoniker": "C:\\Users\\profi\\source\\repos\\Zurnal\\Zurnal\\Date\\LocalDate\\Entity\\User.cs", + "RelativeDocumentMoniker": "Zurnal\\Date\\LocalDate\\Entity\\User.cs", + "ToolTip": "C:\\Users\\profi\\source\\repos\\Zurnal\\Zurnal\\Date\\LocalDate\\Entity\\User.cs", + "RelativeToolTip": "Zurnal\\Date\\LocalDate\\Entity\\User.cs", + "ViewState": "AgIAAAAAAAAAAAAAAAAAAA4AAAAAAAAAAAAAAA==", + "Icon": "ae27a6b0-e345-4288-96df-5eaf394ee369.000738|", + "WhenOpened": "2024-10-21T11:10:50.678Z", + "EditorCaption": "" + }, + { + "$type": "Document", + "DocumentIndex": 1, + "Title": "UseCaseGeneratePresence.cs", + "DocumentMoniker": "C:\\Users\\profi\\source\\repos\\Zurnal\\Zurnal\\Presence\\UseCaseGeneratePresence.cs", + "RelativeDocumentMoniker": "Zurnal\\Presence\\UseCaseGeneratePresence.cs", + "ToolTip": "C:\\Users\\profi\\source\\repos\\Zurnal\\Zurnal\\Presence\\UseCaseGeneratePresence.cs", + "RelativeToolTip": "Zurnal\\Presence\\UseCaseGeneratePresence.cs", + "ViewState": "AgIAABkAAAAAAAAAAAAgwDEAAAABAAAAAAAAAA==", + "Icon": "ae27a6b0-e345-4288-96df-5eaf394ee369.000738|", + "WhenOpened": "2024-10-21T10:49:23.262Z", + "EditorCaption": "" + }, + { + "$type": "Document", + "DocumentIndex": 2, + "Title": "MeinMenu.cs", + "DocumentMoniker": "C:\\Users\\profi\\source\\repos\\Zurnal\\Zurnal\\UI\\MeinMenu.cs", + "RelativeDocumentMoniker": "Zurnal\\UI\\MeinMenu.cs", + "ToolTip": "C:\\Users\\profi\\source\\repos\\Zurnal\\Zurnal\\UI\\MeinMenu.cs", + "RelativeToolTip": "Zurnal\\UI\\MeinMenu.cs", + "ViewState": "AgIAABAAAAAAAAAAAAAgwAsAAAAuAAAAAAAAAA==", + "Icon": "ae27a6b0-e345-4288-96df-5eaf394ee369.000738|", + "WhenOpened": "2024-10-21T10:40:32.085Z", + "EditorCaption": "" + }, + { + "$type": "Document", + "DocumentIndex": 3, + "Title": "Program.cs", + "DocumentMoniker": "C:\\Users\\profi\\source\\repos\\Zurnal\\Zurnal\\Program.cs", + "RelativeDocumentMoniker": "Zurnal\\Program.cs", + "ToolTip": "C:\\Users\\profi\\source\\repos\\Zurnal\\Zurnal\\Program.cs", + "RelativeToolTip": "Zurnal\\Program.cs", + "ViewState": "AgIAAAAAAAAAAAAAAAAAAAMAAAAAAAAAAAAAAA==", + "Icon": "ae27a6b0-e345-4288-96df-5eaf394ee369.000738|", + "WhenOpened": "2024-10-21T10:37:14.956Z", + "EditorCaption": "" + }, + { + "$type": "Document", + "DocumentIndex": 5, + "Title": "GroupRepositoryImpl.cs", + "DocumentMoniker": "C:\\Users\\profi\\source\\repos\\Zurnal\\Zurnal\\Date\\Repository\\GroupRepositoryImpl.cs", + "RelativeDocumentMoniker": "Zurnal\\Date\\Repository\\GroupRepositoryImpl.cs", + "ToolTip": "C:\\Users\\profi\\source\\repos\\Zurnal\\Zurnal\\Date\\Repository\\GroupRepositoryImpl.cs", + "RelativeToolTip": "Zurnal\\Date\\Repository\\GroupRepositoryImpl.cs", + "ViewState": "AgIAAAYAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA==", + "Icon": "ae27a6b0-e345-4288-96df-5eaf394ee369.000738|", + "WhenOpened": "2024-10-21T10:36:36.451Z", + "EditorCaption": "" + }, + { + "$type": "Document", + "DocumentIndex": 8, + "Title": "UserUseCase.cs", + "DocumentMoniker": "C:\\Users\\profi\\source\\repos\\Zurnal\\Zurnal\\Domain\\UseCase\\UserUseCase.cs", + "RelativeDocumentMoniker": "Zurnal\\Domain\\UseCase\\UserUseCase.cs", + "ToolTip": "C:\\Users\\profi\\source\\repos\\Zurnal\\Zurnal\\Domain\\UseCase\\UserUseCase.cs", + "RelativeToolTip": "Zurnal\\Domain\\UseCase\\UserUseCase.cs", + "ViewState": "AgIAACUAAAAAAAAAAAAAADQAAAA7AAAAAAAAAA==", + "Icon": "ae27a6b0-e345-4288-96df-5eaf394ee369.000738|", + "WhenOpened": "2024-10-21T10:34:06.789Z", + "EditorCaption": "" + }, + { + "$type": "Document", + "DocumentIndex": 9, + "Title": "UserRepositoryImpl.cs", + "DocumentMoniker": "C:\\Users\\profi\\source\\repos\\Zurnal\\Zurnal\\Date\\Repository\\UserRepositoryImpl.cs", + "RelativeDocumentMoniker": "Zurnal\\Date\\Repository\\UserRepositoryImpl.cs", + "ToolTip": "C:\\Users\\profi\\source\\repos\\Zurnal\\Zurnal\\Date\\Repository\\UserRepositoryImpl.cs", + "RelativeToolTip": "Zurnal\\Date\\Repository\\UserRepositoryImpl.cs", + "ViewState": "AgIAAAAAAAAAAAAAAAAAAAYAAAArAAAAAAAAAA==", + "Icon": "ae27a6b0-e345-4288-96df-5eaf394ee369.000738|", + "WhenOpened": "2024-10-21T10:32:45.245Z", + "EditorCaption": "" + }, + { + "$type": "Document", + "DocumentIndex": 7, + "Title": "LocalStaticData.cs", + "DocumentMoniker": "C:\\Users\\profi\\source\\repos\\Zurnal\\Zurnal\\Date\\LocalDate\\LocalStaticData.cs", + "RelativeDocumentMoniker": "Zurnal\\Date\\LocalDate\\LocalStaticData.cs", + "ToolTip": "C:\\Users\\profi\\source\\repos\\Zurnal\\Zurnal\\Date\\LocalDate\\LocalStaticData.cs", + "RelativeToolTip": "Zurnal\\Date\\LocalDate\\LocalStaticData.cs", + "ViewState": "AgIAAAAAAAAAAAAAAAAAABsAAAACAAAAAAAAAA==", + "Icon": "ae27a6b0-e345-4288-96df-5eaf394ee369.000738|", + "WhenOpened": "2024-10-21T10:31:32.261Z", + "EditorCaption": "" + } + ] + } + ] + } + ] +} \ No newline at end of file diff --git a/.vs/Zurnal/v17/DocumentLayout.json b/.vs/Zurnal/v17/DocumentLayout.json new file mode 100644 index 0000000..8822e6e --- /dev/null +++ b/.vs/Zurnal/v17/DocumentLayout.json @@ -0,0 +1,185 @@ +{ + "Version": 1, + "WorkspaceRootPath": "C:\\Users\\profi\\source\\repos\\Zurnal\\", + "Documents": [ + { + "AbsoluteMoniker": "D:0:0:{A2FE74E1-B743-11D0-AE1A-00A0C90FFFC3}|\u003CMiscFiles\u003E|C:\\Users\\profi\\source\\repos\\Zurnal\\Zurnal\\Domain\\UseCase\\UseCasePresence.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}", + "RelativeMoniker": "D:0:0:{A2FE74E1-B743-11D0-AE1A-00A0C90FFFC3}|\u003CMiscFiles\u003E|solutionrelative:Zurnal\\Domain\\UseCase\\UseCasePresence.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}" + }, + { + "AbsoluteMoniker": "D:0:0:{A2FE74E1-B743-11D0-AE1A-00A0C90FFFC3}|\u003CMiscFiles\u003E|C:\\Users\\profi\\source\\repos\\Zurnal\\Zurnal\\UI\\UserConsole.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}", + "RelativeMoniker": "D:0:0:{A2FE74E1-B743-11D0-AE1A-00A0C90FFFC3}|\u003CMiscFiles\u003E|solutionrelative:Zurnal\\UI\\UserConsole.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}" + }, + { + "AbsoluteMoniker": "D:0:0:{A2FE74E1-B743-11D0-AE1A-00A0C90FFFC3}|\u003CMiscFiles\u003E|C:\\Users\\profi\\source\\repos\\Zurnal\\Zurnal\\Date\\LocalDate\\Entity\\User.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}", + "RelativeMoniker": "D:0:0:{A2FE74E1-B743-11D0-AE1A-00A0C90FFFC3}|\u003CMiscFiles\u003E|solutionrelative:Zurnal\\Date\\LocalDate\\Entity\\User.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}" + }, + { + "AbsoluteMoniker": "D:0:0:{A2FE74E1-B743-11D0-AE1A-00A0C90FFFC3}|\u003CMiscFiles\u003E|C:\\Users\\profi\\source\\repos\\Zurnal\\Zurnal\\Presence\\UseCaseGeneratePresence.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}", + "RelativeMoniker": "D:0:0:{A2FE74E1-B743-11D0-AE1A-00A0C90FFFC3}|\u003CMiscFiles\u003E|solutionrelative:Zurnal\\Presence\\UseCaseGeneratePresence.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}" + }, + { + "AbsoluteMoniker": "D:0:0:{A2FE74E1-B743-11D0-AE1A-00A0C90FFFC3}|\u003CMiscFiles\u003E|C:\\Users\\profi\\source\\repos\\Zurnal\\Zurnal\\UI\\MeinMenu.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}", + "RelativeMoniker": "D:0:0:{A2FE74E1-B743-11D0-AE1A-00A0C90FFFC3}|\u003CMiscFiles\u003E|solutionrelative:Zurnal\\UI\\MeinMenu.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}" + }, + { + "AbsoluteMoniker": "D:0:0:{A2FE74E1-B743-11D0-AE1A-00A0C90FFFC3}|\u003CMiscFiles\u003E|C:\\Users\\profi\\source\\repos\\Zurnal\\Zurnal\\Program.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}", + "RelativeMoniker": "D:0:0:{A2FE74E1-B743-11D0-AE1A-00A0C90FFFC3}|\u003CMiscFiles\u003E|solutionrelative:Zurnal\\Program.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}" + }, + { + "AbsoluteMoniker": "D:0:0:{A2FE74E1-B743-11D0-AE1A-00A0C90FFFC3}|\u003CMiscFiles\u003E|C:\\Users\\profi\\source\\repos\\Zurnal\\Zurnal\\Date\\Repository\\GroupRepositoryImpl.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}", + "RelativeMoniker": "D:0:0:{A2FE74E1-B743-11D0-AE1A-00A0C90FFFC3}|\u003CMiscFiles\u003E|solutionrelative:Zurnal\\Date\\Repository\\GroupRepositoryImpl.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}" + }, + { + "AbsoluteMoniker": "D:0:0:{A2FE74E1-B743-11D0-AE1A-00A0C90FFFC3}|\u003CMiscFiles\u003E|C:\\Users\\profi\\source\\repos\\Zurnal\\Zurnal\\Domain\\UseCase\\UserUseCase.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}", + "RelativeMoniker": "D:0:0:{A2FE74E1-B743-11D0-AE1A-00A0C90FFFC3}|\u003CMiscFiles\u003E|solutionrelative:Zurnal\\Domain\\UseCase\\UserUseCase.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}" + }, + { + "AbsoluteMoniker": "D:0:0:{A2FE74E1-B743-11D0-AE1A-00A0C90FFFC3}|\u003CMiscFiles\u003E|C:\\Users\\profi\\source\\repos\\Zurnal\\Zurnal\\Date\\Repository\\UserRepositoryImpl.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}", + "RelativeMoniker": "D:0:0:{A2FE74E1-B743-11D0-AE1A-00A0C90FFFC3}|\u003CMiscFiles\u003E|solutionrelative:Zurnal\\Date\\Repository\\UserRepositoryImpl.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}" + }, + { + "AbsoluteMoniker": "D:0:0:{A2FE74E1-B743-11D0-AE1A-00A0C90FFFC3}|\u003CMiscFiles\u003E|C:\\Users\\profi\\source\\repos\\Zurnal\\Zurnal\\Date\\LocalDate\\LocalStaticData.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}", + "RelativeMoniker": "D:0:0:{A2FE74E1-B743-11D0-AE1A-00A0C90FFFC3}|\u003CMiscFiles\u003E|solutionrelative:Zurnal\\Date\\LocalDate\\LocalStaticData.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}" + } + ], + "DocumentGroupContainers": [ + { + "Orientation": 0, + "VerticalTabListWidth": 256, + "DocumentGroups": [ + { + "DockedWidth": 200, + "SelectedChildIndex": 1, + "Children": [ + { + "$type": "Bookmark", + "Name": "ST:0:0:{aa2115a1-9712-457b-9047-dbb71ca2cdd2}" + }, + { + "$type": "Document", + "DocumentIndex": 0, + "Title": "UseCasePresence.cs", + "DocumentMoniker": "C:\\Users\\profi\\source\\repos\\Zurnal\\Zurnal\\Domain\\UseCase\\UseCasePresence.cs", + "RelativeDocumentMoniker": "Zurnal\\Domain\\UseCase\\UseCasePresence.cs", + "ToolTip": "C:\\Users\\profi\\source\\repos\\Zurnal\\Zurnal\\Domain\\UseCase\\UseCasePresence.cs", + "RelativeToolTip": "Zurnal\\Domain\\UseCase\\UseCasePresence.cs", + "ViewState": "AgIAAAAAAAAAAAAAAAAAABYAAAANAAAAAAAAAA==", + "Icon": "ae27a6b0-e345-4288-96df-5eaf394ee369.000738|", + "WhenOpened": "2024-10-21T11:51:23.091Z", + "EditorCaption": "" + }, + { + "$type": "Document", + "DocumentIndex": 1, + "Title": "UserConsole.cs", + "DocumentMoniker": "C:\\Users\\profi\\source\\repos\\Zurnal\\Zurnal\\UI\\UserConsole.cs", + "RelativeDocumentMoniker": "Zurnal\\UI\\UserConsole.cs", + "ToolTip": "C:\\Users\\profi\\source\\repos\\Zurnal\\Zurnal\\UI\\UserConsole.cs", + "RelativeToolTip": "Zurnal\\UI\\UserConsole.cs", + "ViewState": "AgIAAAAAAAAAAAAAAAAAACIAAAABAAAAAAAAAA==", + "Icon": "ae27a6b0-e345-4288-96df-5eaf394ee369.000738|", + "WhenOpened": "2024-10-21T11:39:20.727Z" + }, + { + "$type": "Document", + "DocumentIndex": 2, + "Title": "User.cs", + "DocumentMoniker": "C:\\Users\\profi\\source\\repos\\Zurnal\\Zurnal\\Date\\LocalDate\\Entity\\User.cs", + "RelativeDocumentMoniker": "Zurnal\\Date\\LocalDate\\Entity\\User.cs", + "ToolTip": "C:\\Users\\profi\\source\\repos\\Zurnal\\Zurnal\\Date\\LocalDate\\Entity\\User.cs", + "RelativeToolTip": "Zurnal\\Date\\LocalDate\\Entity\\User.cs", + "ViewState": "AgIAAAAAAAAAAAAAAAAAAA4AAAAAAAAAAAAAAA==", + "Icon": "ae27a6b0-e345-4288-96df-5eaf394ee369.000738|", + "WhenOpened": "2024-10-21T11:10:50.678Z" + }, + { + "$type": "Document", + "DocumentIndex": 3, + "Title": "UseCaseGeneratePresence.cs", + "DocumentMoniker": "C:\\Users\\profi\\source\\repos\\Zurnal\\Zurnal\\Presence\\UseCaseGeneratePresence.cs", + "RelativeDocumentMoniker": "Zurnal\\Presence\\UseCaseGeneratePresence.cs", + "ToolTip": "C:\\Users\\profi\\source\\repos\\Zurnal\\Zurnal\\Presence\\UseCaseGeneratePresence.cs", + "RelativeToolTip": "Zurnal\\Presence\\UseCaseGeneratePresence.cs", + "ViewState": "AgIAABkAAAAAAAAAAAAgwDEAAAABAAAAAAAAAA==", + "Icon": "ae27a6b0-e345-4288-96df-5eaf394ee369.000738|", + "WhenOpened": "2024-10-21T10:49:23.262Z" + }, + { + "$type": "Document", + "DocumentIndex": 4, + "Title": "MeinMenu.cs", + "DocumentMoniker": "C:\\Users\\profi\\source\\repos\\Zurnal\\Zurnal\\UI\\MeinMenu.cs", + "RelativeDocumentMoniker": "Zurnal\\UI\\MeinMenu.cs", + "ToolTip": "C:\\Users\\profi\\source\\repos\\Zurnal\\Zurnal\\UI\\MeinMenu.cs", + "RelativeToolTip": "Zurnal\\UI\\MeinMenu.cs", + "ViewState": "AgIAABAAAAAAAAAAAAAgwAsAAAAuAAAAAAAAAA==", + "Icon": "ae27a6b0-e345-4288-96df-5eaf394ee369.000738|", + "WhenOpened": "2024-10-21T10:40:32.085Z" + }, + { + "$type": "Document", + "DocumentIndex": 5, + "Title": "Program.cs", + "DocumentMoniker": "C:\\Users\\profi\\source\\repos\\Zurnal\\Zurnal\\Program.cs", + "RelativeDocumentMoniker": "Zurnal\\Program.cs", + "ToolTip": "C:\\Users\\profi\\source\\repos\\Zurnal\\Zurnal\\Program.cs", + "RelativeToolTip": "Zurnal\\Program.cs", + "ViewState": "AgIAAAAAAAAAAAAAAAAAAAMAAAAAAAAAAAAAAA==", + "Icon": "ae27a6b0-e345-4288-96df-5eaf394ee369.000738|", + "WhenOpened": "2024-10-21T10:37:14.956Z" + }, + { + "$type": "Document", + "DocumentIndex": 6, + "Title": "GroupRepositoryImpl.cs", + "DocumentMoniker": "C:\\Users\\profi\\source\\repos\\Zurnal\\Zurnal\\Date\\Repository\\GroupRepositoryImpl.cs", + "RelativeDocumentMoniker": "Zurnal\\Date\\Repository\\GroupRepositoryImpl.cs", + "ToolTip": "C:\\Users\\profi\\source\\repos\\Zurnal\\Zurnal\\Date\\Repository\\GroupRepositoryImpl.cs", + "RelativeToolTip": "Zurnal\\Date\\Repository\\GroupRepositoryImpl.cs", + "ViewState": "AgIAAAYAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA==", + "Icon": "ae27a6b0-e345-4288-96df-5eaf394ee369.000738|", + "WhenOpened": "2024-10-21T10:36:36.451Z" + }, + { + "$type": "Document", + "DocumentIndex": 7, + "Title": "UserUseCase.cs", + "DocumentMoniker": "C:\\Users\\profi\\source\\repos\\Zurnal\\Zurnal\\Domain\\UseCase\\UserUseCase.cs", + "RelativeDocumentMoniker": "Zurnal\\Domain\\UseCase\\UserUseCase.cs", + "ToolTip": "C:\\Users\\profi\\source\\repos\\Zurnal\\Zurnal\\Domain\\UseCase\\UserUseCase.cs", + "RelativeToolTip": "Zurnal\\Domain\\UseCase\\UserUseCase.cs", + "ViewState": "AgIAACUAAAAAAAAAAAAAADQAAAA7AAAAAAAAAA==", + "Icon": "ae27a6b0-e345-4288-96df-5eaf394ee369.000738|", + "WhenOpened": "2024-10-21T10:34:06.789Z" + }, + { + "$type": "Document", + "DocumentIndex": 8, + "Title": "UserRepositoryImpl.cs", + "DocumentMoniker": "C:\\Users\\profi\\source\\repos\\Zurnal\\Zurnal\\Date\\Repository\\UserRepositoryImpl.cs", + "RelativeDocumentMoniker": "Zurnal\\Date\\Repository\\UserRepositoryImpl.cs", + "ToolTip": "C:\\Users\\profi\\source\\repos\\Zurnal\\Zurnal\\Date\\Repository\\UserRepositoryImpl.cs", + "RelativeToolTip": "Zurnal\\Date\\Repository\\UserRepositoryImpl.cs", + "ViewState": "AgIAAAAAAAAAAAAAAAAAAAYAAAArAAAAAAAAAA==", + "Icon": "ae27a6b0-e345-4288-96df-5eaf394ee369.000738|", + "WhenOpened": "2024-10-21T10:32:45.245Z" + }, + { + "$type": "Document", + "DocumentIndex": 9, + "Title": "LocalStaticData.cs", + "DocumentMoniker": "C:\\Users\\profi\\source\\repos\\Zurnal\\Zurnal\\Date\\LocalDate\\LocalStaticData.cs", + "RelativeDocumentMoniker": "Zurnal\\Date\\LocalDate\\LocalStaticData.cs", + "ToolTip": "C:\\Users\\profi\\source\\repos\\Zurnal\\Zurnal\\Date\\LocalDate\\LocalStaticData.cs", + "RelativeToolTip": "Zurnal\\Date\\LocalDate\\LocalStaticData.cs", + "ViewState": "AgIAAAAAAAAAAAAAAAAAABsAAAACAAAAAAAAAA==", + "Icon": "ae27a6b0-e345-4288-96df-5eaf394ee369.000738|", + "WhenOpened": "2024-10-21T10:31:32.261Z" + } + ] + } + ] + } + ] +} \ No newline at end of file diff --git a/.vs/slnx.sqlite b/.vs/slnx.sqlite new file mode 100644 index 0000000..015932d Binary files /dev/null and b/.vs/slnx.sqlite differ diff --git a/Zurnal.sln b/Zurnal.sln new file mode 100644 index 0000000..7e09dc7 --- /dev/null +++ b/Zurnal.sln @@ -0,0 +1,25 @@ + +Microsoft Visual Studio Solution File, Format Version 12.00 +# Visual Studio Version 17 +VisualStudioVersion = 17.11.35312.102 +MinimumVisualStudioVersion = 10.0.40219.1 +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Zurnal", "Zurnal\Zurnal.csproj", "{29C97C84-2606-4D99-8BF5-4B4674F44541}" +EndProject +Global + GlobalSection(SolutionConfigurationPlatforms) = preSolution + Debug|Any CPU = Debug|Any CPU + Release|Any CPU = Release|Any CPU + EndGlobalSection + GlobalSection(ProjectConfigurationPlatforms) = postSolution + {29C97C84-2606-4D99-8BF5-4B4674F44541}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {29C97C84-2606-4D99-8BF5-4B4674F44541}.Debug|Any CPU.Build.0 = Debug|Any CPU + {29C97C84-2606-4D99-8BF5-4B4674F44541}.Release|Any CPU.ActiveCfg = Release|Any CPU + {29C97C84-2606-4D99-8BF5-4B4674F44541}.Release|Any CPU.Build.0 = Release|Any CPU + EndGlobalSection + GlobalSection(SolutionProperties) = preSolution + HideSolutionNode = FALSE + EndGlobalSection + GlobalSection(ExtensibilityGlobals) = postSolution + SolutionGuid = {F9D7CD6B-1F16-42CA-A80A-B8E5D87D89DC} + EndGlobalSection +EndGlobal diff --git a/Zurnal/Date/LocalDate/Entity/Group.cs b/Zurnal/Date/LocalDate/Entity/Group.cs new file mode 100644 index 0000000..6041311 --- /dev/null +++ b/Zurnal/Date/LocalDate/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/Zurnal/Date/LocalDate/Entity/Presence.cs b/Zurnal/Date/LocalDate/Entity/Presence.cs new file mode 100644 index 0000000..70b8d1e --- /dev/null +++ b/Zurnal/Date/LocalDate/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/Zurnal/Date/LocalDate/Entity/User.cs b/Zurnal/Date/LocalDate/Entity/User.cs new file mode 100644 index 0000000..5af4881 --- /dev/null +++ b/Zurnal/Date/LocalDate/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/Zurnal/Date/LocalDate/LocalStaticData.cs b/Zurnal/Date/LocalDate/LocalStaticData.cs new file mode 100644 index 0000000..8419abb --- /dev/null +++ b/Zurnal/Date/LocalDate/LocalStaticData.cs @@ -0,0 +1,30 @@ +using Demo.domain.Models; +using System; +using System.Collections.Generic; +using System.Linq; +using System.Text; +using System.Threading.Tasks; + +namespace Zurnal.Date.LocalDate +{ + internal 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/Zurnal/Date/Repository/GroupRepositoryImpl.cs b/Zurnal/Date/Repository/GroupRepositoryImpl.cs new file mode 100644 index 0000000..b35764f --- /dev/null +++ b/Zurnal/Date/Repository/GroupRepositoryImpl.cs @@ -0,0 +1,63 @@ +using Demo.domain.Models; +using System.Diagnostics; +using Zurnal.Date.LocalDate; +using Zurnal.Date.Repository; + +namespace Demo.Data.Repository +{ + [DebuggerDisplay($"{{{nameof(GetDebuggerDisplay)}(),nq}}")] + public class GroupRepositoryImpl : IGroupRepository + { + public List GetAllGroups() => LocalStaticData.groups; + + public void AddGroup(GroupLocalEntity newGroup) + { + LocalStaticData.groups.Add(newGroup); + } + + public void UpdateGroupName(int groupId, string newName) +{ + var group = LocalStaticData.groups.FirstOrDefault(g => g.Id == groupId); + if (group != null) + { + group.Name = newName; + } +} + + + public GroupLocalEntity GetGroupById(int groupId) + { + return LocalStaticData.groups.FirstOrDefault(g => g.Id == groupId); + } + + private static string GetDebuggerDisplay() + { + return $"GroupRepository with {LocalStaticData.groups.Count} groups"; + } + + internal void AddGroup(Group group) + { + throw new NotImplementedException(); + } + + public List GetAllGroup() + { + throw new NotImplementedException(); + } + + public bool RemoveGroupById(int groupID) + { + throw new NotImplementedException(); + } + + public bool UpdateGroupById(int groupID, GroupLocalEntity updatedGroup) + { + throw new NotImplementedException(); + } + + bool IGroupRepository.AddGroup(GroupLocalEntity newGroup) + { + throw new NotImplementedException(); + } + } +} \ No newline at end of file diff --git a/Zurnal/Date/Repository/IGroupRepository.cs b/Zurnal/Date/Repository/IGroupRepository.cs new file mode 100644 index 0000000..cde3b71 --- /dev/null +++ b/Zurnal/Date/Repository/IGroupRepository.cs @@ -0,0 +1,18 @@ +using Demo.domain.Models; +using System; +using System.Collections.Generic; +using System.Linq; +using System.Text; +using System.Threading.Tasks; + +namespace Zurnal.Date.Repository +{ + internal interface IGroupRepository + { + List GetAllGroup(); + bool RemoveGroupById(int groupID); + bool UpdateGroupById(int groupID, GroupLocalEntity updatedGroup); + GroupLocalEntity GetGroupById(int groupID); + bool AddGroup(GroupLocalEntity newGroup); + } +} diff --git a/Zurnal/Date/Repository/UserRepositoryImpl.cs b/Zurnal/Date/Repository/UserRepositoryImpl.cs new file mode 100644 index 0000000..3cf38bf --- /dev/null +++ b/Zurnal/Date/Repository/UserRepositoryImpl.cs @@ -0,0 +1,72 @@ +using Demo.domain.Models; +using Zurnal.Date.LocalDate; +using Zurnal.Date.Repository; + +namespace Demo.Data.Repository +{ + public class UserRepositoryImpl : IGroupRepository + { + 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; + } + public List GetAllUsersList() + { + return GetAllUsers; + } + + List IGroupRepository.GetAllGroup() + { + throw new NotImplementedException(); + } + + bool IGroupRepository.RemoveGroupById(int groupID) + { + throw new NotImplementedException(); + } + + bool IGroupRepository.UpdateGroupById(int groupID, GroupLocalEntity updatedGroup) + { + throw new NotImplementedException(); + } + + GroupLocalEntity IGroupRepository.GetGroupById(int groupID) + { + throw new NotImplementedException(); + } + + bool IGroupRepository.AddGroup(GroupLocalEntity newGroup) + { + throw new NotImplementedException(); + } + } + +} \ No newline at end of file diff --git a/Zurnal/Domain/Model/Group.cs b/Zurnal/Domain/Model/Group.cs new file mode 100644 index 0000000..6353dde --- /dev/null +++ b/Zurnal/Domain/Model/Group.cs @@ -0,0 +1,20 @@ +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; } + + public static implicit operator Group(GroupLocalEntity v) + { + throw new NotImplementedException(); + } + + } +} diff --git a/Zurnal/Domain/Model/Presence.cs b/Zurnal/Domain/Model/Presence.cs new file mode 100644 index 0000000..a5fe7a0 --- /dev/null +++ b/Zurnal/Domain/Model/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/Zurnal/Domain/Model/User.cs b/Zurnal/Domain/Model/User.cs new file mode 100644 index 0000000..cffca41 --- /dev/null +++ b/Zurnal/Domain/Model/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/Zurnal/Domain/UseCase/GroupUseCase.cs b/Zurnal/Domain/UseCase/GroupUseCase.cs new file mode 100644 index 0000000..9630c61 --- /dev/null +++ b/Zurnal/Domain/UseCase/GroupUseCase.cs @@ -0,0 +1,36 @@ +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 GroupUseCase + { + private UserRepositoryImpl _repositoryUserImpl; + private GroupRepositoryImpl _repositoryGroupImpl; + + public List GetAllGroups() => _repositoryGroupImpl.GetAllGroups() + .Select(it => new Group { Id = it.Id, Name = it.Name }).ToList(); + + public GroupUseCase(UserRepositoryImpl repositoryImpl, GroupRepositoryImpl repositoryGroupImpl) + { + _repositoryUserImpl = repositoryImpl; + _repositoryGroupImpl = repositoryGroupImpl; + } + + public void AddGroup(Group group) + { + _repositoryGroupImpl.AddGroup(group: group); + } + + public void UpdateGroupName(int groupId, string newName) +{ + _repositoryGroupImpl.UpdateGroupName(groupId, newName); +} + + } +} \ No newline at end of file diff --git a/Zurnal/Domain/UseCase/UseCasePresence.cs b/Zurnal/Domain/UseCase/UseCasePresence.cs new file mode 100644 index 0000000..f6ddb9e --- /dev/null +++ b/Zurnal/Domain/UseCase/UseCasePresence.cs @@ -0,0 +1,56 @@ +using System; +using System.Collections.Generic; +using System.Linq; +using System.Text; +using System.Threading.Tasks; + +namespace Zurnal.Domain.UseCase +{ + internal class UseCasePresence + { + private Dictionary> attendanceRecords; + + public UseCasePresence() + { + attendanceRecords = new Dictionary>(); + } + + public void MarkAttendance(string group, DateTime date) + { + if (!attendanceRecords.ContainsKey(group)) + { + attendanceRecords[group] = new List(); + } + attendanceRecords[group].Add(date); + } + + public List GetAttendanceByGroup(string group) + { + if (attendanceRecords.ContainsKey(group)) + { + return attendanceRecords[group]; + } + return new List(); + } + + public List GetAttendanceByGroupAndDate(string group, DateTime date) + { + if (attendanceRecords.ContainsKey(group)) + { + return attendanceRecords[group].Where(d => d.Date == date.Date).ToList(); + } + return new List(); + } + + public void MarkUserAsAbsent(string group, DateTime startDate, DateTime endDate) + { + if (attendanceRecords.ContainsKey(group)) + { + for (DateTime date = startDate; date <= endDate; date = date.AddDays(1)) + { + attendanceRecords[group].Remove(date); + } + } + } + } +} diff --git a/Zurnal/Domain/UseCase/UserUseCase.cs b/Zurnal/Domain/UseCase/UserUseCase.cs new file mode 100644 index 0000000..a01ce49 --- /dev/null +++ b/Zurnal/Domain/UseCase/UserUseCase.cs @@ -0,0 +1,57 @@ +using Demo.Data.Repository; +using Demo.domain.Models; +using System; +using System.Collections.Generic; +using System.Linq; +using System.Text; +using System.Threading.Tasks; +using Zurnal.Date.Repository; + +namespace Demo.Domain.UseCase +{ + public class UserUseCase + { + private UserRepositoryImpl _repositoryUserImpl; + private readonly IGroupRepository _repositoryGroupImpl; + + internal IGroupRepository RepositoryGroupImpl => _repositoryGroupImpl; + + public UserUseCase(UserRepositoryImpl repositoryImpl, GroupRepositoryImpl repositoryGroupImpl) + { + _repositoryUserImpl = repositoryImpl; + _repositoryGroupImpl = (IGroupRepository?)repositoryGroupImpl; + } + + public List GetAllGroups() => RepositoryGroupImpl.GetAllGroup() + .Select(it => new Group { Id = it.Id, Name = it.Name}).ToList(); + public List GetAllUsers() => _repositoryUserImpl.GetAllUsers + .Join(RepositoryGroupImpl.GetAllGroup(), + 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 }; +} + + public User FindUserByGuid(Guid userGuid) + { + var user = _repositoryUserImpl.GetAllUsersList().FirstOrDefault(u => u.Guid == userGuid); + if (user == null) throw new Exception("Нет такого пользователя"); + var group = RepositoryGroupImpl.GetAllGroup().FirstOrDefault(g => g.Id == user.GroupID); + return new User { FIO = user.FIO, Guid = user.Guid, Group = group }; + } + } + } \ No newline at end of file diff --git a/Zurnal/Presence/UseCaseGeneratePresence.cs b/Zurnal/Presence/UseCaseGeneratePresence.cs new file mode 100644 index 0000000..62cd8eb --- /dev/null +++ b/Zurnal/Presence/UseCaseGeneratePresence.cs @@ -0,0 +1,50 @@ +using System; +using System.Collections.Generic; +using System.Linq; +using System.Text; +using System.Threading.Tasks; + +namespace Zurnal.Presence +{ + internal class UseCaseGeneratePresence + { + public List GenerateDailyAttendance(int firstLesson, int lastLesson, string groupNumber, DateTime currentDate) + { + List attendanceRecords = new List(); + + for (int lesson = firstLesson; lesson <= lastLesson; lesson++) + { + attendanceRecords.Add(new AttendanceRecord + { + LessonNumber = lesson, + GroupNumber = groupNumber, + Date = currentDate, + IsPresent = true + }); + } + + return attendanceRecords; + } + + public List GenerateWeeklyAttendance(int firstLesson, int lastLesson, string groupNumber, DateTime startDate) + { + List weeklyAttendanceRecords = new List(); + + for (int day = 0; day < 7; day++) + { + DateTime currentDate = startDate.AddDays(day); + weeklyAttendanceRecords.AddRange(GenerateDailyAttendance(firstLesson, lastLesson, groupNumber, currentDate)); + } + + return weeklyAttendanceRecords; + } + } + + internal class AttendanceRecord + { + public int LessonNumber { get; set; } + public string GroupNumber { get; set; } + public DateTime Date { get; set; } + public bool IsPresent { get; set; } + } +} diff --git a/Zurnal/Program.cs b/Zurnal/Program.cs new file mode 100644 index 0000000..15500c2 --- /dev/null +++ b/Zurnal/Program.cs @@ -0,0 +1,9 @@ +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/Zurnal/UI/MeinMenu.cs b/Zurnal/UI/MeinMenu.cs new file mode 100644 index 0000000..49dffac --- /dev/null +++ b/Zurnal/UI/MeinMenu.cs @@ -0,0 +1,35 @@ +using Demo.Domain.UseCase; + +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; + } + + } + } + + } +} \ No newline at end of file diff --git a/Zurnal/UI/UserConsole.cs b/Zurnal/UI/UserConsole.cs new file mode 100644 index 0000000..309d69d --- /dev/null +++ b/Zurnal/UI/UserConsole.cs @@ -0,0 +1,35 @@ +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); + } + } +} \ No newline at end of file diff --git a/Zurnal/Zurnal.csproj b/Zurnal/Zurnal.csproj new file mode 100644 index 0000000..d47251d --- /dev/null +++ b/Zurnal/Zurnal.csproj @@ -0,0 +1,14 @@ + + + + Exe + net8.0 + enable + enable + + + + + + + diff --git a/Zurnal/obj/Debug/net8.0/.NETCoreApp,Version=v8.0.AssemblyAttributes.cs b/Zurnal/obj/Debug/net8.0/.NETCoreApp,Version=v8.0.AssemblyAttributes.cs new file mode 100644 index 0000000..2217181 --- /dev/null +++ b/Zurnal/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/Zurnal/obj/Debug/net8.0/Zurnal.AssemblyInfo.cs b/Zurnal/obj/Debug/net8.0/Zurnal.AssemblyInfo.cs new file mode 100644 index 0000000..2b29091 --- /dev/null +++ b/Zurnal/obj/Debug/net8.0/Zurnal.AssemblyInfo.cs @@ -0,0 +1,23 @@ +//------------------------------------------------------------------------------ +// +// Этот код создан программой. +// Исполняемая версия:4.0.30319.42000 +// +// Изменения в этом файле могут привести к неправильной работе и будут потеряны в случае +// повторной генерации кода. +// +//------------------------------------------------------------------------------ + +using System; +using System.Reflection; + +[assembly: System.Reflection.AssemblyCompanyAttribute("Zurnal")] +[assembly: System.Reflection.AssemblyConfigurationAttribute("Debug")] +[assembly: System.Reflection.AssemblyFileVersionAttribute("1.0.0.0")] +[assembly: System.Reflection.AssemblyInformationalVersionAttribute("1.0.0")] +[assembly: System.Reflection.AssemblyProductAttribute("Zurnal")] +[assembly: System.Reflection.AssemblyTitleAttribute("Zurnal")] +[assembly: System.Reflection.AssemblyVersionAttribute("1.0.0.0")] + +// Создано классом WriteCodeFragment MSBuild. + diff --git a/Zurnal/obj/Debug/net8.0/Zurnal.AssemblyInfoInputs.cache b/Zurnal/obj/Debug/net8.0/Zurnal.AssemblyInfoInputs.cache new file mode 100644 index 0000000..7bef1d7 --- /dev/null +++ b/Zurnal/obj/Debug/net8.0/Zurnal.AssemblyInfoInputs.cache @@ -0,0 +1 @@ +0cc1957e508d216bc16edfba63c7cd6a92394d06eb6458ec124cc01a0abbb768 diff --git a/Zurnal/obj/Debug/net8.0/Zurnal.GeneratedMSBuildEditorConfig.editorconfig b/Zurnal/obj/Debug/net8.0/Zurnal.GeneratedMSBuildEditorConfig.editorconfig new file mode 100644 index 0000000..1157df5 --- /dev/null +++ b/Zurnal/obj/Debug/net8.0/Zurnal.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 = Zurnal +build_property.ProjectDir = C:\Users\profi\source\repos\Zurnal\Zurnal\ +build_property.EnableComHosting = +build_property.EnableGeneratedComInterfaceComImportInterop = diff --git a/Zurnal/obj/Debug/net8.0/Zurnal.GlobalUsings.g.cs b/Zurnal/obj/Debug/net8.0/Zurnal.GlobalUsings.g.cs new file mode 100644 index 0000000..8578f3d --- /dev/null +++ b/Zurnal/obj/Debug/net8.0/Zurnal.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/Zurnal/obj/Debug/net8.0/Zurnal.assets.cache b/Zurnal/obj/Debug/net8.0/Zurnal.assets.cache new file mode 100644 index 0000000..0bd5ac7 Binary files /dev/null and b/Zurnal/obj/Debug/net8.0/Zurnal.assets.cache differ diff --git a/Zurnal/obj/Debug/net8.0/Zurnal.csproj.AssemblyReference.cache b/Zurnal/obj/Debug/net8.0/Zurnal.csproj.AssemblyReference.cache new file mode 100644 index 0000000..b10e73f Binary files /dev/null and b/Zurnal/obj/Debug/net8.0/Zurnal.csproj.AssemblyReference.cache differ diff --git a/Zurnal/obj/Release/net8.0/.NETCoreApp,Version=v8.0.AssemblyAttributes.cs b/Zurnal/obj/Release/net8.0/.NETCoreApp,Version=v8.0.AssemblyAttributes.cs new file mode 100644 index 0000000..2217181 --- /dev/null +++ b/Zurnal/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/Zurnal/obj/Release/net8.0/Zurnal.AssemblyInfo.cs b/Zurnal/obj/Release/net8.0/Zurnal.AssemblyInfo.cs new file mode 100644 index 0000000..fbf3360 --- /dev/null +++ b/Zurnal/obj/Release/net8.0/Zurnal.AssemblyInfo.cs @@ -0,0 +1,23 @@ +//------------------------------------------------------------------------------ +// +// Этот код создан программой. +// Исполняемая версия:4.0.30319.42000 +// +// Изменения в этом файле могут привести к неправильной работе и будут потеряны в случае +// повторной генерации кода. +// +//------------------------------------------------------------------------------ + +using System; +using System.Reflection; + +[assembly: System.Reflection.AssemblyCompanyAttribute("Zurnal")] +[assembly: System.Reflection.AssemblyConfigurationAttribute("Release")] +[assembly: System.Reflection.AssemblyFileVersionAttribute("1.0.0.0")] +[assembly: System.Reflection.AssemblyInformationalVersionAttribute("1.0.0")] +[assembly: System.Reflection.AssemblyProductAttribute("Zurnal")] +[assembly: System.Reflection.AssemblyTitleAttribute("Zurnal")] +[assembly: System.Reflection.AssemblyVersionAttribute("1.0.0.0")] + +// Создано классом WriteCodeFragment MSBuild. + diff --git a/Zurnal/obj/Release/net8.0/Zurnal.AssemblyInfoInputs.cache b/Zurnal/obj/Release/net8.0/Zurnal.AssemblyInfoInputs.cache new file mode 100644 index 0000000..77ceb2d --- /dev/null +++ b/Zurnal/obj/Release/net8.0/Zurnal.AssemblyInfoInputs.cache @@ -0,0 +1 @@ +f846bd88e13e8a292b5e7aeb6abe44b315b427ca43c96ddf6db29e9d0ee1cff1 diff --git a/Zurnal/obj/Release/net8.0/Zurnal.GeneratedMSBuildEditorConfig.editorconfig b/Zurnal/obj/Release/net8.0/Zurnal.GeneratedMSBuildEditorConfig.editorconfig new file mode 100644 index 0000000..1157df5 --- /dev/null +++ b/Zurnal/obj/Release/net8.0/Zurnal.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 = Zurnal +build_property.ProjectDir = C:\Users\profi\source\repos\Zurnal\Zurnal\ +build_property.EnableComHosting = +build_property.EnableGeneratedComInterfaceComImportInterop = diff --git a/Zurnal/obj/Release/net8.0/Zurnal.GlobalUsings.g.cs b/Zurnal/obj/Release/net8.0/Zurnal.GlobalUsings.g.cs new file mode 100644 index 0000000..8578f3d --- /dev/null +++ b/Zurnal/obj/Release/net8.0/Zurnal.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/Zurnal/obj/Release/net8.0/Zurnal.assets.cache b/Zurnal/obj/Release/net8.0/Zurnal.assets.cache new file mode 100644 index 0000000..d76078e Binary files /dev/null and b/Zurnal/obj/Release/net8.0/Zurnal.assets.cache differ diff --git a/Zurnal/obj/Release/net8.0/Zurnal.csproj.AssemblyReference.cache b/Zurnal/obj/Release/net8.0/Zurnal.csproj.AssemblyReference.cache new file mode 100644 index 0000000..b10e73f Binary files /dev/null and b/Zurnal/obj/Release/net8.0/Zurnal.csproj.AssemblyReference.cache differ diff --git a/Zurnal/obj/Zurnal.csproj.nuget.dgspec.json b/Zurnal/obj/Zurnal.csproj.nuget.dgspec.json new file mode 100644 index 0000000..4313854 --- /dev/null +++ b/Zurnal/obj/Zurnal.csproj.nuget.dgspec.json @@ -0,0 +1,74 @@ +{ + "format": 1, + "restore": { + "C:\\Users\\profi\\source\\repos\\Zurnal\\Zurnal\\Zurnal.csproj": {} + }, + "projects": { + "C:\\Users\\profi\\source\\repos\\Zurnal\\Zurnal\\Zurnal.csproj": { + "version": "1.0.0", + "restore": { + "projectUniqueName": "C:\\Users\\profi\\source\\repos\\Zurnal\\Zurnal\\Zurnal.csproj", + "projectName": "Zurnal", + "projectPath": "C:\\Users\\profi\\source\\repos\\Zurnal\\Zurnal\\Zurnal.csproj", + "packagesPath": "C:\\Users\\profi\\.nuget\\packages\\", + "outputPath": "C:\\Users\\profi\\source\\repos\\Zurnal\\Zurnal\\obj\\", + "projectStyle": "PackageReference", + "configFilePaths": [ + "C:\\Users\\profi\\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", + "dependencies": { + "Microsoft.Extensions.DependencyInjection.Abstractions": { + "target": "Package", + "version": "[8.0.2, )" + } + }, + "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/Zurnal/obj/Zurnal.csproj.nuget.g.props b/Zurnal/obj/Zurnal.csproj.nuget.g.props new file mode 100644 index 0000000..7dc89c5 --- /dev/null +++ b/Zurnal/obj/Zurnal.csproj.nuget.g.props @@ -0,0 +1,15 @@ + + + + True + NuGet + $(MSBuildThisFileDirectory)project.assets.json + $(UserProfile)\.nuget\packages\ + C:\Users\profi\.nuget\packages\ + PackageReference + 6.11.0 + + + + + \ No newline at end of file diff --git a/Zurnal/obj/Zurnal.csproj.nuget.g.targets b/Zurnal/obj/Zurnal.csproj.nuget.g.targets new file mode 100644 index 0000000..3dc06ef --- /dev/null +++ b/Zurnal/obj/Zurnal.csproj.nuget.g.targets @@ -0,0 +1,2 @@ + + \ No newline at end of file diff --git a/Zurnal/obj/project.assets.json b/Zurnal/obj/project.assets.json new file mode 100644 index 0000000..f40a082 --- /dev/null +++ b/Zurnal/obj/project.assets.json @@ -0,0 +1,131 @@ +{ + "version": 3, + "targets": { + "net8.0": { + "Microsoft.Extensions.DependencyInjection.Abstractions/8.0.2": { + "type": "package", + "compile": { + "lib/net8.0/Microsoft.Extensions.DependencyInjection.Abstractions.dll": { + "related": ".xml" + } + }, + "runtime": { + "lib/net8.0/Microsoft.Extensions.DependencyInjection.Abstractions.dll": { + "related": ".xml" + } + }, + "build": { + "buildTransitive/net6.0/_._": {} + } + } + } + }, + "libraries": { + "Microsoft.Extensions.DependencyInjection.Abstractions/8.0.2": { + "sha512": "3iE7UF7MQkCv1cxzCahz+Y/guQbTqieyxyaWKhrRO91itI9cOKO76OHeQDahqG4MmW5umr3CcCvGmK92lWNlbg==", + "type": "package", + "path": "microsoft.extensions.dependencyinjection.abstractions/8.0.2", + "files": [ + ".nupkg.metadata", + ".signature.p7s", + "Icon.png", + "LICENSE.TXT", + "PACKAGE.md", + "THIRD-PARTY-NOTICES.TXT", + "buildTransitive/net461/Microsoft.Extensions.DependencyInjection.Abstractions.targets", + "buildTransitive/net462/_._", + "buildTransitive/net6.0/_._", + "buildTransitive/netcoreapp2.0/Microsoft.Extensions.DependencyInjection.Abstractions.targets", + "lib/net462/Microsoft.Extensions.DependencyInjection.Abstractions.dll", + "lib/net462/Microsoft.Extensions.DependencyInjection.Abstractions.xml", + "lib/net6.0/Microsoft.Extensions.DependencyInjection.Abstractions.dll", + "lib/net6.0/Microsoft.Extensions.DependencyInjection.Abstractions.xml", + "lib/net7.0/Microsoft.Extensions.DependencyInjection.Abstractions.dll", + "lib/net7.0/Microsoft.Extensions.DependencyInjection.Abstractions.xml", + "lib/net8.0/Microsoft.Extensions.DependencyInjection.Abstractions.dll", + "lib/net8.0/Microsoft.Extensions.DependencyInjection.Abstractions.xml", + "lib/netstandard2.0/Microsoft.Extensions.DependencyInjection.Abstractions.dll", + "lib/netstandard2.0/Microsoft.Extensions.DependencyInjection.Abstractions.xml", + "lib/netstandard2.1/Microsoft.Extensions.DependencyInjection.Abstractions.dll", + "lib/netstandard2.1/Microsoft.Extensions.DependencyInjection.Abstractions.xml", + "microsoft.extensions.dependencyinjection.abstractions.8.0.2.nupkg.sha512", + "microsoft.extensions.dependencyinjection.abstractions.nuspec", + "useSharedDesignerContext.txt" + ] + } + }, + "projectFileDependencyGroups": { + "net8.0": [ + "Microsoft.Extensions.DependencyInjection.Abstractions >= 8.0.2" + ] + }, + "packageFolders": { + "C:\\Users\\profi\\.nuget\\packages\\": {} + }, + "project": { + "version": "1.0.0", + "restore": { + "projectUniqueName": "C:\\Users\\profi\\source\\repos\\Zurnal\\Zurnal\\Zurnal.csproj", + "projectName": "Zurnal", + "projectPath": "C:\\Users\\profi\\source\\repos\\Zurnal\\Zurnal\\Zurnal.csproj", + "packagesPath": "C:\\Users\\profi\\.nuget\\packages\\", + "outputPath": "C:\\Users\\profi\\source\\repos\\Zurnal\\Zurnal\\obj\\", + "projectStyle": "PackageReference", + "configFilePaths": [ + "C:\\Users\\profi\\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", + "dependencies": { + "Microsoft.Extensions.DependencyInjection.Abstractions": { + "target": "Package", + "version": "[8.0.2, )" + } + }, + "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/Zurnal/obj/project.nuget.cache b/Zurnal/obj/project.nuget.cache new file mode 100644 index 0000000..d13f3c8 --- /dev/null +++ b/Zurnal/obj/project.nuget.cache @@ -0,0 +1,10 @@ +{ + "version": 2, + "dgSpecHash": "mBpiSzc34gA=", + "success": true, + "projectFilePath": "C:\\Users\\profi\\source\\repos\\Zurnal\\Zurnal\\Zurnal.csproj", + "expectedPackageFiles": [ + "C:\\Users\\profi\\.nuget\\packages\\microsoft.extensions.dependencyinjection.abstractions\\8.0.2\\microsoft.extensions.dependencyinjection.abstractions.8.0.2.nupkg.sha512" + ], + "logs": [] +} \ No newline at end of file