init commit

This commit is contained in:
Class_Student 2024-11-15 10:44:04 +03:00
parent e837fb2d52
commit 28b0f0eaa4
64 changed files with 92 additions and 14 deletions

Binary file not shown.

Binary file not shown.

View File

@ -0,0 +1,7 @@
{
"ExpandedNodes": [
""
],
"SelectedNode": "\\presence.sln",
"PreviewInSolutionExplorer": false
}

Binary file not shown.

Binary file not shown.

BIN
.vs/presence/v17/.suo Normal file

Binary file not shown.

BIN
.vs/presence/v17/.wsuo Normal file

Binary file not shown.

View File

@ -0,0 +1,71 @@
{
"Version": 1,
"WorkspaceRootPath": "C:\\Users\\class_student\\source\\repos\\presence\\",
"Documents": [
{
"AbsoluteMoniker": "D:0:0:{1904560F-B17D-4598-AE5C-5FA0D0C2517B}|ui\\ui.csproj|c:\\users\\class_student\\source\\repos\\presence\\ui\\mainmenu.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}",
"RelativeMoniker": "D:0:0:{1904560F-B17D-4598-AE5C-5FA0D0C2517B}|ui\\ui.csproj|solutionrelative:ui\\mainmenu.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}"
},
{
"AbsoluteMoniker": "D:0:0:{1904560F-B17D-4598-AE5C-5FA0D0C2517B}|ui\\ui.csproj|c:\\users\\class_student\\source\\repos\\presence\\ui\\presenceconsole.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}",
"RelativeMoniker": "D:0:0:{1904560F-B17D-4598-AE5C-5FA0D0C2517B}|ui\\ui.csproj|solutionrelative:ui\\presenceconsole.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}"
},
{
"AbsoluteMoniker": "D:0:0:{214169B6-E77C-4C7D-8D64-6E5126C243FA}|console_ui\\console_ui.csproj|c:\\users\\class_student\\source\\repos\\presence\\console_ui\\program.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}",
"RelativeMoniker": "D:0:0:{214169B6-E77C-4C7D-8D64-6E5126C243FA}|console_ui\\console_ui.csproj|solutionrelative:console_ui\\program.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}"
}
],
"DocumentGroupContainers": [
{
"Orientation": 0,
"VerticalTabListWidth": 256,
"DocumentGroups": [
{
"DockedWidth": 200,
"SelectedChildIndex": 0,
"Children": [
{
"$type": "Document",
"DocumentIndex": 0,
"Title": "MainMenu.cs",
"DocumentMoniker": "C:\\Users\\class_student\\source\\repos\\presence\\ui\\MainMenu.cs",
"RelativeDocumentMoniker": "ui\\MainMenu.cs",
"ToolTip": "C:\\Users\\class_student\\source\\repos\\presence\\ui\\MainMenu.cs",
"RelativeToolTip": "ui\\MainMenu.cs",
"ViewState": "AQIAAAAAAAAAAAAAAAAAABgAAAAYAAAA",
"Icon": "ae27a6b0-e345-4288-96df-5eaf394ee369.000738|",
"WhenOpened": "2024-11-15T07:41:49.331Z",
"EditorCaption": ""
},
{
"$type": "Document",
"DocumentIndex": 1,
"Title": "PresenceConsole.cs",
"DocumentMoniker": "C:\\Users\\class_student\\source\\repos\\presence\\ui\\PresenceConsole.cs",
"RelativeDocumentMoniker": "ui\\PresenceConsole.cs",
"ToolTip": "C:\\Users\\class_student\\source\\repos\\presence\\ui\\PresenceConsole.cs",
"RelativeToolTip": "ui\\PresenceConsole.cs",
"ViewState": "AQIAAJsAAAAAAAAAAAAuwKQAAAAQAAAA",
"Icon": "ae27a6b0-e345-4288-96df-5eaf394ee369.000738|",
"WhenOpened": "2024-11-15T07:39:32.517Z",
"EditorCaption": ""
},
{
"$type": "Document",
"DocumentIndex": 2,
"Title": "Program.cs",
"DocumentMoniker": "C:\\Users\\class_student\\source\\repos\\presence\\console_ui\\Program.cs",
"RelativeDocumentMoniker": "console_ui\\Program.cs",
"ToolTip": "C:\\Users\\class_student\\source\\repos\\presence\\console_ui\\Program.cs",
"RelativeToolTip": "console_ui\\Program.cs",
"ViewState": "AQIAAAAAAAAAAAAAAAAAABAAAAApAAAA",
"Icon": "ae27a6b0-e345-4288-96df-5eaf394ee369.000738|",
"WhenOpened": "2024-11-15T07:37:58.187Z",
"EditorCaption": ""
}
]
}
]
}
]
}

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

