init
This commit is contained in:
commit
df8314a5ed
25
Demo1.sln
Normal file
25
Demo1.sln
Normal file
@ -0,0 +1,25 @@
|
||||
|
||||
Microsoft Visual Studio Solution File, Format Version 12.00
|
||||
# Visual Studio Version 17
|
||||
VisualStudioVersion = 17.11.35327.3
|
||||
MinimumVisualStudioVersion = 10.0.40219.1
|
||||
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Demo1", "Demo1\Demo1.csproj", "{3EB018F9-3F1D-4B8D-91F3-099DE189E5D7}"
|
||||
EndProject
|
||||
Global
|
||||
GlobalSection(SolutionConfigurationPlatforms) = preSolution
|
||||
Debug|Any CPU = Debug|Any CPU
|
||||
Release|Any CPU = Release|Any CPU
|
||||
EndGlobalSection
|
||||
GlobalSection(ProjectConfigurationPlatforms) = postSolution
|
||||
{3EB018F9-3F1D-4B8D-91F3-099DE189E5D7}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
|
||||
{3EB018F9-3F1D-4B8D-91F3-099DE189E5D7}.Debug|Any CPU.Build.0 = Debug|Any CPU
|
||||
{3EB018F9-3F1D-4B8D-91F3-099DE189E5D7}.Release|Any CPU.ActiveCfg = Release|Any CPU
|
||||
{3EB018F9-3F1D-4B8D-91F3-099DE189E5D7}.Release|Any CPU.Build.0 = Release|Any CPU
|
||||
EndGlobalSection
|
||||
GlobalSection(SolutionProperties) = preSolution
|
||||
HideSolutionNode = FALSE
|
||||
EndGlobalSection
|
||||
GlobalSection(ExtensibilityGlobals) = postSolution
|
||||
SolutionGuid = {76CA5681-2E08-41D3-8B53-1A1788AB557D}
|
||||
EndGlobalSection
|
||||
EndGlobal
|
8
Demo1/Data/LocalData/Entity/ClassGroup.cs
Normal file
8
Demo1/Data/LocalData/Entity/ClassGroup.cs
Normal file
@ -0,0 +1,8 @@
|
||||
namespace Demo.Domain.Models
|
||||
{
|
||||
public class ClassGroup
|
||||
{
|
||||
public int Id { get; set; }
|
||||
public string Name { get; set; } = string.Empty; // Название группы
|
||||
}
|
||||
}
|
10
Demo1/Data/LocalData/Entity/Group.cs
Normal file
10
Demo1/Data/LocalData/Entity/Group.cs
Normal file
@ -0,0 +1,10 @@
|
||||
using System;
|
||||
|
||||
namespace Demo.Data.LocalData.Entity
|
||||
{
|
||||
public class Group
|
||||
{
|
||||
public int Id { get; set; }
|
||||
public string Name { get; set; } = string.Empty; // По умолчанию пустая строка
|
||||
}
|
||||
}
|
12
Demo1/Data/LocalData/Entity/LocalUser.cs
Normal file
12
Demo1/Data/LocalData/Entity/LocalUser.cs
Normal file
@ -0,0 +1,12 @@
|
||||
using Demo.Domain.Models;
|
||||
|
||||
namespace Demo.Data.LocalData.Entity
|
||||
{
|
||||
public class LocalUser
|
||||
{
|
||||
public Guid Id { get; set; } // Это будет уникальный идентификатор
|
||||
public string FIO { get; set; } = string.Empty;
|
||||
public int GroupID { get; set; }
|
||||
public ClassGroup ClassGroup { get; set; } = new ClassGroup();
|
||||
}
|
||||
}
|
12
Demo1/Data/LocalData/Entity/Presence.cs
Normal file
12
Demo1/Data/LocalData/Entity/Presence.cs
Normal file
@ -0,0 +1,12 @@
|
||||
using System;
|
||||
|
||||
namespace Demo.Data.LocalData.Entity
|
||||
{
|
||||
public class Presence
|
||||
{
|
||||
public required LocalUser Student { get; set; } // добавлено required
|
||||
public bool IsPresent { get; set; } = true;
|
||||
public DateOnly AttendanceDate { get; set; }
|
||||
public int LessonId { get; set; }
|
||||
}
|
||||
}
|
26
Demo1/Data/LocalData/LocalStaticData.cs
Normal file
26
Demo1/Data/LocalData/LocalStaticData.cs
Normal file
@ -0,0 +1,26 @@
|
||||
using Demo.Data.LocalData.Entity;
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
|
||||
namespace Demo.Data.LocalData
|
||||
{
|
||||
public static class LocalStaticData
|
||||
{
|
||||
public static List<LocalUser> Users { get; } = new List<LocalUser>
|
||||
{
|
||||
new LocalUser { Id = Guid.Parse("e6b9964d-ea9f-420a-84b9-af9633bbfab9"), FIO = "Иванов Иван Иванович", GroupID = 1 },
|
||||
new LocalUser { Id = Guid.Parse("8388d931-5bef-41be-a152-78f1aca980ed"), FIO = "Петров Петр Петрович", GroupID = 2 },
|
||||
new LocalUser { Id = Guid.Parse("ed174548-49ed-4503-a902-c970cbf27173"), FIO = "Мендалиев Наиль", GroupID = 3 },
|
||||
new LocalUser { Id = Guid.Parse("614c0a23-5bd5-43ae-b48e-d5750afbc282"), FIO = "Сидоров Сидор Сидорович", GroupID = 1 },
|
||||
new LocalUser { Id = Guid.Parse("efcc1473-c116-4244-b3f7-f2341a5c3003"), FIO = "Кузнецов Алексей Викторович", GroupID = 2 },
|
||||
new LocalUser { Id = Guid.Parse("60640fb3-ace2-4cad-81d5-a0a58bc2dbbd"), FIO = "Смирнова Анна Сергеевна", GroupID = 3 }
|
||||
};
|
||||
|
||||
public static List<string> Groups { get; } = new List<string>
|
||||
{
|
||||
"ИП1-22",
|
||||
"ИП1-23",
|
||||
"С1-23"
|
||||
};
|
||||
}
|
||||
}
|
27
Demo1/Data/Repository/GroupRepositoryImpl.cs
Normal file
27
Demo1/Data/Repository/GroupRepositoryImpl.cs
Normal file
@ -0,0 +1,27 @@
|
||||
using Demo.Data.LocalData.Entity;
|
||||
using Demo.Domain.Models;
|
||||
using System.Collections.Generic;
|
||||
|
||||
namespace Demo.Data.Repository
|
||||
{
|
||||
public class GroupRepositoryImpl
|
||||
{
|
||||
private List<ClassGroup> groups;
|
||||
|
||||
public GroupRepositoryImpl()
|
||||
{
|
||||
groups = new List<ClassGroup>();
|
||||
}
|
||||
|
||||
public List<ClassGroup> GetAllGroups()
|
||||
{
|
||||
return groups;
|
||||
}
|
||||
|
||||
public void AddGroup(ClassGroup group)
|
||||
{
|
||||
if (group == null) throw new ArgumentNullException(nameof(group));
|
||||
groups.Add(group);
|
||||
}
|
||||
}
|
||||
}
|
39
Demo1/Data/Repository/UserRepositoryImpl.cs
Normal file
39
Demo1/Data/Repository/UserRepositoryImpl.cs
Normal file
@ -0,0 +1,39 @@
|
||||
using Demo.Data.LocalData;
|
||||
using Demo.Data.LocalData.Entity;
|
||||
using Demo.Domain.Models;
|
||||
using Demo.Domain.Models;
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
|
||||
namespace Demo.Data.Repository
|
||||
{
|
||||
public class UserRepositoryImpl
|
||||
{
|
||||
private List<LocalUser> users;
|
||||
|
||||
public UserRepositoryImpl()
|
||||
{
|
||||
users = LocalStaticData.Users; // Инициализируем пользователей из статических данных
|
||||
}
|
||||
|
||||
public List<User> GetAllUsers()
|
||||
{
|
||||
return users.Select(u => (User)u).ToList();
|
||||
}
|
||||
|
||||
public User GetUserById(Guid userId) // Изменено на Guid
|
||||
{
|
||||
var entityUser = users.FirstOrDefault(u => u.Id == userId);
|
||||
if (entityUser == null) throw new InvalidOperationException("User not found");
|
||||
|
||||
return (User)entityUser;
|
||||
}
|
||||
|
||||
public void AddUser(LocalUser user)
|
||||
{
|
||||
if (user == null) throw new ArgumentNullException(nameof(user));
|
||||
users.Add(user);
|
||||
}
|
||||
}
|
||||
}
|
10
Demo1/Demo1.csproj
Normal file
10
Demo1/Demo1.csproj
Normal file
@ -0,0 +1,10 @@
|
||||
<Project Sdk="Microsoft.NET.Sdk">
|
||||
|
||||
<PropertyGroup>
|
||||
<OutputType>Exe</OutputType>
|
||||
<TargetFramework>net8.0</TargetFramework>
|
||||
<ImplicitUsings>enable</ImplicitUsings>
|
||||
<Nullable>enable</Nullable>
|
||||
</PropertyGroup>
|
||||
|
||||
</Project>
|
10
Demo1/Domain/Models/Group.cs
Normal file
10
Demo1/Domain/Models/Group.cs
Normal file
@ -0,0 +1,10 @@
|
||||
using System;
|
||||
|
||||
namespace Demo.Domain.Models
|
||||
{
|
||||
public class Group
|
||||
{
|
||||
public int Id { get; set; }
|
||||
public string Name { get; set; } = string.Empty; // Переименован на Name
|
||||
}
|
||||
}
|
13
Demo1/Domain/Models/Presence.cs
Normal file
13
Demo1/Domain/Models/Presence.cs
Normal file
@ -0,0 +1,13 @@
|
||||
using Demo.Domain.Models;
|
||||
using System;
|
||||
|
||||
namespace Demo.Domain.Models
|
||||
{
|
||||
public class Presence
|
||||
{
|
||||
public required User Student { get; set; } // Добавлено required
|
||||
public bool IsPresent { get; set; } = true; // По умолчанию
|
||||
public DateOnly AttendanceDate { get; set; }
|
||||
public int LessonId { get; set; }
|
||||
}
|
||||
}
|
23
Demo1/Domain/Models/User.cs
Normal file
23
Demo1/Domain/Models/User.cs
Normal file
@ -0,0 +1,23 @@
|
||||
using System;
|
||||
|
||||
namespace Demo.Domain.Models
|
||||
{
|
||||
public class User
|
||||
{
|
||||
public Guid Id { get; set; }
|
||||
public string FullName { get; set; } = string.Empty;
|
||||
public ClassGroup ClassGroup { get; set; } = new ClassGroup();
|
||||
public int ClassId { get; set; }
|
||||
|
||||
public static explicit operator User(Data.LocalData.Entity.LocalUser v)
|
||||
{
|
||||
return new User
|
||||
{
|
||||
Id = Guid.NewGuid(),
|
||||
FullName = v.FIO,
|
||||
ClassGroup = v.ClassGroup,
|
||||
ClassId = v.GroupID
|
||||
};
|
||||
}
|
||||
}
|
||||
}
|
16
Demo1/Domain/UseCase/GroupUseCase.cs
Normal file
16
Demo1/Domain/UseCase/GroupUseCase.cs
Normal file
@ -0,0 +1,16 @@
|
||||
using Demo.Data.Repository;
|
||||
|
||||
namespace Demo.Domain.UseCases
|
||||
{
|
||||
public class GroupUseCase
|
||||
{
|
||||
private GroupRepositoryImpl _groupRepository;
|
||||
|
||||
public GroupUseCase(GroupRepositoryImpl groupRepository) // Конструктор
|
||||
{
|
||||
_groupRepository = groupRepository;
|
||||
}
|
||||
|
||||
// Другие методы
|
||||
}
|
||||
}
|
6
Demo1/Domain/UseCase/UserModel.cs
Normal file
6
Demo1/Domain/UseCase/UserModel.cs
Normal file
@ -0,0 +1,6 @@
|
||||
|
||||
internal class UserModel
|
||||
{
|
||||
public string FIO { get; set; }
|
||||
public Guid Guid { get; set; }
|
||||
}
|
16
Demo1/Domain/UseCase/UserUseCase.cs
Normal file
16
Demo1/Domain/UseCase/UserUseCase.cs
Normal file
@ -0,0 +1,16 @@
|
||||
using Demo.Data.Repository;
|
||||
|
||||
namespace Demo.Domain.UseCases
|
||||
{
|
||||
public class UserUseCase
|
||||
{
|
||||
private UserRepositoryImpl _userRepository;
|
||||
|
||||
public UserUseCase(UserRepositoryImpl userRepository) // Конструктор
|
||||
{
|
||||
_userRepository = userRepository;
|
||||
}
|
||||
|
||||
// Другие методы
|
||||
}
|
||||
}
|
241
Demo1/Program.cs
Normal file
241
Demo1/Program.cs
Normal file
@ -0,0 +1,241 @@
|
||||
using Demo.Data.LocalData;
|
||||
using Demo.Data.LocalData.Entity;
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
|
||||
namespace Demo
|
||||
{
|
||||
class Program
|
||||
{
|
||||
static void Main(string[] args)
|
||||
{
|
||||
bool exit = false;
|
||||
|
||||
while (!exit)
|
||||
{
|
||||
Console.Clear();
|
||||
Console.WriteLine("1. Показать всех пользователей");
|
||||
Console.WriteLine("2. Удалить пользователя по GUID");
|
||||
Console.WriteLine("3. Обновить пользователя");
|
||||
Console.WriteLine("4. Найти пользователя по GUID");
|
||||
Console.WriteLine("5. Показать все группы");
|
||||
Console.WriteLine("6. Добавить группу");
|
||||
Console.WriteLine("7. Обновить группу");
|
||||
Console.WriteLine("8. Удалить группу по ID");
|
||||
Console.WriteLine("9. Найти группу по ID");
|
||||
Console.WriteLine("0. Выход");
|
||||
Console.Write("Выберите опцию: ");
|
||||
|
||||
var choice = Console.ReadLine();
|
||||
|
||||
switch (choice)
|
||||
{
|
||||
case "1":
|
||||
ShowUsers();
|
||||
break;
|
||||
case "2":
|
||||
DeleteUserByGuid();
|
||||
break;
|
||||
case "3":
|
||||
UpdateUser();
|
||||
break;
|
||||
case "4":
|
||||
FindUserByGuid();
|
||||
break;
|
||||
case "5":
|
||||
ShowGroups();
|
||||
break;
|
||||
case "6":
|
||||
AddGroup();
|
||||
break;
|
||||
case "7":
|
||||
UpdateGroup();
|
||||
break;
|
||||
case "8":
|
||||
DeleteGroupById();
|
||||
break;
|
||||
case "9":
|
||||
FindGroupById();
|
||||
break;
|
||||
case "0":
|
||||
exit = true;
|
||||
break;
|
||||
default:
|
||||
Console.WriteLine("Неверный выбор. Нажмите любую клавишу для продолжения.");
|
||||
Console.ReadKey();
|
||||
break;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
static void ShowUsers()
|
||||
{
|
||||
Console.Clear();
|
||||
foreach (var user in LocalStaticData.Users)
|
||||
{
|
||||
Console.WriteLine($"ID: {user.Id}, ФИО: {user.FIO}, GroupID: {user.GroupID}");
|
||||
}
|
||||
Console.WriteLine("Нажмите любую клавишу для продолжения.");
|
||||
Console.ReadKey();
|
||||
}
|
||||
|
||||
static void DeleteUserByGuid()
|
||||
{
|
||||
Console.Clear();
|
||||
Console.Write("Введите GUID пользователя для удаления: ");
|
||||
if (Guid.TryParse(Console.ReadLine(), out Guid userId))
|
||||
{
|
||||
var user = LocalStaticData.Users.FirstOrDefault(u => u.Id == userId);
|
||||
if (user != null)
|
||||
{
|
||||
LocalStaticData.Users.Remove(user);
|
||||
Console.WriteLine("Пользователь удалён.");
|
||||
}
|
||||
else
|
||||
{
|
||||
Console.WriteLine("Пользователь не найден.");
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
Console.WriteLine("Неверный формат GUID.");
|
||||
}
|
||||
Console.WriteLine("Нажмите любую клавишу для продолжения.");
|
||||
Console.ReadKey();
|
||||
}
|
||||
|
||||
static void UpdateUser()
|
||||
{
|
||||
Console.Clear();
|
||||
Console.Write("Введите GUID пользователя для обновления: ");
|
||||
if (Guid.TryParse(Console.ReadLine(), out Guid userId))
|
||||
{
|
||||
var user = LocalStaticData.Users.FirstOrDefault(u => u.Id == userId);
|
||||
if (user != null)
|
||||
{
|
||||
Console.Write("Введите новое ФИО: ");
|
||||
user.FIO = Console.ReadLine();
|
||||
Console.Write("Введите новый GroupID: ");
|
||||
if (int.TryParse(Console.ReadLine(), out int groupId))
|
||||
{
|
||||
user.GroupID = groupId;
|
||||
Console.WriteLine("Пользователь обновлён.");
|
||||
}
|
||||
else
|
||||
{
|
||||
Console.WriteLine("Неверный формат GroupID.");
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
Console.WriteLine("Пользователь не найден.");
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
Console.WriteLine("Неверный формат GUID.");
|
||||
}
|
||||
Console.WriteLine("Нажмите любую клавишу для продолжения.");
|
||||
Console.ReadKey();
|
||||
}
|
||||
|
||||
static void FindUserByGuid()
|
||||
{
|
||||
Console.Clear();
|
||||
Console.Write("Введите GUID пользователя для поиска: ");
|
||||
if (Guid.TryParse(Console.ReadLine(), out Guid userId))
|
||||
{
|
||||
var user = LocalStaticData.Users.FirstOrDefault(u => u.Id == userId);
|
||||
if (user != null)
|
||||
{
|
||||
Console.WriteLine($"ID: {user.Id}, ФИО: {user.FIO}, GroupID: {user.GroupID}");
|
||||
}
|
||||
else
|
||||
{
|
||||
Console.WriteLine("Пользователь не найден.");
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
Console.WriteLine("Неверный формат GUID.");
|
||||
}
|
||||
Console.WriteLine("Нажмите любую клавишу для продолжения.");
|
||||
Console.ReadKey();
|
||||
}
|
||||
|
||||
static void ShowGroups()
|
||||
{
|
||||
Console.Clear();
|
||||
Console.WriteLine("Список групп:");
|
||||
foreach (var group in LocalStaticData.Groups)
|
||||
{
|
||||
Console.WriteLine(group);
|
||||
}
|
||||
Console.WriteLine("Нажмите любую клавишу для продолжения.");
|
||||
Console.ReadKey();
|
||||
}
|
||||
|
||||
static void AddGroup()
|
||||
{
|
||||
Console.Clear();
|
||||
Console.Write("Введите название группы для добавления: ");
|
||||
var groupName = Console.ReadLine();
|
||||
LocalStaticData.Groups.Add(groupName);
|
||||
Console.WriteLine("Группа добавлена.");
|
||||
Console.WriteLine("Нажмите любую клавишу для продолжения.");
|
||||
Console.ReadKey();
|
||||
}
|
||||
|
||||
static void UpdateGroup()
|
||||
{
|
||||
Console.Clear();
|
||||
Console.Write("Введите индекс группы для обновления (начиная с 0): ");
|
||||
if (int.TryParse(Console.ReadLine(), out int index) && index >= 0 && index < LocalStaticData.Groups.Count)
|
||||
{
|
||||
Console.Write("Введите новое название группы: ");
|
||||
LocalStaticData.Groups[index] = Console.ReadLine();
|
||||
Console.WriteLine("Группа обновлена.");
|
||||
}
|
||||
else
|
||||
{
|
||||
Console.WriteLine("Неверный индекс группы.");
|
||||
}
|
||||
Console.WriteLine("Нажмите любую клавишу для продолжения.");
|
||||
Console.ReadKey();
|
||||
}
|
||||
|
||||
static void DeleteGroupById()
|
||||
{
|
||||
Console.Clear();
|
||||
Console.Write("Введите индекс группы для удаления (начиная с 0): ");
|
||||
if (int.TryParse(Console.ReadLine(), out int index) && index >= 0 && index < LocalStaticData.Groups.Count)
|
||||
{
|
||||
LocalStaticData.Groups.RemoveAt(index);
|
||||
Console.WriteLine("Группа удалена.");
|
||||
}
|
||||
else
|
||||
{
|
||||
Console.WriteLine("Неверный индекс группы.");
|
||||
}
|
||||
Console.WriteLine("Нажмите любую клавишу для продолжения.");
|
||||
Console.ReadKey();
|
||||
}
|
||||
|
||||
static void FindGroupById()
|
||||
{
|
||||
Console.Clear();
|
||||
Console.Write("Введите индекс группы для поиска (начиная с 0): ");
|
||||
if (int.TryParse(Console.ReadLine(), out int index) && index >= 0 && index < LocalStaticData.Groups.Count)
|
||||
{
|
||||
Console.WriteLine($"Группа: {LocalStaticData.Groups[index]}");
|
||||
}
|
||||
else
|
||||
{
|
||||
Console.WriteLine("Группа не найдена.");
|
||||
}
|
||||
Console.WriteLine("Нажмите любую клавишу для продолжения.");
|
||||
Console.ReadKey();
|
||||
}
|
||||
}
|
||||
}
|
13
Demo1/UI/MainMenu.cs
Normal file
13
Demo1/UI/MainMenu.cs
Normal file
@ -0,0 +1,13 @@
|
||||
namespace Demo
|
||||
{
|
||||
public static class MainMenu
|
||||
{
|
||||
public static void DisplayMenu() // Метод для отображения меню
|
||||
{
|
||||
// Логика отображения меню
|
||||
Console.WriteLine("1. Показать пользователей");
|
||||
Console.WriteLine("2. Показать группы");
|
||||
// Добавь остальные опции по необходимости
|
||||
}
|
||||
}
|
||||
}
|
20
Demo1/UI/UserConsole.cs
Normal file
20
Demo1/UI/UserConsole.cs
Normal file
@ -0,0 +1,20 @@
|
||||
using Demo.Domain.Models;
|
||||
|
||||
namespace Demo.UI
|
||||
{
|
||||
public class UserConsole
|
||||
{
|
||||
private readonly Demo.Domain.Models.User user;
|
||||
|
||||
public UserConsole(Demo.Data.LocalData.Entity.LocalUser entityUser) // Принимаем Entity User
|
||||
{
|
||||
// Преобразуем entityUser в Domain User
|
||||
this.user = (Demo.Domain.Models.User)entityUser;
|
||||
}
|
||||
|
||||
public void DisplayUserInfo()
|
||||
{
|
||||
Console.WriteLine($"Имя: {user.FullName}, ID: {user.Id}");
|
||||
}
|
||||
}
|
||||
}
|
23
Demo1/bin/Debug/net8.0/Demo1.deps.json
Normal file
23
Demo1/bin/Debug/net8.0/Demo1.deps.json
Normal file
@ -0,0 +1,23 @@
|
||||
{
|
||||
"runtimeTarget": {
|
||||
"name": ".NETCoreApp,Version=v8.0",
|
||||
"signature": ""
|
||||
},
|
||||
"compilationOptions": {},
|
||||
"targets": {
|
||||
".NETCoreApp,Version=v8.0": {
|
||||
"Demo1/1.0.0": {
|
||||
"runtime": {
|
||||
"Demo1.dll": {}
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
"libraries": {
|
||||
"Demo1/1.0.0": {
|
||||
"type": "project",
|
||||
"serviceable": false,
|
||||
"sha512": ""
|
||||
}
|
||||
}
|
||||
}
|
BIN
Demo1/bin/Debug/net8.0/Demo1.dll
Normal file
BIN
Demo1/bin/Debug/net8.0/Demo1.dll
Normal file
Binary file not shown.
BIN
Demo1/bin/Debug/net8.0/Demo1.exe
Normal file
BIN
Demo1/bin/Debug/net8.0/Demo1.exe
Normal file
Binary file not shown.
BIN
Demo1/bin/Debug/net8.0/Demo1.pdb
Normal file
BIN
Demo1/bin/Debug/net8.0/Demo1.pdb
Normal file
Binary file not shown.
12
Demo1/bin/Debug/net8.0/Demo1.runtimeconfig.json
Normal file
12
Demo1/bin/Debug/net8.0/Demo1.runtimeconfig.json
Normal file
@ -0,0 +1,12 @@
|
||||
{
|
||||
"runtimeOptions": {
|
||||
"tfm": "net8.0",
|
||||
"framework": {
|
||||
"name": "Microsoft.NETCore.App",
|
||||
"version": "8.0.0"
|
||||
},
|
||||
"configProperties": {
|
||||
"System.Runtime.Serialization.EnableUnsafeBinaryFormatterSerialization": false
|
||||
}
|
||||
}
|
||||
}
|
@ -0,0 +1,4 @@
|
||||
// <autogenerated />
|
||||
using System;
|
||||
using System.Reflection;
|
||||
[assembly: global::System.Runtime.Versioning.TargetFrameworkAttribute(".NETCoreApp,Version=v8.0", FrameworkDisplayName = ".NET 8.0")]
|
23
Demo1/obj/Debug/net8.0/Demo1.AssemblyInfo.cs
Normal file
23
Demo1/obj/Debug/net8.0/Demo1.AssemblyInfo.cs
Normal file
@ -0,0 +1,23 @@
|
||||
//------------------------------------------------------------------------------
|
||||
// <auto-generated>
|
||||
// Этот код создан программой.
|
||||
// Исполняемая версия:4.0.30319.42000
|
||||
//
|
||||
// Изменения в этом файле могут привести к неправильной работе и будут потеряны в случае
|
||||
// повторной генерации кода.
|
||||
// </auto-generated>
|
||||
//------------------------------------------------------------------------------
|
||||
|
||||
using System;
|
||||
using System.Reflection;
|
||||
|
||||
[assembly: System.Reflection.AssemblyCompanyAttribute("Demo1")]
|
||||
[assembly: System.Reflection.AssemblyConfigurationAttribute("Debug")]
|
||||
[assembly: System.Reflection.AssemblyFileVersionAttribute("1.0.0.0")]
|
||||
[assembly: System.Reflection.AssemblyInformationalVersionAttribute("1.0.0")]
|
||||
[assembly: System.Reflection.AssemblyProductAttribute("Demo1")]
|
||||
[assembly: System.Reflection.AssemblyTitleAttribute("Demo1")]
|
||||
[assembly: System.Reflection.AssemblyVersionAttribute("1.0.0.0")]
|
||||
|
||||
// Создано классом WriteCodeFragment MSBuild.
|
||||
|
1
Demo1/obj/Debug/net8.0/Demo1.AssemblyInfoInputs.cache
Normal file
1
Demo1/obj/Debug/net8.0/Demo1.AssemblyInfoInputs.cache
Normal file
@ -0,0 +1 @@
|
||||
5fbaf1fba7321e7781b2aa403ef801043346e052a9547caf8ba08c3ad840adff
|
@ -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 = Demo1
|
||||
build_property.ProjectDir = C:\Users\Наиль\source\repos\Demo1\Demo1\
|
||||
build_property.EnableComHosting =
|
||||
build_property.EnableGeneratedComInterfaceComImportInterop =
|
8
Demo1/obj/Debug/net8.0/Demo1.GlobalUsings.g.cs
Normal file
8
Demo1/obj/Debug/net8.0/Demo1.GlobalUsings.g.cs
Normal file
@ -0,0 +1,8 @@
|
||||
// <auto-generated/>
|
||||
global using global::System;
|
||||
global using global::System.Collections.Generic;
|
||||
global using global::System.IO;
|
||||
global using global::System.Linq;
|
||||
global using global::System.Net.Http;
|
||||
global using global::System.Threading;
|
||||
global using global::System.Threading.Tasks;
|
BIN
Demo1/obj/Debug/net8.0/Demo1.assets.cache
Normal file
BIN
Demo1/obj/Debug/net8.0/Demo1.assets.cache
Normal file
Binary file not shown.
@ -0,0 +1 @@
|
||||
7e72cf7cbdf57e2c918583bbca5eac209a31da85ce462b230f074698e104f9b7
|
14
Demo1/obj/Debug/net8.0/Demo1.csproj.FileListAbsolute.txt
Normal file
14
Demo1/obj/Debug/net8.0/Demo1.csproj.FileListAbsolute.txt
Normal file
@ -0,0 +1,14 @@
|
||||
C:\Users\Наиль\source\repos\Demo1\Demo1\obj\Debug\net8.0\Demo1.GeneratedMSBuildEditorConfig.editorconfig
|
||||
C:\Users\Наиль\source\repos\Demo1\Demo1\obj\Debug\net8.0\Demo1.AssemblyInfoInputs.cache
|
||||
C:\Users\Наиль\source\repos\Demo1\Demo1\obj\Debug\net8.0\Demo1.AssemblyInfo.cs
|
||||
C:\Users\Наиль\source\repos\Demo1\Demo1\obj\Debug\net8.0\Demo1.csproj.CoreCompileInputs.cache
|
||||
C:\Users\Наиль\source\repos\Demo1\Demo1\bin\Debug\net8.0\Demo1.exe
|
||||
C:\Users\Наиль\source\repos\Demo1\Demo1\bin\Debug\net8.0\Demo1.deps.json
|
||||
C:\Users\Наиль\source\repos\Demo1\Demo1\bin\Debug\net8.0\Demo1.runtimeconfig.json
|
||||
C:\Users\Наиль\source\repos\Demo1\Demo1\bin\Debug\net8.0\Demo1.dll
|
||||
C:\Users\Наиль\source\repos\Demo1\Demo1\bin\Debug\net8.0\Demo1.pdb
|
||||
C:\Users\Наиль\source\repos\Demo1\Demo1\obj\Debug\net8.0\Demo1.dll
|
||||
C:\Users\Наиль\source\repos\Demo1\Demo1\obj\Debug\net8.0\refint\Demo1.dll
|
||||
C:\Users\Наиль\source\repos\Demo1\Demo1\obj\Debug\net8.0\Demo1.pdb
|
||||
C:\Users\Наиль\source\repos\Demo1\Demo1\obj\Debug\net8.0\Demo1.genruntimeconfig.cache
|
||||
C:\Users\Наиль\source\repos\Demo1\Demo1\obj\Debug\net8.0\ref\Demo1.dll
|
BIN
Demo1/obj/Debug/net8.0/Demo1.dll
Normal file
BIN
Demo1/obj/Debug/net8.0/Demo1.dll
Normal file
Binary file not shown.
1
Demo1/obj/Debug/net8.0/Demo1.genruntimeconfig.cache
Normal file
1
Demo1/obj/Debug/net8.0/Demo1.genruntimeconfig.cache
Normal file
@ -0,0 +1 @@
|
||||
c64df823fc400ff5eb349579152f2d629fb693f3d8cd5be1e9a479774d096f64
|
BIN
Demo1/obj/Debug/net8.0/Demo1.pdb
Normal file
BIN
Demo1/obj/Debug/net8.0/Demo1.pdb
Normal file
Binary file not shown.
BIN
Demo1/obj/Debug/net8.0/apphost.exe
Normal file
BIN
Demo1/obj/Debug/net8.0/apphost.exe
Normal file
Binary file not shown.
BIN
Demo1/obj/Debug/net8.0/ref/Demo1.dll
Normal file
BIN
Demo1/obj/Debug/net8.0/ref/Demo1.dll
Normal file
Binary file not shown.
BIN
Demo1/obj/Debug/net8.0/refint/Demo1.dll
Normal file
BIN
Demo1/obj/Debug/net8.0/refint/Demo1.dll
Normal file
Binary file not shown.
72
Demo1/obj/Demo1.csproj.nuget.dgspec.json
Normal file
72
Demo1/obj/Demo1.csproj.nuget.dgspec.json
Normal file
@ -0,0 +1,72 @@
|
||||
{
|
||||
"format": 1,
|
||||
"restore": {
|
||||
"C:\\Users\\Наиль\\source\\repos\\Demo1\\Demo1\\Demo1.csproj": {}
|
||||
},
|
||||
"projects": {
|
||||
"C:\\Users\\Наиль\\source\\repos\\Demo1\\Demo1\\Demo1.csproj": {
|
||||
"version": "1.0.0",
|
||||
"restore": {
|
||||
"projectUniqueName": "C:\\Users\\Наиль\\source\\repos\\Demo1\\Demo1\\Demo1.csproj",
|
||||
"projectName": "Demo1",
|
||||
"projectPath": "C:\\Users\\Наиль\\source\\repos\\Demo1\\Demo1\\Demo1.csproj",
|
||||
"packagesPath": "C:\\Users\\Наиль\\.nuget\\packages\\",
|
||||
"outputPath": "C:\\Users\\Наиль\\source\\repos\\Demo1\\Demo1\\obj\\",
|
||||
"projectStyle": "PackageReference",
|
||||
"fallbackFolders": [
|
||||
"C:\\Program Files (x86)\\Microsoft Visual Studio\\Shared\\NuGetPackages"
|
||||
],
|
||||
"configFilePaths": [
|
||||
"C:\\Users\\Наиль\\AppData\\Roaming\\NuGet\\NuGet.Config",
|
||||
"C:\\Program Files (x86)\\NuGet\\Config\\Microsoft.VisualStudio.FallbackLocation.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"
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
16
Demo1/obj/Demo1.csproj.nuget.g.props
Normal file
16
Demo1/obj/Demo1.csproj.nuget.g.props
Normal file
@ -0,0 +1,16 @@
|
||||
<?xml version="1.0" encoding="utf-8" standalone="no"?>
|
||||
<Project ToolsVersion="14.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
|
||||
<PropertyGroup Condition=" '$(ExcludeRestorePackageImports)' != 'true' ">
|
||||
<RestoreSuccess Condition=" '$(RestoreSuccess)' == '' ">True</RestoreSuccess>
|
||||
<RestoreTool Condition=" '$(RestoreTool)' == '' ">NuGet</RestoreTool>
|
||||
<ProjectAssetsFile Condition=" '$(ProjectAssetsFile)' == '' ">$(MSBuildThisFileDirectory)project.assets.json</ProjectAssetsFile>
|
||||
<NuGetPackageRoot Condition=" '$(NuGetPackageRoot)' == '' ">$(UserProfile)\.nuget\packages\</NuGetPackageRoot>
|
||||
<NuGetPackageFolders Condition=" '$(NuGetPackageFolders)' == '' ">C:\Users\Наиль\.nuget\packages\;C:\Program Files (x86)\Microsoft Visual Studio\Shared\NuGetPackages</NuGetPackageFolders>
|
||||
<NuGetProjectStyle Condition=" '$(NuGetProjectStyle)' == '' ">PackageReference</NuGetProjectStyle>
|
||||
<NuGetToolVersion Condition=" '$(NuGetToolVersion)' == '' ">6.11.1</NuGetToolVersion>
|
||||
</PropertyGroup>
|
||||
<ItemGroup Condition=" '$(ExcludeRestorePackageImports)' != 'true' ">
|
||||
<SourceRoot Include="C:\Users\Наиль\.nuget\packages\" />
|
||||
<SourceRoot Include="C:\Program Files (x86)\Microsoft Visual Studio\Shared\NuGetPackages\" />
|
||||
</ItemGroup>
|
||||
</Project>
|
2
Demo1/obj/Demo1.csproj.nuget.g.targets
Normal file
2
Demo1/obj/Demo1.csproj.nuget.g.targets
Normal file
@ -0,0 +1,2 @@
|
||||
<?xml version="1.0" encoding="utf-8" standalone="no"?>
|
||||
<Project ToolsVersion="14.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003" />
|
78
Demo1/obj/project.assets.json
Normal file
78
Demo1/obj/project.assets.json
Normal file
@ -0,0 +1,78 @@
|
||||
{
|
||||
"version": 3,
|
||||
"targets": {
|
||||
"net8.0": {}
|
||||
},
|
||||
"libraries": {},
|
||||
"projectFileDependencyGroups": {
|
||||
"net8.0": []
|
||||
},
|
||||
"packageFolders": {
|
||||
"C:\\Users\\Наиль\\.nuget\\packages\\": {},
|
||||
"C:\\Program Files (x86)\\Microsoft Visual Studio\\Shared\\NuGetPackages": {}
|
||||
},
|
||||
"project": {
|
||||
"version": "1.0.0",
|
||||
"restore": {
|
||||
"projectUniqueName": "C:\\Users\\Наиль\\source\\repos\\Demo1\\Demo1\\Demo1.csproj",
|
||||
"projectName": "Demo1",
|
||||
"projectPath": "C:\\Users\\Наиль\\source\\repos\\Demo1\\Demo1\\Demo1.csproj",
|
||||
"packagesPath": "C:\\Users\\Наиль\\.nuget\\packages\\",
|
||||
"outputPath": "C:\\Users\\Наиль\\source\\repos\\Demo1\\Demo1\\obj\\",
|
||||
"projectStyle": "PackageReference",
|
||||
"fallbackFolders": [
|
||||
"C:\\Program Files (x86)\\Microsoft Visual Studio\\Shared\\NuGetPackages"
|
||||
],
|
||||
"configFilePaths": [
|
||||
"C:\\Users\\Наиль\\AppData\\Roaming\\NuGet\\NuGet.Config",
|
||||
"C:\\Program Files (x86)\\NuGet\\Config\\Microsoft.VisualStudio.FallbackLocation.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"
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
8
Demo1/obj/project.nuget.cache
Normal file
8
Demo1/obj/project.nuget.cache
Normal file
@ -0,0 +1,8 @@
|
||||
{
|
||||
"version": 2,
|
||||
"dgSpecHash": "3rJkBUv8GeU=",
|
||||
"success": true,
|
||||
"projectFilePath": "C:\\Users\\Наиль\\source\\repos\\Demo1\\Demo1\\Demo1.csproj",
|
||||
"expectedPackageFiles": [],
|
||||
"logs": []
|
||||
}
|
Loading…
Reference in New Issue
Block a user