View File

@ -14,7 +14,7 @@ using System.Reflection;
[assembly: System.Reflection.AssemblyCompanyAttribute("console_ui")]
[assembly: System.Reflection.AssemblyConfigurationAttribute("Debug")]
[assembly: System.Reflection.AssemblyFileVersionAttribute("1.0.0.0")]
[assembly: System.Reflection.AssemblyInformationalVersionAttribute("1.0.0+e5278873b6a396d8218df678447573b9a5f4f127")]
[assembly: System.Reflection.AssemblyInformationalVersionAttribute("1.0.0+e837fb2d5211480dc710ce847045a78da8ec7516")]
[assembly: System.Reflection.AssemblyProductAttribute("console_ui")]
[assembly: System.Reflection.AssemblyTitleAttribute("console_ui")]
[assembly: System.Reflection.AssemblyVersionAttribute("1.0.0.0")]

View File

@ -1 +1 @@
45e111341a1e197ac25826db5c791e79a50d043aae2f781907c0d3c1fd6b8bfa
b1aa901920ae28aa9f6a2720fa49b0ed055d99b6d60603474f71035463fa5e49

Binary file not shown.

Binary file not shown.

View File

@ -14,7 +14,7 @@ using System.Reflection;
[assembly: System.Reflection.AssemblyCompanyAttribute("data")]
[assembly: System.Reflection.AssemblyConfigurationAttribute("Debug")]
[assembly: System.Reflection.AssemblyFileVersionAttribute("1.0.0.0")]
[assembly: System.Reflection.AssemblyInformationalVersionAttribute("1.0.0+e5278873b6a396d8218df678447573b9a5f4f127")]
[assembly: System.Reflection.AssemblyInformationalVersionAttribute("1.0.0+e837fb2d5211480dc710ce847045a78da8ec7516")]
[assembly: System.Reflection.AssemblyProductAttribute("data")]
[assembly: System.Reflection.AssemblyTitleAttribute("data")]
[assembly: System.Reflection.AssemblyVersionAttribute("1.0.0.0")]

View File

@ -1 +1 @@
b14ab3e09d26ba80bb729a7666132fb10e894197bdd0cfdddee5d3a42a4d723a
1d547403d5a0e12eb3176cb5cf33743f9bbef50c911e92980c7fddec94af5db7

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

View File

@ -14,7 +14,7 @@ using System.Reflection;
[assembly: System.Reflection.AssemblyCompanyAttribute("domain")]
[assembly: System.Reflection.AssemblyConfigurationAttribute("Debug")]
[assembly: System.Reflection.AssemblyFileVersionAttribute("1.0.0.0")]
[assembly: System.Reflection.AssemblyInformationalVersionAttribute("1.0.0+e5278873b6a396d8218df678447573b9a5f4f127")]
[assembly: System.Reflection.AssemblyInformationalVersionAttribute("1.0.0+e837fb2d5211480dc710ce847045a78da8ec7516")]
[assembly: System.Reflection.AssemblyProductAttribute("domain")]
[assembly: System.Reflection.AssemblyTitleAttribute("domain")]
[assembly: System.Reflection.AssemblyVersionAttribute("1.0.0.0")]

View File

@ -1 +1 @@
a598d315e9d955b6ad777ada3dd9034f3f7db8d47854c31d306a10c5a10e1abb
5dd4ef344ad997aa151f4f6e98822fcc945411ec4d36c7fe492f4d0031fb612f

Binary file not shown.

Binary file not shown.

View File

@ -14,7 +14,7 @@ using System.Reflection;
[assembly: System.Reflection.AssemblyCompanyAttribute("presence_api")]
[assembly: System.Reflection.AssemblyConfigurationAttribute("Debug")]
[assembly: System.Reflection.AssemblyFileVersionAttribute("1.0.0.0")]
[assembly: System.Reflection.AssemblyInformationalVersionAttribute("1.0.0+e5278873b6a396d8218df678447573b9a5f4f127")]
[assembly: System.Reflection.AssemblyInformationalVersionAttribute("1.0.0+e837fb2d5211480dc710ce847045a78da8ec7516")]
[assembly: System.Reflection.AssemblyProductAttribute("presence_api")]
[assembly: System.Reflection.AssemblyTitleAttribute("presence_api")]
[assembly: System.Reflection.AssemblyVersionAttribute("1.0.0.0")]

View File

@ -1 +1 @@
db7c9f6a2231292589462d352fc4b1bdb5b20eb53be81bbc3cb4bf78be497153
769e84ccbb2f8d44b24e6e49839b713bd037c65b28280296bae924a355ebc219

View File

@ -12,11 +12,11 @@ namespace ui
private readonly GroupConsoleUI _groupConsoleUI;
private readonly PresenceConsole _presenceConsoleUI;
public MainMenuUI(UserUseCase userUseCase, GroupUseCase groupUseCase, UseCaseGeneratePresence presenceUseCase)
public MainMenuUI(UserUseCase userUseCase, GroupUseCase groupUseCase, UseCaseGeneratePresence presenceUseCase, IPresenceRepository presenceRepository)
{
_userConsoleUI = new UserConsoleUI(userUseCase);
_groupConsoleUI = new GroupConsoleUI(groupUseCase);
_presenceConsoleUI = new PresenceConsole(presenceUseCase); // Передаем presenceRepository
_presenceConsoleUI = new PresenceConsole(presenceUseCase,presenceRepository); // Передаем presenceRepository
}

View File

@ -13,10 +13,10 @@ namespace ui
private readonly UseCaseGeneratePresence _presenceUseCase;
private readonly IPresenceRepository _presenceRepository;
public PresenceConsole(UseCaseGeneratePresence presenceUseCase)
public PresenceConsole(UseCaseGeneratePresence presenceUseCase,IPresenceRepository presenceRepository)
{
_presenceUseCase = presenceUseCase;
_presenceRepository = presenceRepository;
}

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

View File

@ -14,7 +14,7 @@ using System.Reflection;
[assembly: System.Reflection.AssemblyCompanyAttribute("ui")]
[assembly: System.Reflection.AssemblyConfigurationAttribute("Debug")]
[assembly: System.Reflection.AssemblyFileVersionAttribute("1.0.0.0")]
[assembly: System.Reflection.AssemblyInformationalVersionAttribute("1.0.0+e5278873b6a396d8218df678447573b9a5f4f127")]
[assembly: System.Reflection.AssemblyInformationalVersionAttribute("1.0.0+e837fb2d5211480dc710ce847045a78da8ec7516")]
[assembly: System.Reflection.AssemblyProductAttribute("ui")]
[assembly: System.Reflection.AssemblyTitleAttribute("ui")]
[assembly: System.Reflection.AssemblyVersionAttribute("1.0.0.0")]

View File

@ -1 +1 @@
e934cc4087fcaf1c8fcf903d8eaddf7ef0f19aa483f1ef56c549adf9e9251d5b
8e7da15d994634a99f609260abfc82399e70f001349bcdea96a961b92ca122f7

Binary file not shown.

Binary file not shown.