init commit

This commit is contained in:
Class_Student 2024-12-18 10:19:58 +03:00
parent 4f43086a9a
commit 57da9f595a
96 changed files with 678 additions and 563 deletions

View File

@ -1,13 +1,9 @@
<Application xmlns="https://github.com/avaloniaui"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
x:Class="Presence.Desktop.App"
xmlns:local="using:Presence.Desktop"
RequestedThemeVariant="Default">
<!-- "Default" ThemeVariant follows system theme variant. "Dark" or "Light" are other available options. -->
<Application.DataTemplates>
<local:ViewLocator/>
</Application.DataTemplates>
<Application.Styles>
<FluentTheme />

View File

@ -26,7 +26,7 @@ namespace Presence.Desktop
var services = serviceCollection.BuildServiceProvider();
var mainViewModel = services.GetRequiredService<MainWindowViewModel>();
var mainViewModel = services.GetRequiredService<GroupViewModel>();
var groupUseCase = services.GetRequiredService<GroupUseCase>();
@ -35,9 +35,9 @@ namespace Presence.Desktop
if (ApplicationLifetime is IClassicDesktopStyleApplicationLifetime desktop)
{
desktop.MainWindow = new MainWindow(groupUseCase)
desktop.MainWindow = new MainWindow()
{
DataContext = mainViewModel,
DataContext = new MainWindowViewModel(services),
};
}

View File

@ -18,7 +18,7 @@ namespace Presence.Desktop.DI
.AddSingleton<UseCaseGeneratePresence>()
.AddSingleton<UserUseCase>()
.AddTransient<GroupUseCase>()
.AddTransient<MainWindowViewModel>();
.AddTransient<GroupViewModel>();
}
}
}

View File

@ -31,4 +31,10 @@
<ProjectReference Include="..\data\data.csproj" />
<ProjectReference Include="..\domain\domain.csproj" />
</ItemGroup>
<ItemGroup>
<Compile Update="Views\GroupView.axaml.cs">
<DependentUpon>GroupView.axaml</DependentUpon>
</Compile>
</ItemGroup>
</Project>

View File

@ -2,31 +2,18 @@ using Avalonia.Controls;
using Avalonia.Controls.Templates;
using Presence.Desktop.ViewModels;
using System;
using Presence.Desktop.Views;
using ReactiveUI;
namespace Presence.Desktop
{
public class ViewLocator : IDataTemplate
public class ViewLocator : IViewLocator
{
public Control? Build(object? param)
public IViewFor? ResolveView<T>(T? viewModel, string? contract = null) => viewModel switch
{
if (param is null)
return null;
var name = param.GetType().FullName!.Replace("ViewModel", "View", StringComparison.Ordinal);
var type = Type.GetType(name);
if (type != null)
{
return (Control)Activator.CreateInstance(type)!;
}
return new TextBlock { Text = "Not Found: " + name };
}
public bool Match(object? data)
{
return data is ViewModelBase;
}
GroupViewModel groupViewModel => new GroupView { DataContext = groupViewModel },
PresenceViewModel presenceViewModel => new PresenceView { DataContext = presenceViewModel },
_ => throw new ArgumentOutOfRangeException(nameof(viewModel))
};
}
}

View File

@ -0,0 +1,239 @@
using Avalonia.Controls.ApplicationLifetimes;
using domain.Models;
using domain.UseCase;
using Presence.Desktop.Views;
using ReactiveUI;
using System;
using System.Collections.Generic;
using System.Collections.ObjectModel;
using System.Linq;
using System.Reactive;
using System.Reactive.Linq;
using System.Windows.Input;
using Avalonia;
namespace Presence.Desktop.ViewModels
{
public class GroupViewModel : ViewModelBase, IRoutableViewModel
{
private readonly GroupUseCase _groupUseCase;
private List<GroupPresenter> groupPresentersDataSource = new List<GroupPresenter>();
private ObservableCollection<GroupPresenter> _groups;
public ObservableCollection<GroupPresenter> Groups => _groups;
private GroupPresenter? _selectedGroupItem;
public GroupPresenter? SelectedGroupItem
{
get => _selectedGroupItem;
set => this.RaiseAndSetIfChanged(ref _selectedGroupItem, value);
}
public ObservableCollection<UserPresenter> Users { get => _users; }
private ObservableCollection<UserPresenter> _users;
// Список опций сортировки
public List<string> SortOptions { get; } = new List<string> { "По фамилии", "По убыванию" };
private string _selectedSortOption;
public string SelectedSortOption
{
get => _selectedSortOption;
set => this.RaiseAndSetIfChanged(ref _selectedSortOption, value);
}
public bool CanDelete => SelectedUsers?.Count > 0;
public bool CanEdit => SelectedUsers?.Count == 1;
public ObservableCollection<UserPresenter> SelectedUsers { get; set; } = new ObservableCollection<UserPresenter>();
public ReactiveCommand<Unit, Unit> OnDeleteUserClicks { get; }
public ReactiveCommand<Unit, Unit> EditUserCommand { get; }
public ICommand RemoveAllStudentsCommand { get; }
public ICommand AddStudentCommand { get; }
public GroupViewModel(GroupUseCase groupUseCase)
{
_groupUseCase = groupUseCase;
OnDeleteUserClicks = ReactiveCommand.Create(OnDeleteUserClick, this.WhenAnyValue(vm => vm.CanDelete));
EditUserCommand = ReactiveCommand.Create(OnEditUserClick, this.WhenAnyValue(vm => vm.CanEdit));
RefreshGroups();
_groups = new ObservableCollection<GroupPresenter>(groupPresentersDataSource);
_users = new ObservableCollection<UserPresenter>();
this.WhenAnyValue(vm => vm.SelectedGroupItem)
.Subscribe(vm => SetUsers());
this.WhenAnyValue(vm => vm.SelectedSortOption)
.Subscribe(_ => SortUsers());
RemoveAllStudentsCommand = ReactiveCommand.Create(RemoveAllStudents);
AddStudentCommand = ReactiveCommand.Create(AddStudent);
SelectedUsers.CollectionChanged += (s, e) =>
{
this.RaisePropertyChanged(nameof(CanDelete));
this.RaisePropertyChanged(nameof(CanEdit));
};
}
private void SetUsers()
{
if (SelectedGroupItem?.users == null) return;
Users.Clear();
foreach (var item in SelectedGroupItem.users)
{
Users.Add(item);
}
SortUsers();
}
private void SortUsers()
{
if (SelectedGroupItem?.users == null) return;
var sortedUsers = SelectedGroupItem.users.ToList();
switch (SelectedSortOption)
{
case "По фамилии":
sortedUsers = sortedUsers.OrderBy(u => u.Name).ToList();
break;
case "По убыванию":
sortedUsers = sortedUsers.OrderByDescending(u => u.Name).ToList();
break;
}
Users.Clear();
foreach (var item in sortedUsers)
{
Users.Add(item);
}
}
private void RemoveAllStudents()
{
if (SelectedGroupItem == null) return;
_groupUseCase.RemoveAllStudentsFromGroup(SelectedGroupItem.Id);
SelectedGroupItem.users = new List<UserPresenter>();
SetUsers();
}
private void AddStudent()
{
if (SelectedGroupItem == null) return;
var newStudent = new UserPresenter
{
Name = "Новый студент",
Guid = Guid.NewGuid(),
Group = SelectedGroupItem
};
_groupUseCase.AddStudentToGroup(SelectedGroupItem.Id, new User
{
Guid = newStudent.Guid,
FIO = newStudent.Name
});
var updatedUsers = SelectedGroupItem.users?.ToList() ?? new List<UserPresenter>();
updatedUsers.Add(newStudent);
SelectedGroupItem.users = updatedUsers;
SetUsers();
}
public void OnDeleteUserClick()
{
if (SelectedUsers.Count == 0 || SelectedGroupItem?.users == null)
return;
foreach (var user in SelectedUsers.ToList())
{
_groupUseCase.RemoveUserByGuid(user.Guid);
var updatedUsers = SelectedGroupItem.users.Where(u => u.Guid != user.Guid).ToList();
SelectedGroupItem.users = new List<UserPresenter>(updatedUsers);
}
SetUsers();
SelectedUsers.Clear();
this.RaisePropertyChanged(nameof(CanDelete));
this.RaisePropertyChanged(nameof(CanEdit));
}
public async void OnEditUserClick()
{
var user = SelectedUsers.FirstOrDefault();
if (user == null) return;
var groups = _groupUseCase.GetAllGroups();
// Преобразуем группы из domain.Models.Group в GroupPresenter
var groupPresenters = groups.Select(g => new GroupPresenter
{
Id = g.Id,
Name = g.Name,
users = g.Users?.Select(u => new UserPresenter
{
Name = u.FIO,
Guid = u.Guid,
Group = new GroupPresenter { Id = g.Id, Name = g.Name }
}).ToList()
}).ToList();
var editDialog = new EditUserDialog(user.Guid, user.Name, user.Group.Id, groupPresenters);
var mainWindow = (Application.Current.ApplicationLifetime as IClassicDesktopStyleApplicationLifetime)?.MainWindow;
if (mainWindow == null) return;
var result = await editDialog.ShowDialog(mainWindow);
if (result != (null, null))
{
var newName = result.Item1;
var newGroup = result.Item2;
user.Name = newName;
user.Group = newGroup;
_groupUseCase.UpdateUser(user.Guid, user.Name, user.Group.Id);
SetUsers();
SelectedUsers.Clear();
this.RaisePropertyChanged(nameof(CanEdit));
this.RaisePropertyChanged(nameof(CanDelete));
}
RefreshGroups();
}
private void RefreshGroups()
{
groupPresentersDataSource.Clear();
foreach (var item in _groupUseCase.GetAllGroups())
{
GroupPresenter groupPresenter = new GroupPresenter
{
Id = item.Id,
Name = item.Name,
users = item.Users?.Select(user => new UserPresenter
{
Name = user.FIO,
Guid = user.Guid,
Group = new GroupPresenter { Id = item.Id, Name = item.Name }
}).ToList()
};
groupPresentersDataSource.Add(groupPresenter);
}
_groups = new ObservableCollection<GroupPresenter>(groupPresentersDataSource);
}
public string? UrlPathSegment { get; }
public IScreen HostScreen { get; }
}
}

View File

@ -1,235 +1,16 @@
using Avalonia.Controls.ApplicationLifetimes;
using domain.Models;
using domain.UseCase;
using Presence.Desktop.Views;
using System;
using Microsoft.Extensions.DependencyInjection;
using ReactiveUI;
using System;
using System.Collections.Generic;
using System.Collections.ObjectModel;
using System.Linq;
using System.Reactive;
using System.Reactive.Linq;
using System.Windows.Input;
using Avalonia;
namespace Presence.Desktop.ViewModels
namespace Presence.Desktop.ViewModels;
public class MainWindowViewModel : ViewModelBase, IScreen
{
public class MainWindowViewModel : ViewModelBase
public RoutingState Router { get; } = new RoutingState();
public MainWindowViewModel(IServiceProvider serviceProvider)
{
private readonly GroupUseCase _groupUseCase;
private List<GroupPresenter> groupPresentersDataSource = new List<GroupPresenter>();
private ObservableCollection<GroupPresenter> _groups;
public ObservableCollection<GroupPresenter> Groups => _groups;
private GroupPresenter? _selectedGroupItem;
public GroupPresenter? SelectedGroupItem
{
get => _selectedGroupItem;
set => this.RaiseAndSetIfChanged(ref _selectedGroupItem, value);
}
public ObservableCollection<UserPresenter> Users { get => _users; }
private ObservableCollection<UserPresenter> _users;
// Список опций сортировки
public List<string> SortOptions { get; } = new List<string> { "По фамилии", "По убыванию" };
private string _selectedSortOption;
public string SelectedSortOption
{
get => _selectedSortOption;
set => this.RaiseAndSetIfChanged(ref _selectedSortOption, value);
}
public bool CanDelete => SelectedUsers?.Count > 0;
public bool CanEdit => SelectedUsers?.Count == 1;
public ObservableCollection<UserPresenter> SelectedUsers { get; set; } = new ObservableCollection<UserPresenter>();
public ReactiveCommand<Unit, Unit> OnDeleteUserClicks { get; }
public ReactiveCommand<Unit, Unit> EditUserCommand { get; }
public ICommand RemoveAllStudentsCommand { get; }
public ICommand AddStudentCommand { get; }
public MainWindowViewModel(GroupUseCase groupUseCase)
{
_groupUseCase = groupUseCase;
OnDeleteUserClicks = ReactiveCommand.Create(OnDeleteUserClick, this.WhenAnyValue(vm => vm.CanDelete));
EditUserCommand = ReactiveCommand.Create(OnEditUserClick, this.WhenAnyValue(vm => vm.CanEdit));
RefreshGroups();
_groups = new ObservableCollection<GroupPresenter>(groupPresentersDataSource);
_users = new ObservableCollection<UserPresenter>();
this.WhenAnyValue(vm => vm.SelectedGroupItem)
.Subscribe(vm => SetUsers());
this.WhenAnyValue(vm => vm.SelectedSortOption)
.Subscribe(_ => SortUsers());
RemoveAllStudentsCommand = ReactiveCommand.Create(RemoveAllStudents);
AddStudentCommand = ReactiveCommand.Create(AddStudent);
SelectedUsers.CollectionChanged += (s, e) =>
{
this.RaisePropertyChanged(nameof(CanDelete));
this.RaisePropertyChanged(nameof(CanEdit));
};
}
private void SetUsers()
{
if (SelectedGroupItem?.users == null) return;
Users.Clear();
foreach (var item in SelectedGroupItem.users)
{
Users.Add(item);
}
SortUsers();
}
private void SortUsers()
{
if (SelectedGroupItem?.users == null) return;
var sortedUsers = SelectedGroupItem.users.ToList();
switch (SelectedSortOption)
{
case "По фамилии":
sortedUsers = sortedUsers.OrderBy(u => u.Name).ToList();
break;
case "По убыванию":
sortedUsers = sortedUsers.OrderByDescending(u => u.Name).ToList();
break;
}
Users.Clear();
foreach (var item in sortedUsers)
{
Users.Add(item);
}
}
private void RemoveAllStudents()
{
if (SelectedGroupItem == null) return;
_groupUseCase.RemoveAllStudentsFromGroup(SelectedGroupItem.Id);
SelectedGroupItem.users = new List<UserPresenter>();
SetUsers();
}
private void AddStudent()
{
if (SelectedGroupItem == null) return;
var newStudent = new UserPresenter
{
Name = "Новый студент",
Guid = Guid.NewGuid(),
Group = SelectedGroupItem
};
_groupUseCase.AddStudentToGroup(SelectedGroupItem.Id, new User
{
Guid = newStudent.Guid,
FIO = newStudent.Name
});
var updatedUsers = SelectedGroupItem.users?.ToList() ?? new List<UserPresenter>();
updatedUsers.Add(newStudent);
SelectedGroupItem.users = updatedUsers;
SetUsers();
}
public void OnDeleteUserClick()
{
if (SelectedUsers.Count == 0 || SelectedGroupItem?.users == null)
return;
foreach (var user in SelectedUsers.ToList())
{
_groupUseCase.RemoveUserByGuid(user.Guid);
var updatedUsers = SelectedGroupItem.users.Where(u => u.Guid != user.Guid).ToList();
SelectedGroupItem.users = new List<UserPresenter>(updatedUsers);
}
SetUsers();
SelectedUsers.Clear();
this.RaisePropertyChanged(nameof(CanDelete));
this.RaisePropertyChanged(nameof(CanEdit));
}
public async void OnEditUserClick()
{
var user = SelectedUsers.FirstOrDefault();
if (user == null) return;
var groups = _groupUseCase.GetAllGroups();
// Преобразуем группы из domain.Models.Group в GroupPresenter
var groupPresenters = groups.Select(g => new GroupPresenter
{
Id = g.Id,
Name = g.Name,
users = g.Users?.Select(u => new UserPresenter
{
Name = u.FIO,
Guid = u.Guid,
Group = new GroupPresenter { Id = g.Id, Name = g.Name }
}).ToList()
}).ToList();
var editDialog = new EditUserDialog(user.Guid, user.Name, user.Group.Id, groupPresenters);
var mainWindow = (Application.Current.ApplicationLifetime as IClassicDesktopStyleApplicationLifetime)?.MainWindow;
if (mainWindow == null) return;
var result = await editDialog.ShowDialog(mainWindow);
if (result != (null, null))
{
var newName = result.Item1;
var newGroup = result.Item2;
user.Name = newName;
user.Group = newGroup;
_groupUseCase.UpdateUser(user.Guid, user.Name, user.Group.Id);
SetUsers();
SelectedUsers.Clear();
this.RaisePropertyChanged(nameof(CanEdit));
this.RaisePropertyChanged(nameof(CanDelete));
}
RefreshGroups();
}
private void RefreshGroups()
{
groupPresentersDataSource.Clear();
foreach (var item in _groupUseCase.GetAllGroups())
{
GroupPresenter groupPresenter = new GroupPresenter
{
Id = item.Id,
Name = item.Name,
users = item.Users?.Select(user => new UserPresenter
{
Name = user.FIO,
Guid = user.Guid,
Group = new GroupPresenter { Id = item.Id, Name = item.Name }
}).ToList()
};
groupPresentersDataSource.Add(groupPresenter);
}
_groups = new ObservableCollection<GroupPresenter>(groupPresentersDataSource);
}
var groupViewModel = serviceProvider.GetRequiredService<GroupViewModel>();
Router.Navigate.Execute(groupViewModel);
}
}

View File

@ -0,0 +1,9 @@
using ReactiveUI;
namespace Presence.Desktop.ViewModels;
public class PresenceViewModel : ViewModelBase, IRoutableViewModel
{
public string? UrlPathSegment { get; }
public IScreen HostScreen { get; }
}

View File

@ -0,0 +1,145 @@
<Window xmlns="https://github.com/avaloniaui"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
xmlns:vm="using:Presence.Desktop.ViewModels"
xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
mc:Ignorable="d" d:DesignWidth="800" d:DesignHeight="450"
x:Class="Presence.Desktop.Views.MainWindow"
Icon="/Assets/avalonia-logo.ico"
Title="Presence.Desktop"
x:DataType="vm:MainWindowViewModel"
xmlns:local="clr-namespace:Presence.Desktop.ViewModels"
DataContext="{Binding RelativeSource={RelativeSource Self}}">
<Window.Styles>
<!-- Общие стили -->
<Style Selector="TextBlock">
<Setter Property="Foreground" Value="#333333"/>
<Setter Property="FontSize" Value="14"/>
<Setter Property="FontWeight" Value="Medium"/>
</Style>
<Style Selector="ComboBox">
<Setter Property="Foreground" Value="#333333"/>
<Setter Property="Background" Value="#FFFFFF"/>
<Setter Property="BorderBrush" Value="#CCCCCC"/>
<Setter Property="BorderThickness" Value="1"/>
<Setter Property="Padding" Value="8"/>
<Setter Property="FontSize" Value="14"/>
<Setter Property="CornerRadius" Value="8"/>
<Setter Property="BoxShadow" Value="0 2px 4px rgba(0, 0, 0, 0.1)"/>
</Style>
<Style Selector="Button">
<Setter Property="Foreground" Value="#FFFFFF"/>
<Setter Property="Background" Value="#0078D7"/>
<Setter Property="BorderBrush" Value="#0078D7"/>
<Setter Property="BorderThickness" Value="1"/>
<Setter Property="Padding" Value="12"/>
<Setter Property="FontSize" Value="14"/>
<Setter Property="CornerRadius" Value="8"/>
<Setter Property="BoxShadow" Value="0 2px 4px rgba(0, 0, 0, 0.1)"/>
<Setter Property="Cursor" Value="Pointer"/>
<Setter Property="Transitions">
<Transitions>
<Transitions.BoxShadow>
<BoxShadowTransition Duration="0:0:0.2"/>
</Transitions.BoxShadow>
<Transitions.Background>
<BrushTransition Duration="0:0:0.2"/>
</Transitions.Background>
</Transitions>
</Setter>
<Setter Property="PointerOverBackground" Value="#005A9E"/>
<Setter Property="PressedBackground" Value="#004C87"/>
</Style>
<Style Selector="ListBox">
<Setter Property="Background" Value="#FFFFFF"/>
<Setter Property="BorderBrush" Value="#CCCCCC"/>
<Setter Property="BorderThickness" Value="1"/>
<Setter Property="Padding" Value="10"/>
<Setter Property="FontSize" Value="14"/>
<Setter Property="CornerRadius" Value="8"/>
<Setter Property="BoxShadow" Value="0 2px 4px rgba(0, 0, 0, 0.1)"/>
</Style>
<Style Selector="MenuItem">
<Setter Property="Foreground" Value="#333333"/>
<Setter Property="Background" Value="#FFFFFF"/>
<Setter Property="BorderBrush" Value="#CCCCCC"/>
<Setter Property="BorderThickness" Value="1"/>
<Setter Property="Padding" Value="8"/>
<Setter Property="FontSize" Value="14"/>
<Setter Property="CornerRadius" Value="4"/>
<Setter Property="PointerOverBackground" Value="#EAEAEA"/>
</Style>
</Window.Styles>
<DockPanel Background="#F9F9F9">
<!-- Верхняя панель с комбобоксами -->
<StackPanel DockPanel.Dock="Top"
HorizontalAlignment="Center"
Margin="20"
Spacing="15">
<!-- Первый ComboBox для выбора группы -->
<ComboBox ItemsSource="{Binding Groups}"
SelectedValue="{Binding SelectedGroupItem}"
HorizontalAlignment="Center"
Width="300">
<ComboBox.ItemTemplate>
<DataTemplate>
<TextBlock Text="{Binding Name}" />
</DataTemplate>
</ComboBox.ItemTemplate>
</ComboBox>
<!-- Второй ComboBox для выбора способа сортировки -->
<ComboBox ItemsSource="{Binding SortOptions}"
SelectedItem="{Binding SelectedSortOption}"
HorizontalAlignment="Center"
Width="300">
<ComboBox.ItemTemplate>
<DataTemplate>
<TextBlock Text="{Binding}" />
</DataTemplate>
</ComboBox.ItemTemplate>
</ComboBox>
</StackPanel>
<!-- Нижняя панель с кнопками -->
<StackPanel DockPanel.Dock="Bottom"
HorizontalAlignment="Center"
VerticalAlignment="Center"
Margin="20"
Spacing="15">
<Button Content="Удалить всех студентов"
Command="{Binding RemoveAllStudentsCommand}"
HorizontalAlignment="Center"
Width="250"/>
<Button Content="Добавить студента"
Command="{Binding AddStudentCommand}"
HorizontalAlignment="Center"
Width="250"/>
</StackPanel>
<!-- Центральная панель для списка студентов -->
<ListBox ItemsSource="{Binding Users}"
HorizontalAlignment="Center"
Width="400"
Margin="20"
SelectionMode="Multiple"
SelectedItems="{Binding SelectedUsers}">
<ListBox.ItemTemplate>
<DataTemplate>
<StackPanel Orientation="Horizontal" Margin="5">
<TextBlock Text="{Binding Name}" VerticalAlignment="Center" />
</StackPanel>
</DataTemplate>
</ListBox.ItemTemplate>
<ListBox.ContextMenu>
<ContextMenu>
<MenuItem Header="Удалить" Click="OnDeleteUserClick"/>
<MenuItem Header="Редактировать" Click="OnEditUserClick"/>
</ContextMenu>
</ListBox.ContextMenu>
</ListBox>
</DockPanel>
</Window>

View File

@ -0,0 +1,30 @@
using Avalonia.Controls;
using Avalonia.Interactivity;
using Avalonia.Markup.Xaml;
using Avalonia.ReactiveUI;
using Presence.Desktop.ViewModels;
using ReactiveUI;
namespace Presence.Desktop.Views
{
public partial class GroupView : ReactiveUserControl<GroupViewModel>
{
public GroupView()
{
this.WhenActivated(disposables => { });
AvaloniaXamlLoader.Load(this);
}
private void OnDeleteUserClick(object sender, RoutedEventArgs e)
{
var viewModel = (GroupViewModel)DataContext;
viewModel.OnDeleteUserClick();
}
private void OnEditUserClick(object sender, RoutedEventArgs e)
{
var viewModel = (GroupViewModel)DataContext;
viewModel.OnEditUserClick();
}
}
}

View File

@ -1,123 +1,19 @@
<Window xmlns="https://github.com/avaloniaui"
<Window xmlns="https://github.com/avaloniaui"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
xmlns:vm="using:Presence.Desktop.ViewModels"
xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
xmlns:app="clr-namespace:Presence.Desktop"
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
xmlns:vm="using:Presence.Desktop.ViewModels"
xmlns:reactiveUi="http://reactiveui.net"
mc:Ignorable="d" d:DesignWidth="800" d:DesignHeight="450"
x:Class="Presence.Desktop.Views.MainWindow"
Icon="/Assets/avalonia-logo.ico"
Title="Presence.Desktop"
x:DataType="vm:MainWindowViewModel"
xmlns:local="clr-namespace:Presence.Desktop.ViewModels"
DataContext="{Binding RelativeSource={RelativeSource Self}}">
<Window.Styles>
<Style Selector="TextBlock">
<Setter Property="Foreground" Value="Black"/>
<Setter Property="FontSize" Value="14"/>
</Style>
<Style Selector="ComboBox">
<Setter Property="Foreground" Value="Black"/>
<Setter Property="Background" Value="#F0F0F0"/>
<Setter Property="BorderBrush" Value="#808080"/>
<Setter Property="BorderThickness" Value="1"/>
<Setter Property="Padding" Value="5"/>
<Setter Property="FontSize" Value="14"/>
</Style>
<Style Selector="Button">
<Setter Property="Foreground" Value="White"/>
<Setter Property="Background" Value="#4CAF50"/>
<Setter Property="BorderBrush" Value="#4CAF50"/>
<Setter Property="BorderThickness" Value="1"/>
<Setter Property="Padding" Value="10"/>
<Setter Property="FontSize" Value="14"/>
<Setter Property="CornerRadius" Value="5"/>
</Style>
<Style Selector="ListBox">
<Setter Property="Background" Value="#FFE4C4"/>
<Setter Property="BorderBrush" Value="#808080"/>
<Setter Property="BorderThickness" Value="1"/>
<Setter Property="Padding" Value="10"/>
<Setter Property="FontSize" Value="14"/>
</Style>
<Style Selector="MenuItem">
<Setter Property="Foreground" Value="Black"/>
<Setter Property="Background" Value="#F0F0F0"/>
<Setter Property="BorderBrush" Value="#808080"/>
<Setter Property="BorderThickness" Value="1"/>
<Setter Property="Padding" Value="5"/>
<Setter Property="FontSize" Value="14"/>
</Style>
</Window.Styles>
<DockPanel Background="#F5F5F5">
<!-- Верхняя панель с комбобоксами -->
<StackPanel DockPanel.Dock="Top" HorizontalAlignment="Center" Margin="20">
<!-- Первый ComboBox для выбора группы -->
<ComboBox ItemsSource="{Binding Groups}"
SelectedValue="{Binding SelectedGroupItem}"
HorizontalAlignment="Center"
Width="300"
Margin="5">
<ComboBox.ItemTemplate>
<DataTemplate>
<TextBlock Text="{Binding Name}" />
</DataTemplate>
</ComboBox.ItemTemplate>
</ComboBox>
<!-- Второй ComboBox для выбора способа сортировки -->
<ComboBox ItemsSource="{Binding SortOptions}"
SelectedItem="{Binding SelectedSortOption}"
HorizontalAlignment="Center"
Width="300"
Margin="10">
<ComboBox.ItemTemplate>
<DataTemplate>
<TextBlock Text="{Binding}" />
</DataTemplate>
</ComboBox.ItemTemplate>
</ComboBox>
</StackPanel>
<!-- Нижняя панель с кнопками -->
<StackPanel DockPanel.Dock="Bottom"
HorizontalAlignment="Center"
VerticalAlignment="Center"
Margin="20">
<Button Content="Удалить всех студентов"
Command="{Binding RemoveAllStudentsCommand}"
HorizontalAlignment="Center"
Width="250"
Margin="10"/>
<Button Content="Добавить студента"
Command="{Binding AddStudentCommand}"
HorizontalAlignment="Center"
Width="250"
Margin="10"/>
</StackPanel>
<!-- Центральная панель для списка студентов -->
<ListBox ItemsSource="{Binding Users}"
HorizontalAlignment="Center"
Width="350"
Margin="10"
SelectionMode="Multiple"
SelectedItems="{Binding SelectedUsers}">
<ListBox.ItemTemplate>
<DataTemplate>
<StackPanel Orientation="Horizontal" Margin="5">
<TextBlock Text="{Binding Name}" VerticalAlignment="Center" />
</StackPanel>
</DataTemplate>
</ListBox.ItemTemplate>
<ListBox.ContextMenu>
<ContextMenu>
<MenuItem Header="Удалить" Click="OnDeleteUserClick"/>
<MenuItem Header="Редактировать" Click="OnEditUserClick"/>
</ContextMenu>
</ListBox.ContextMenu>
</ListBox>
Title="MainWindow">
<DockPanel>
<reactiveUi:RoutedViewHost Router="{Binding Router}" DockPanel.Dock="Right" Background="AliceBlue">
<reactiveUi:RoutedViewHost.ViewLocator>
<app:ViewLocator/>
</reactiveUi:RoutedViewHost.ViewLocator>
</reactiveUi:RoutedViewHost>
</DockPanel>
</Window>

View File

@ -1,28 +1,18 @@
using Avalonia;
using Avalonia.Controls;
using Avalonia.Interactivity;
using domain.UseCase;
using Avalonia.Markup.Xaml;
using Avalonia.ReactiveUI;
using Presence.Desktop.ViewModels;
using ReactiveUI;
namespace Presence.Desktop.Views
{
public partial class MainWindow : Window
{
public MainWindow(GroupUseCase groupUseCase)
{
InitializeComponent();
DataContext = new MainWindowViewModel(groupUseCase);
}
namespace Presence.Desktop.Views;
private void OnDeleteUserClick(object sender, RoutedEventArgs e)
public partial class MainWindow : ReactiveWindow<MainWindowViewModel>
{
var viewModel = (MainWindowViewModel)DataContext;
viewModel.OnDeleteUserClick();
}
public MainWindow()
{
this.WhenActivated(disposables => { });
AvaloniaXamlLoader.Load(this);
private void OnEditUserClick(object sender, RoutedEventArgs e)
{
var viewModel = (MainWindowViewModel)DataContext;
viewModel.OnEditUserClick();
}
}
}

View File

@ -0,0 +1,10 @@

}<UserControl xmlns="https://github.com/avaloniaui"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
mc:Ignorable="d" d:DesignWidth="800" d:DesignHeight="450"
x:Class="Presence.Desktop.Views.PresenceView">
Welcome to Avalonia!
</UserControl>

View File

@ -0,0 +1,17 @@
using Avalonia;
using Avalonia.Controls;
using Avalonia.Markup.Xaml;
using Avalonia.ReactiveUI;
using Presence.Desktop.ViewModels;
using ReactiveUI;
namespace Presence.Desktop.Views;
public partial class PresenceView : ReactiveUserControl<PresenceViewModel>
{
public PresenceView()
{
this.WhenActivated(disposables => { });
AvaloniaXamlLoader.Load(this);
}
}

View File

@ -1 +1 @@
10bdd18b8298c0ad01d097bf9e3f54d1a5ee23f52c16f29e045a3e0daa0e6a11
7dfd2923929a2afbcc37aeba16ee71d47e8f217d4e735a1b3ceb5268557b85be

View File

@ -25,10 +25,10 @@ C:\Users\class_student\.nuget\packages\avalonia.win32\11.2.1\lib\net8.0\Avalonia
C:\Users\class_student\.nuget\packages\avalonia.x11\11.2.1\lib\net8.0\Avalonia.X11.dll
C:\Users\class_student\.nuget\packages\closedxml\0.104.1\lib\netstandard2.1\ClosedXML.dll
C:\Users\class_student\.nuget\packages\closedxml.parser\1.2.0\lib\netstandard2.1\ClosedXML.Parser.dll
C:\Users\class_student\Source\Repos\presence\data\obj\Debug\net8.0\ref\data.dll
C:\Users\class_student\source\repos\presence\data\obj\Debug\net8.0\ref\data.dll
C:\Users\class_student\.nuget\packages\documentformat.openxml\3.0.1\lib\net8.0\DocumentFormat.OpenXml.dll
C:\Users\class_student\.nuget\packages\documentformat.openxml.framework\3.0.1\lib\net8.0\DocumentFormat.OpenXml.Framework.dll
C:\Users\class_student\Source\Repos\presence\domain\obj\Debug\net8.0\ref\domain.dll
C:\Users\class_student\source\repos\presence\domain\obj\Debug\net8.0\ref\domain.dll
C:\Users\class_student\.nuget\packages\dynamicdata\8.4.1\lib\net8.0\DynamicData.dll
C:\Users\class_student\.nuget\packages\excelnumberformat\1.1.0\lib\netstandard2.0\ExcelNumberFormat.dll
C:\Users\class_student\.nuget\packages\harfbuzzsharp\7.3.0.2\lib\net6.0\HarfBuzzSharp.dll

View File

@ -14,7 +14,7 @@ using System.Reflection;
[assembly: System.Reflection.AssemblyCompanyAttribute("Presence.Desktop")]
[assembly: System.Reflection.AssemblyConfigurationAttribute("Debug")]
[assembly: System.Reflection.AssemblyFileVersionAttribute("1.0.0.0")]
[assembly: System.Reflection.AssemblyInformationalVersionAttribute("1.0.0+ee2f8d55b49539b7ad0fe51e54bde18244141e72")]
[assembly: System.Reflection.AssemblyInformationalVersionAttribute("1.0.0+4f43086a9a8fd68f7a6ab19eaa5cbcec67f8b7cc")]
[assembly: System.Reflection.AssemblyProductAttribute("Presence.Desktop")]
[assembly: System.Reflection.AssemblyTitleAttribute("Presence.Desktop")]
[assembly: System.Reflection.AssemblyVersionAttribute("1.0.0.0")]

View File

@ -1 +1 @@
9f516ad2ecaf568f99531cf3d63a2109aa1f734b356333004397ee3f398eab0a
52fca480bf5c37bdf1b053c0541563bdec821e517e590fb3a914e7998f5d9636

View File

@ -15,15 +15,21 @@ build_property.PlatformNeutralAssembly =
build_property.EnforceExtendedAnalyzerRules =
build_property._SupportedPlatformList = Linux,macOS,Windows
build_property.RootNamespace = Presence.Desktop
build_property.ProjectDir = C:\Users\class_student\Source\Repos\presence\Presence.Desktop\
build_property.ProjectDir = C:\Users\class_student\source\repos\presence\Presence.Desktop\
build_property.EnableComHosting =
build_property.EnableGeneratedComInterfaceComImportInterop =
[C:/Users/class_student/Source/Repos/presence/Presence.Desktop/App.axaml]
[C:/Users/class_student/source/repos/presence/Presence.Desktop/App.axaml]
build_metadata.AdditionalFiles.SourceItemGroup = AvaloniaXaml
[C:/Users/class_student/Source/Repos/presence/Presence.Desktop/Views/EditUserDialog.axaml]
[C:/Users/class_student/source/repos/presence/Presence.Desktop/Views/EditUserDialog.axaml]
build_metadata.AdditionalFiles.SourceItemGroup = AvaloniaXaml
[C:/Users/class_student/Source/Repos/presence/Presence.Desktop/Views/MainWindow.axaml]
[C:/Users/class_student/source/repos/presence/Presence.Desktop/Views/GroupView.axaml]
build_metadata.AdditionalFiles.SourceItemGroup = AvaloniaXaml
[C:/Users/class_student/source/repos/presence/Presence.Desktop/Views/MainWindow.axaml]
build_metadata.AdditionalFiles.SourceItemGroup = AvaloniaXaml
[C:/Users/class_student/source/repos/presence/Presence.Desktop/Views/PresenceView.axaml]
build_metadata.AdditionalFiles.SourceItemGroup = AvaloniaXaml

View File

@ -1 +1 @@
a1e46d49543a2f42e128a1cb6b1ce1d3d92b26c947fbead868697a22014eb120
b5a74d4ac62fce8d6f67ada3570bfc8e139cdefba13b2f52e0a9dd38d4b3e7cb

View File

@ -292,3 +292,6 @@ C:\Users\IVAN\Source\Repos\presence_new\Presence.Desktop\bin\Debug\net8.0\domain
C:\Users\IVAN\Source\Repos\presence_new\Presence.Desktop\obj\Debug\net8.0\Presence.C94E1B86.Up2Date
C:\Users\IVAN\Source\Repos\presence_new\Presence.Desktop\obj\Debug\net8.0\Presence.Desktop.genruntimeconfig.cache
C:\Users\IVAN\Source\Repos\presence_new\Presence.Desktop\obj\Debug\net8.0\ref\Presence.Desktop.dll
C:\Users\class_student\source\repos\presence\Presence.Desktop\obj\Debug\net8.0\Presence.Desktop.dll
C:\Users\class_student\source\repos\presence\Presence.Desktop\obj\Debug\net8.0\refint\Presence.Desktop.dll
C:\Users\class_student\source\repos\presence\Presence.Desktop\obj\Debug\net8.0\Presence.Desktop.pdb

View File

@ -1 +1 @@
4c7d244a72da5abe5fc2a78fe640148bcc1fbed46eeced5201782d0eaaf96e80
8e1b871b1ae947cf23b6fe825f00035e68e17dd875e1e987c19e2e34b885cbb6

View File

@ -1,17 +1,17 @@
{
"format": 1,
"restore": {
"C:\\Users\\class_student\\Source\\Repos\\presence\\Presence.Desktop\\Presence.Desktop.csproj": {}
"C:\\Users\\class_student\\source\\repos\\presence\\Presence.Desktop\\Presence.Desktop.csproj": {}
},
"projects": {
"C:\\Users\\class_student\\Source\\Repos\\presence\\data\\data.csproj": {
"C:\\Users\\class_student\\source\\repos\\presence\\data\\data.csproj": {
"version": "1.0.0",
"restore": {
"projectUniqueName": "C:\\Users\\class_student\\Source\\Repos\\presence\\data\\data.csproj",
"projectUniqueName": "C:\\Users\\class_student\\source\\repos\\presence\\data\\data.csproj",
"projectName": "data",
"projectPath": "C:\\Users\\class_student\\Source\\Repos\\presence\\data\\data.csproj",
"projectPath": "C:\\Users\\class_student\\source\\repos\\presence\\data\\data.csproj",
"packagesPath": "C:\\Users\\class_student\\.nuget\\packages\\",
"outputPath": "C:\\Users\\class_student\\Source\\Repos\\presence\\data\\obj\\",
"outputPath": "C:\\Users\\class_student\\source\\repos\\presence\\data\\obj\\",
"projectStyle": "PackageReference",
"fallbackFolders": [
"C:\\Program Files (x86)\\Microsoft Visual Studio\\Shared\\NuGetPackages"
@ -84,14 +84,14 @@
}
}
},
"C:\\Users\\class_student\\Source\\Repos\\presence\\domain\\domain.csproj": {
"C:\\Users\\class_student\\source\\repos\\presence\\domain\\domain.csproj": {
"version": "1.0.0",
"restore": {
"projectUniqueName": "C:\\Users\\class_student\\Source\\Repos\\presence\\domain\\domain.csproj",
"projectUniqueName": "C:\\Users\\class_student\\source\\repos\\presence\\domain\\domain.csproj",
"projectName": "domain",
"projectPath": "C:\\Users\\class_student\\Source\\Repos\\presence\\domain\\domain.csproj",
"projectPath": "C:\\Users\\class_student\\source\\repos\\presence\\domain\\domain.csproj",
"packagesPath": "C:\\Users\\class_student\\.nuget\\packages\\",
"outputPath": "C:\\Users\\class_student\\Source\\Repos\\presence\\domain\\obj\\",
"outputPath": "C:\\Users\\class_student\\source\\repos\\presence\\domain\\obj\\",
"projectStyle": "PackageReference",
"fallbackFolders": [
"C:\\Program Files (x86)\\Microsoft Visual Studio\\Shared\\NuGetPackages"
@ -112,8 +112,8 @@
"net8.0": {
"targetAlias": "net8.0",
"projectReferences": {
"C:\\Users\\class_student\\Source\\Repos\\presence\\data\\data.csproj": {
"projectPath": "C:\\Users\\class_student\\Source\\Repos\\presence\\data\\data.csproj"
"C:\\Users\\class_student\\source\\repos\\presence\\data\\data.csproj": {
"projectPath": "C:\\Users\\class_student\\source\\repos\\presence\\data\\data.csproj"
}
}
}
@ -158,14 +158,14 @@
}
}
},
"C:\\Users\\class_student\\Source\\Repos\\presence\\Presence.Desktop\\Presence.Desktop.csproj": {
"C:\\Users\\class_student\\source\\repos\\presence\\Presence.Desktop\\Presence.Desktop.csproj": {
"version": "1.0.0",
"restore": {
"projectUniqueName": "C:\\Users\\class_student\\Source\\Repos\\presence\\Presence.Desktop\\Presence.Desktop.csproj",
"projectUniqueName": "C:\\Users\\class_student\\source\\repos\\presence\\Presence.Desktop\\Presence.Desktop.csproj",
"projectName": "Presence.Desktop",
"projectPath": "C:\\Users\\class_student\\Source\\Repos\\presence\\Presence.Desktop\\Presence.Desktop.csproj",
"projectPath": "C:\\Users\\class_student\\source\\repos\\presence\\Presence.Desktop\\Presence.Desktop.csproj",
"packagesPath": "C:\\Users\\class_student\\.nuget\\packages\\",
"outputPath": "C:\\Users\\class_student\\Source\\Repos\\presence\\Presence.Desktop\\obj\\",
"outputPath": "C:\\Users\\class_student\\source\\repos\\presence\\Presence.Desktop\\obj\\",
"projectStyle": "PackageReference",
"fallbackFolders": [
"C:\\Program Files (x86)\\Microsoft Visual Studio\\Shared\\NuGetPackages"
@ -186,11 +186,11 @@
"net8.0": {
"targetAlias": "net8.0",
"projectReferences": {
"C:\\Users\\class_student\\Source\\Repos\\presence\\data\\data.csproj": {
"projectPath": "C:\\Users\\class_student\\Source\\Repos\\presence\\data\\data.csproj"
"C:\\Users\\class_student\\source\\repos\\presence\\data\\data.csproj": {
"projectPath": "C:\\Users\\class_student\\source\\repos\\presence\\data\\data.csproj"
},
"C:\\Users\\class_student\\Source\\Repos\\presence\\domain\\domain.csproj": {
"projectPath": "C:\\Users\\class_student\\Source\\Repos\\presence\\domain\\domain.csproj"
"C:\\Users\\class_student\\source\\repos\\presence\\domain\\domain.csproj": {
"projectPath": "C:\\Users\\class_student\\source\\repos\\presence\\domain\\domain.csproj"
}
}
}

View File

@ -2773,11 +2773,11 @@
"project": {
"version": "1.0.0",
"restore": {
"projectUniqueName": "C:\\Users\\class_student\\Source\\Repos\\presence\\Presence.Desktop\\Presence.Desktop.csproj",
"projectUniqueName": "C:\\Users\\class_student\\source\\repos\\presence\\Presence.Desktop\\Presence.Desktop.csproj",
"projectName": "Presence.Desktop",
"projectPath": "C:\\Users\\class_student\\Source\\Repos\\presence\\Presence.Desktop\\Presence.Desktop.csproj",
"projectPath": "C:\\Users\\class_student\\source\\repos\\presence\\Presence.Desktop\\Presence.Desktop.csproj",
"packagesPath": "C:\\Users\\class_student\\.nuget\\packages\\",
"outputPath": "C:\\Users\\class_student\\Source\\Repos\\presence\\Presence.Desktop\\obj\\",
"outputPath": "C:\\Users\\class_student\\source\\repos\\presence\\Presence.Desktop\\obj\\",
"projectStyle": "PackageReference",
"fallbackFolders": [
"C:\\Program Files (x86)\\Microsoft Visual Studio\\Shared\\NuGetPackages"
@ -2798,11 +2798,11 @@
"net8.0": {
"targetAlias": "net8.0",
"projectReferences": {
"C:\\Users\\class_student\\Source\\Repos\\presence\\data\\data.csproj": {
"projectPath": "C:\\Users\\class_student\\Source\\Repos\\presence\\data\\data.csproj"
"C:\\Users\\class_student\\source\\repos\\presence\\data\\data.csproj": {
"projectPath": "C:\\Users\\class_student\\source\\repos\\presence\\data\\data.csproj"
},
"C:\\Users\\class_student\\Source\\Repos\\presence\\domain\\domain.csproj": {
"projectPath": "C:\\Users\\class_student\\Source\\Repos\\presence\\domain\\domain.csproj"
"C:\\Users\\class_student\\source\\repos\\presence\\domain\\domain.csproj": {
"projectPath": "C:\\Users\\class_student\\source\\repos\\presence\\domain\\domain.csproj"
}
}
}

View File

@ -1,8 +1,8 @@
{
"version": 2,
"dgSpecHash": "xSlGp/wNsL9jAX2NK0PW80ZJ2O4ll/YlsGuV0d1N4+ZHDMTtFZB2aZq7V3+X094hAj4Rgi6zPlrTciuTs0HEXw==",
"dgSpecHash": "AZCz7vOZdu5VQeeiEBBIP4P3zWTQI/Ro92mlIfiGUTmCIpyR2yf25RC4KjYnfsX0AxgMUYo5fXixUN0jbxFoKw==",
"success": true,
"projectFilePath": "C:\\Users\\class_student\\Source\\Repos\\presence\\Presence.Desktop\\Presence.Desktop.csproj",
"projectFilePath": "C:\\Users\\class_student\\source\\repos\\presence\\Presence.Desktop\\Presence.Desktop.csproj",
"expectedPackageFiles": [
"C:\\Users\\class_student\\.nuget\\packages\\avalonia\\11.2.1\\avalonia.11.2.1.nupkg.sha512",
"C:\\Users\\class_student\\.nuget\\packages\\avalonia.angle.windows.natives\\2.1.22045.20230930\\avalonia.angle.windows.natives.2.1.22045.20230930.nupkg.sha512",

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+ee2f8d55b49539b7ad0fe51e54bde18244141e72")]
[assembly: System.Reflection.AssemblyInformationalVersionAttribute("1.0.0+4f43086a9a8fd68f7a6ab19eaa5cbcec67f8b7cc")]
[assembly: System.Reflection.AssemblyProductAttribute("console_ui")]
[assembly: System.Reflection.AssemblyTitleAttribute("console_ui")]
[assembly: System.Reflection.AssemblyVersionAttribute("1.0.0.0")]

View File

@ -1 +1 @@
d1cc411e356a3e34dff99a303b4a7f93ee2c585e50af5ae95b4a7165516085e9
68fb8b1647d6409374a307810ef56cda241e3315bac4ef43f397378c62ed68bf

View File

@ -8,6 +8,6 @@ build_property.PlatformNeutralAssembly =
build_property.EnforceExtendedAnalyzerRules =
build_property._SupportedPlatformList = Linux,macOS,Windows
build_property.RootNamespace = console_ui
build_property.ProjectDir = C:\Users\class_student\Source\Repos\presence\console_ui\
build_property.ProjectDir = C:\Users\class_student\source\repos\presence\console_ui\
build_property.EnableComHosting =
build_property.EnableGeneratedComInterfaceComImportInterop =

View File

@ -1,17 +1,17 @@
{
"format": 1,
"restore": {
"C:\\Users\\class_student\\Source\\Repos\\presence\\console_ui\\console_ui.csproj": {}
"C:\\Users\\class_student\\source\\repos\\presence\\console_ui\\console_ui.csproj": {}
},
"projects": {
"C:\\Users\\class_student\\Source\\Repos\\presence\\console_ui\\console_ui.csproj": {
"C:\\Users\\class_student\\source\\repos\\presence\\console_ui\\console_ui.csproj": {
"version": "1.0.0",
"restore": {
"projectUniqueName": "C:\\Users\\class_student\\Source\\Repos\\presence\\console_ui\\console_ui.csproj",
"projectUniqueName": "C:\\Users\\class_student\\source\\repos\\presence\\console_ui\\console_ui.csproj",
"projectName": "console_ui",
"projectPath": "C:\\Users\\class_student\\Source\\Repos\\presence\\console_ui\\console_ui.csproj",
"projectPath": "C:\\Users\\class_student\\source\\repos\\presence\\console_ui\\console_ui.csproj",
"packagesPath": "C:\\Users\\class_student\\.nuget\\packages\\",
"outputPath": "C:\\Users\\class_student\\Source\\Repos\\presence\\console_ui\\obj\\",
"outputPath": "C:\\Users\\class_student\\source\\repos\\presence\\console_ui\\obj\\",
"projectStyle": "PackageReference",
"fallbackFolders": [
"C:\\Program Files (x86)\\Microsoft Visual Studio\\Shared\\NuGetPackages"
@ -32,14 +32,14 @@
"net8.0": {
"targetAlias": "net8.0",
"projectReferences": {
"C:\\Users\\class_student\\Source\\Repos\\presence\\data\\data.csproj": {
"projectPath": "C:\\Users\\class_student\\Source\\Repos\\presence\\data\\data.csproj"
"C:\\Users\\class_student\\source\\repos\\presence\\data\\data.csproj": {
"projectPath": "C:\\Users\\class_student\\source\\repos\\presence\\data\\data.csproj"
},
"C:\\Users\\class_student\\Source\\Repos\\presence\\domain\\domain.csproj": {
"projectPath": "C:\\Users\\class_student\\Source\\Repos\\presence\\domain\\domain.csproj"
"C:\\Users\\class_student\\source\\repos\\presence\\domain\\domain.csproj": {
"projectPath": "C:\\Users\\class_student\\source\\repos\\presence\\domain\\domain.csproj"
},
"C:\\Users\\class_student\\Source\\Repos\\presence\\ui\\ui.csproj": {
"projectPath": "C:\\Users\\class_student\\Source\\Repos\\presence\\ui\\ui.csproj"
"C:\\Users\\class_student\\source\\repos\\presence\\ui\\ui.csproj": {
"projectPath": "C:\\Users\\class_student\\source\\repos\\presence\\ui\\ui.csproj"
}
}
}
@ -92,14 +92,14 @@
}
}
},
"C:\\Users\\class_student\\Source\\Repos\\presence\\data\\data.csproj": {
"C:\\Users\\class_student\\source\\repos\\presence\\data\\data.csproj": {
"version": "1.0.0",
"restore": {
"projectUniqueName": "C:\\Users\\class_student\\Source\\Repos\\presence\\data\\data.csproj",
"projectUniqueName": "C:\\Users\\class_student\\source\\repos\\presence\\data\\data.csproj",
"projectName": "data",
"projectPath": "C:\\Users\\class_student\\Source\\Repos\\presence\\data\\data.csproj",
"projectPath": "C:\\Users\\class_student\\source\\repos\\presence\\data\\data.csproj",
"packagesPath": "C:\\Users\\class_student\\.nuget\\packages\\",
"outputPath": "C:\\Users\\class_student\\Source\\Repos\\presence\\data\\obj\\",
"outputPath": "C:\\Users\\class_student\\source\\repos\\presence\\data\\obj\\",
"projectStyle": "PackageReference",
"fallbackFolders": [
"C:\\Program Files (x86)\\Microsoft Visual Studio\\Shared\\NuGetPackages"
@ -172,14 +172,14 @@
}
}
},
"C:\\Users\\class_student\\Source\\Repos\\presence\\domain\\domain.csproj": {
"C:\\Users\\class_student\\source\\repos\\presence\\domain\\domain.csproj": {
"version": "1.0.0",
"restore": {
"projectUniqueName": "C:\\Users\\class_student\\Source\\Repos\\presence\\domain\\domain.csproj",
"projectUniqueName": "C:\\Users\\class_student\\source\\repos\\presence\\domain\\domain.csproj",
"projectName": "domain",
"projectPath": "C:\\Users\\class_student\\Source\\Repos\\presence\\domain\\domain.csproj",
"projectPath": "C:\\Users\\class_student\\source\\repos\\presence\\domain\\domain.csproj",
"packagesPath": "C:\\Users\\class_student\\.nuget\\packages\\",
"outputPath": "C:\\Users\\class_student\\Source\\Repos\\presence\\domain\\obj\\",
"outputPath": "C:\\Users\\class_student\\source\\repos\\presence\\domain\\obj\\",
"projectStyle": "PackageReference",
"fallbackFolders": [
"C:\\Program Files (x86)\\Microsoft Visual Studio\\Shared\\NuGetPackages"
@ -200,8 +200,8 @@
"net8.0": {
"targetAlias": "net8.0",
"projectReferences": {
"C:\\Users\\class_student\\Source\\Repos\\presence\\data\\data.csproj": {
"projectPath": "C:\\Users\\class_student\\Source\\Repos\\presence\\data\\data.csproj"
"C:\\Users\\class_student\\source\\repos\\presence\\data\\data.csproj": {
"projectPath": "C:\\Users\\class_student\\source\\repos\\presence\\data\\data.csproj"
}
}
}
@ -246,14 +246,14 @@
}
}
},
"C:\\Users\\class_student\\Source\\Repos\\presence\\ui\\ui.csproj": {
"C:\\Users\\class_student\\source\\repos\\presence\\ui\\ui.csproj": {
"version": "1.0.0",
"restore": {
"projectUniqueName": "C:\\Users\\class_student\\Source\\Repos\\presence\\ui\\ui.csproj",
"projectUniqueName": "C:\\Users\\class_student\\source\\repos\\presence\\ui\\ui.csproj",
"projectName": "ui",
"projectPath": "C:\\Users\\class_student\\Source\\Repos\\presence\\ui\\ui.csproj",
"projectPath": "C:\\Users\\class_student\\source\\repos\\presence\\ui\\ui.csproj",
"packagesPath": "C:\\Users\\class_student\\.nuget\\packages\\",
"outputPath": "C:\\Users\\class_student\\Source\\Repos\\presence\\ui\\obj\\",
"outputPath": "C:\\Users\\class_student\\source\\repos\\presence\\ui\\obj\\",
"projectStyle": "PackageReference",
"fallbackFolders": [
"C:\\Program Files (x86)\\Microsoft Visual Studio\\Shared\\NuGetPackages"
@ -274,8 +274,8 @@
"net8.0": {
"targetAlias": "net8.0",
"projectReferences": {
"C:\\Users\\class_student\\Source\\Repos\\presence\\domain\\domain.csproj": {
"projectPath": "C:\\Users\\class_student\\Source\\Repos\\presence\\domain\\domain.csproj"
"C:\\Users\\class_student\\source\\repos\\presence\\domain\\domain.csproj": {
"projectPath": "C:\\Users\\class_student\\source\\repos\\presence\\domain\\domain.csproj"
}
}
}

View File

@ -1062,11 +1062,11 @@
"project": {
"version": "1.0.0",
"restore": {
"projectUniqueName": "C:\\Users\\class_student\\Source\\Repos\\presence\\console_ui\\console_ui.csproj",
"projectUniqueName": "C:\\Users\\class_student\\source\\repos\\presence\\console_ui\\console_ui.csproj",
"projectName": "console_ui",
"projectPath": "C:\\Users\\class_student\\Source\\Repos\\presence\\console_ui\\console_ui.csproj",
"projectPath": "C:\\Users\\class_student\\source\\repos\\presence\\console_ui\\console_ui.csproj",
"packagesPath": "C:\\Users\\class_student\\.nuget\\packages\\",
"outputPath": "C:\\Users\\class_student\\Source\\Repos\\presence\\console_ui\\obj\\",
"outputPath": "C:\\Users\\class_student\\source\\repos\\presence\\console_ui\\obj\\",
"projectStyle": "PackageReference",
"fallbackFolders": [
"C:\\Program Files (x86)\\Microsoft Visual Studio\\Shared\\NuGetPackages"
@ -1087,14 +1087,14 @@
"net8.0": {
"targetAlias": "net8.0",
"projectReferences": {
"C:\\Users\\class_student\\Source\\Repos\\presence\\data\\data.csproj": {
"projectPath": "C:\\Users\\class_student\\Source\\Repos\\presence\\data\\data.csproj"
"C:\\Users\\class_student\\source\\repos\\presence\\data\\data.csproj": {
"projectPath": "C:\\Users\\class_student\\source\\repos\\presence\\data\\data.csproj"
},
"C:\\Users\\class_student\\Source\\Repos\\presence\\domain\\domain.csproj": {
"projectPath": "C:\\Users\\class_student\\Source\\Repos\\presence\\domain\\domain.csproj"
"C:\\Users\\class_student\\source\\repos\\presence\\domain\\domain.csproj": {
"projectPath": "C:\\Users\\class_student\\source\\repos\\presence\\domain\\domain.csproj"
},
"C:\\Users\\class_student\\Source\\Repos\\presence\\ui\\ui.csproj": {
"projectPath": "C:\\Users\\class_student\\Source\\Repos\\presence\\ui\\ui.csproj"
"C:\\Users\\class_student\\source\\repos\\presence\\ui\\ui.csproj": {
"projectPath": "C:\\Users\\class_student\\source\\repos\\presence\\ui\\ui.csproj"
}
}
}

View File

@ -1,8 +1,8 @@
{
"version": 2,
"dgSpecHash": "yfJCYMI2ah3sfp2aK6Ke6ce9kWJKxkrL993rMZ5hRfO/n/HG67U+7imrDbnyVEbFgC9j14ziYrduCNKKBW5lDw==",
"dgSpecHash": "8SnqRBoHTrXC6zNRgD35iWqKQFrMMB1xnQ0tZsRXiQnDkKksHZdiEnJsZgKSiOtjn3nAN28hgxy0Jfv7jHYl4g==",
"success": true,
"projectFilePath": "C:\\Users\\class_student\\Source\\Repos\\presence\\console_ui\\console_ui.csproj",
"projectFilePath": "C:\\Users\\class_student\\source\\repos\\presence\\console_ui\\console_ui.csproj",
"expectedPackageFiles": [
"C:\\Users\\class_student\\.nuget\\packages\\closedxml\\0.104.1\\closedxml.0.104.1.nupkg.sha512",
"C:\\Users\\class_student\\.nuget\\packages\\closedxml.parser\\1.2.0\\closedxml.parser.1.2.0.nupkg.sha512",

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+ee2f8d55b49539b7ad0fe51e54bde18244141e72")]
[assembly: System.Reflection.AssemblyInformationalVersionAttribute("1.0.0+4f43086a9a8fd68f7a6ab19eaa5cbcec67f8b7cc")]
[assembly: System.Reflection.AssemblyProductAttribute("data")]
[assembly: System.Reflection.AssemblyTitleAttribute("data")]
[assembly: System.Reflection.AssemblyVersionAttribute("1.0.0.0")]

View File

@ -1 +1 @@
812d65a6a93795ea6c4d45d62e06413caf94ead18b4f773eba564b06997606f9
2bcd7df782775669dce88ad8a6d8a6650bea3b850dabd305376a3cb811d615b5

View File

@ -8,6 +8,6 @@ build_property.PlatformNeutralAssembly =
build_property.EnforceExtendedAnalyzerRules =
build_property._SupportedPlatformList = Linux,macOS,Windows
build_property.RootNamespace = data
build_property.ProjectDir = C:\Users\class_student\Source\Repos\presence\data\
build_property.ProjectDir = C:\Users\class_student\source\repos\presence\data\
build_property.EnableComHosting =
build_property.EnableGeneratedComInterfaceComImportInterop =

Binary file not shown.

View File

@ -1 +1 @@
ad0a4479b59a7ef873597a5be47af04d30bf61b8a15ec5b82893655c935f039d
b84345f992d3666be6b0e025aa74afc1a71aca079d190d689c0864402727cdd0

Binary file not shown.

Binary file not shown.

View File

@ -1,17 +1,17 @@
{
"format": 1,
"restore": {
"C:\\Users\\class_student\\Source\\Repos\\presence\\data\\data.csproj": {}
"C:\\Users\\class_student\\source\\repos\\presence\\data\\data.csproj": {}
},
"projects": {
"C:\\Users\\class_student\\Source\\Repos\\presence\\data\\data.csproj": {
"C:\\Users\\class_student\\source\\repos\\presence\\data\\data.csproj": {
"version": "1.0.0",
"restore": {
"projectUniqueName": "C:\\Users\\class_student\\Source\\Repos\\presence\\data\\data.csproj",
"projectUniqueName": "C:\\Users\\class_student\\source\\repos\\presence\\data\\data.csproj",
"projectName": "data",
"projectPath": "C:\\Users\\class_student\\Source\\Repos\\presence\\data\\data.csproj",
"projectPath": "C:\\Users\\class_student\\source\\repos\\presence\\data\\data.csproj",
"packagesPath": "C:\\Users\\class_student\\.nuget\\packages\\",
"outputPath": "C:\\Users\\class_student\\Source\\Repos\\presence\\data\\obj\\",
"outputPath": "C:\\Users\\class_student\\source\\repos\\presence\\data\\obj\\",
"projectStyle": "PackageReference",
"fallbackFolders": [
"C:\\Program Files (x86)\\Microsoft Visual Studio\\Shared\\NuGetPackages"

View File

@ -1,8 +1,8 @@
{
"version": 2,
"dgSpecHash": "dBPobGZbW4jKftpopDdOdvwpbzROWoiPzYBMGL/hXvUgdi/u/sEl0RkoQlrjuHoJDOWHTVpRo8RBVk4zjt8Z3g==",
"dgSpecHash": "dq+xJQNSo82BcvI1YOEsRM5SyN3J419X1oAn1yZywg6ptvxskzy0YvsVYIchdWZwskiwWAGbewHiRF0FFD64Gg==",
"success": true,
"projectFilePath": "C:\\Users\\class_student\\Source\\Repos\\presence\\data\\data.csproj",
"projectFilePath": "C:\\Users\\class_student\\source\\repos\\presence\\data\\data.csproj",
"expectedPackageFiles": [
"C:\\Users\\class_student\\.nuget\\packages\\humanizer.core\\2.14.1\\humanizer.core.2.14.1.nupkg.sha512",
"C:\\Users\\class_student\\.nuget\\packages\\microsoft.bcl.asyncinterfaces\\6.0.0\\microsoft.bcl.asyncinterfaces.6.0.0.nupkg.sha512",

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+ee2f8d55b49539b7ad0fe51e54bde18244141e72")]
[assembly: System.Reflection.AssemblyInformationalVersionAttribute("1.0.0+4f43086a9a8fd68f7a6ab19eaa5cbcec67f8b7cc")]
[assembly: System.Reflection.AssemblyProductAttribute("domain")]
[assembly: System.Reflection.AssemblyTitleAttribute("domain")]
[assembly: System.Reflection.AssemblyVersionAttribute("1.0.0.0")]

View File

@ -1 +1 @@
e79a5d796dd7c6ab702df2aa76dc0e55acfc0dd45c7b322cb1fd09f4a2116785
2bb2a6bdd0bb2ee3cfb8c44871c92eaf186a15ba5107b5ceaf825c47659992a2

View File

@ -8,6 +8,6 @@ build_property.PlatformNeutralAssembly =
build_property.EnforceExtendedAnalyzerRules =
build_property._SupportedPlatformList = Linux,macOS,Windows
build_property.RootNamespace = domain
build_property.ProjectDir = C:\Users\class_student\Source\Repos\presence\domain\
build_property.ProjectDir = C:\Users\class_student\source\repos\presence\domain\
build_property.EnableComHosting =
build_property.EnableGeneratedComInterfaceComImportInterop =

Binary file not shown.

Binary file not shown.

View File

@ -1,17 +1,17 @@
{
"format": 1,
"restore": {
"C:\\Users\\class_student\\Source\\Repos\\presence\\domain\\domain.csproj": {}
"C:\\Users\\class_student\\source\\repos\\presence\\domain\\domain.csproj": {}
},
"projects": {
"C:\\Users\\class_student\\Source\\Repos\\presence\\data\\data.csproj": {
"C:\\Users\\class_student\\source\\repos\\presence\\data\\data.csproj": {
"version": "1.0.0",
"restore": {
"projectUniqueName": "C:\\Users\\class_student\\Source\\Repos\\presence\\data\\data.csproj",
"projectUniqueName": "C:\\Users\\class_student\\source\\repos\\presence\\data\\data.csproj",
"projectName": "data",
"projectPath": "C:\\Users\\class_student\\Source\\Repos\\presence\\data\\data.csproj",
"projectPath": "C:\\Users\\class_student\\source\\repos\\presence\\data\\data.csproj",
"packagesPath": "C:\\Users\\class_student\\.nuget\\packages\\",
"outputPath": "C:\\Users\\class_student\\Source\\Repos\\presence\\data\\obj\\",
"outputPath": "C:\\Users\\class_student\\source\\repos\\presence\\data\\obj\\",
"projectStyle": "PackageReference",
"fallbackFolders": [
"C:\\Program Files (x86)\\Microsoft Visual Studio\\Shared\\NuGetPackages"
@ -84,14 +84,14 @@
}
}
},
"C:\\Users\\class_student\\Source\\Repos\\presence\\domain\\domain.csproj": {
"C:\\Users\\class_student\\source\\repos\\presence\\domain\\domain.csproj": {
"version": "1.0.0",
"restore": {
"projectUniqueName": "C:\\Users\\class_student\\Source\\Repos\\presence\\domain\\domain.csproj",
"projectUniqueName": "C:\\Users\\class_student\\source\\repos\\presence\\domain\\domain.csproj",
"projectName": "domain",
"projectPath": "C:\\Users\\class_student\\Source\\Repos\\presence\\domain\\domain.csproj",
"projectPath": "C:\\Users\\class_student\\source\\repos\\presence\\domain\\domain.csproj",
"packagesPath": "C:\\Users\\class_student\\.nuget\\packages\\",
"outputPath": "C:\\Users\\class_student\\Source\\Repos\\presence\\domain\\obj\\",
"outputPath": "C:\\Users\\class_student\\source\\repos\\presence\\domain\\obj\\",
"projectStyle": "PackageReference",
"fallbackFolders": [
"C:\\Program Files (x86)\\Microsoft Visual Studio\\Shared\\NuGetPackages"
@ -112,8 +112,8 @@
"net8.0": {
"targetAlias": "net8.0",
"projectReferences": {
"C:\\Users\\class_student\\Source\\Repos\\presence\\data\\data.csproj": {
"projectPath": "C:\\Users\\class_student\\Source\\Repos\\presence\\data\\data.csproj"
"C:\\Users\\class_student\\source\\repos\\presence\\data\\data.csproj": {
"projectPath": "C:\\Users\\class_student\\source\\repos\\presence\\data\\data.csproj"
}
}
}

View File

@ -1025,11 +1025,11 @@
"project": {
"version": "1.0.0",
"restore": {
"projectUniqueName": "C:\\Users\\class_student\\Source\\Repos\\presence\\domain\\domain.csproj",
"projectUniqueName": "C:\\Users\\class_student\\source\\repos\\presence\\domain\\domain.csproj",
"projectName": "domain",
"projectPath": "C:\\Users\\class_student\\Source\\Repos\\presence\\domain\\domain.csproj",
"projectPath": "C:\\Users\\class_student\\source\\repos\\presence\\domain\\domain.csproj",
"packagesPath": "C:\\Users\\class_student\\.nuget\\packages\\",
"outputPath": "C:\\Users\\class_student\\Source\\Repos\\presence\\domain\\obj\\",
"outputPath": "C:\\Users\\class_student\\source\\repos\\presence\\domain\\obj\\",
"projectStyle": "PackageReference",
"fallbackFolders": [
"C:\\Program Files (x86)\\Microsoft Visual Studio\\Shared\\NuGetPackages"
@ -1050,8 +1050,8 @@
"net8.0": {
"targetAlias": "net8.0",
"projectReferences": {
"C:\\Users\\class_student\\Source\\Repos\\presence\\data\\data.csproj": {
"projectPath": "C:\\Users\\class_student\\Source\\Repos\\presence\\data\\data.csproj"
"C:\\Users\\class_student\\source\\repos\\presence\\data\\data.csproj": {
"projectPath": "C:\\Users\\class_student\\source\\repos\\presence\\data\\data.csproj"
}
}
}

View File

@ -1,8 +1,8 @@
{
"version": 2,
"dgSpecHash": "huTb6uPnY4Oy6459ePz3VJW91KIPhP3IHAaAETusVV7WDseLI/x2QkHrEeLo/1s2QMdcVBzKbOVfAT7f8Vi3Cw==",
"dgSpecHash": "lJTJ14wBwjXFnaVaxoabnlDogMX3Sp0lQVlqyaedGyWhAz5YJhifXah8drXyM7t4sf35FH72dxhiyf+6Qi+IXA==",
"success": true,
"projectFilePath": "C:\\Users\\class_student\\Source\\Repos\\presence\\domain\\domain.csproj",
"projectFilePath": "C:\\Users\\class_student\\source\\repos\\presence\\domain\\domain.csproj",
"expectedPackageFiles": [
"C:\\Users\\class_student\\.nuget\\packages\\closedxml\\0.104.1\\closedxml.0.104.1.nupkg.sha512",
"C:\\Users\\class_student\\.nuget\\packages\\closedxml.parser\\1.2.0\\closedxml.parser.1.2.0.nupkg.sha512",

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+ee2f8d55b49539b7ad0fe51e54bde18244141e72")]
[assembly: System.Reflection.AssemblyInformationalVersionAttribute("1.0.0+4f43086a9a8fd68f7a6ab19eaa5cbcec67f8b7cc")]
[assembly: System.Reflection.AssemblyProductAttribute("presence_api")]
[assembly: System.Reflection.AssemblyTitleAttribute("presence_api")]
[assembly: System.Reflection.AssemblyVersionAttribute("1.0.0.0")]

View File

@ -1 +1 @@
38ed424916c6efd80ad40acf59bb21b67c456a0eec76a23eb42a6bd6907469a9
1243f25163bdc64a1b0faedfea91ec0c945112a9d66a810cd75ec40e59cec826

View File

@ -9,11 +9,11 @@ build_property.EnforceExtendedAnalyzerRules =
build_property._SupportedPlatformList = Linux,macOS,Windows
build_property.RootNamespace = presence_api
build_property.RootNamespace = presence_api
build_property.ProjectDir = C:\Users\class_student\Source\Repos\presence\presence_api\
build_property.ProjectDir = C:\Users\class_student\source\repos\presence\presence_api\
build_property.EnableComHosting =
build_property.EnableGeneratedComInterfaceComImportInterop =
build_property.RazorLangVersion = 8.0
build_property.SupportLocalizedComponentNames =
build_property.GenerateRazorMetadataSourceChecksumAttributes =
build_property.MSBuildProjectDirectory = C:\Users\class_student\Source\Repos\presence\presence_api
build_property.MSBuildProjectDirectory = C:\Users\class_student\source\repos\presence\presence_api
build_property._RazorSourceGeneratorDebug =

View File

@ -1,17 +1,17 @@
{
"format": 1,
"restore": {
"C:\\Users\\class_student\\Source\\Repos\\presence\\presence_api\\presence_api.csproj": {}
"C:\\Users\\class_student\\source\\repos\\presence\\presence_api\\presence_api.csproj": {}
},
"projects": {
"C:\\Users\\class_student\\Source\\Repos\\presence\\data\\data.csproj": {
"C:\\Users\\class_student\\source\\repos\\presence\\data\\data.csproj": {
"version": "1.0.0",
"restore": {
"projectUniqueName": "C:\\Users\\class_student\\Source\\Repos\\presence\\data\\data.csproj",
"projectUniqueName": "C:\\Users\\class_student\\source\\repos\\presence\\data\\data.csproj",
"projectName": "data",
"projectPath": "C:\\Users\\class_student\\Source\\Repos\\presence\\data\\data.csproj",
"projectPath": "C:\\Users\\class_student\\source\\repos\\presence\\data\\data.csproj",
"packagesPath": "C:\\Users\\class_student\\.nuget\\packages\\",
"outputPath": "C:\\Users\\class_student\\Source\\Repos\\presence\\data\\obj\\",
"outputPath": "C:\\Users\\class_student\\source\\repos\\presence\\data\\obj\\",
"projectStyle": "PackageReference",
"fallbackFolders": [
"C:\\Program Files (x86)\\Microsoft Visual Studio\\Shared\\NuGetPackages"
@ -84,14 +84,14 @@
}
}
},
"C:\\Users\\class_student\\Source\\Repos\\presence\\domain\\domain.csproj": {
"C:\\Users\\class_student\\source\\repos\\presence\\domain\\domain.csproj": {
"version": "1.0.0",
"restore": {
"projectUniqueName": "C:\\Users\\class_student\\Source\\Repos\\presence\\domain\\domain.csproj",
"projectUniqueName": "C:\\Users\\class_student\\source\\repos\\presence\\domain\\domain.csproj",
"projectName": "domain",
"projectPath": "C:\\Users\\class_student\\Source\\Repos\\presence\\domain\\domain.csproj",
"projectPath": "C:\\Users\\class_student\\source\\repos\\presence\\domain\\domain.csproj",
"packagesPath": "C:\\Users\\class_student\\.nuget\\packages\\",
"outputPath": "C:\\Users\\class_student\\Source\\Repos\\presence\\domain\\obj\\",
"outputPath": "C:\\Users\\class_student\\source\\repos\\presence\\domain\\obj\\",
"projectStyle": "PackageReference",
"fallbackFolders": [
"C:\\Program Files (x86)\\Microsoft Visual Studio\\Shared\\NuGetPackages"
@ -112,8 +112,8 @@
"net8.0": {
"targetAlias": "net8.0",
"projectReferences": {
"C:\\Users\\class_student\\Source\\Repos\\presence\\data\\data.csproj": {
"projectPath": "C:\\Users\\class_student\\Source\\Repos\\presence\\data\\data.csproj"
"C:\\Users\\class_student\\source\\repos\\presence\\data\\data.csproj": {
"projectPath": "C:\\Users\\class_student\\source\\repos\\presence\\data\\data.csproj"
}
}
}
@ -158,14 +158,14 @@
}
}
},
"C:\\Users\\class_student\\Source\\Repos\\presence\\presence_api\\presence_api.csproj": {
"C:\\Users\\class_student\\source\\repos\\presence\\presence_api\\presence_api.csproj": {
"version": "1.0.0",
"restore": {
"projectUniqueName": "C:\\Users\\class_student\\Source\\Repos\\presence\\presence_api\\presence_api.csproj",
"projectUniqueName": "C:\\Users\\class_student\\source\\repos\\presence\\presence_api\\presence_api.csproj",
"projectName": "presence_api",
"projectPath": "C:\\Users\\class_student\\Source\\Repos\\presence\\presence_api\\presence_api.csproj",
"projectPath": "C:\\Users\\class_student\\source\\repos\\presence\\presence_api\\presence_api.csproj",
"packagesPath": "C:\\Users\\class_student\\.nuget\\packages\\",
"outputPath": "C:\\Users\\class_student\\Source\\Repos\\presence\\presence_api\\obj\\",
"outputPath": "C:\\Users\\class_student\\source\\repos\\presence\\presence_api\\obj\\",
"projectStyle": "PackageReference",
"fallbackFolders": [
"C:\\Program Files (x86)\\Microsoft Visual Studio\\Shared\\NuGetPackages"
@ -186,8 +186,8 @@
"net8.0": {
"targetAlias": "net8.0",
"projectReferences": {
"C:\\Users\\class_student\\Source\\Repos\\presence\\domain\\domain.csproj": {
"projectPath": "C:\\Users\\class_student\\Source\\Repos\\presence\\domain\\domain.csproj"
"C:\\Users\\class_student\\source\\repos\\presence\\domain\\domain.csproj": {
"projectPath": "C:\\Users\\class_student\\source\\repos\\presence\\domain\\domain.csproj"
}
}
}

View File

@ -1492,11 +1492,11 @@
"project": {
"version": "1.0.0",
"restore": {
"projectUniqueName": "C:\\Users\\class_student\\Source\\Repos\\presence\\presence_api\\presence_api.csproj",
"projectUniqueName": "C:\\Users\\class_student\\source\\repos\\presence\\presence_api\\presence_api.csproj",
"projectName": "presence_api",
"projectPath": "C:\\Users\\class_student\\Source\\Repos\\presence\\presence_api\\presence_api.csproj",
"projectPath": "C:\\Users\\class_student\\source\\repos\\presence\\presence_api\\presence_api.csproj",
"packagesPath": "C:\\Users\\class_student\\.nuget\\packages\\",
"outputPath": "C:\\Users\\class_student\\Source\\Repos\\presence\\presence_api\\obj\\",
"outputPath": "C:\\Users\\class_student\\source\\repos\\presence\\presence_api\\obj\\",
"projectStyle": "PackageReference",
"fallbackFolders": [
"C:\\Program Files (x86)\\Microsoft Visual Studio\\Shared\\NuGetPackages"
@ -1517,8 +1517,8 @@
"net8.0": {
"targetAlias": "net8.0",
"projectReferences": {
"C:\\Users\\class_student\\Source\\Repos\\presence\\domain\\domain.csproj": {
"projectPath": "C:\\Users\\class_student\\Source\\Repos\\presence\\domain\\domain.csproj"
"C:\\Users\\class_student\\source\\repos\\presence\\domain\\domain.csproj": {
"projectPath": "C:\\Users\\class_student\\source\\repos\\presence\\domain\\domain.csproj"
}
}
}

View File

@ -1,8 +1,8 @@
{
"version": 2,
"dgSpecHash": "Wpv0GgUqF9c3N+U/qXq9dDp6NW5DUXDhQiVLWU04sXnDJSo9hDp27+WDSWo9VMpqc8dm6ZwhSi9it6pDrxY7Cw==",
"dgSpecHash": "ikXvASXc/Rkexe7ERiMNgD/DommsZr1j88s5EJUieLBAudeu/FD9X4LPlK0fHIJzxjo0vjxrOMWzCnQeUxzzbA==",
"success": true,
"projectFilePath": "C:\\Users\\class_student\\Source\\Repos\\presence\\presence_api\\presence_api.csproj",
"projectFilePath": "C:\\Users\\class_student\\source\\repos\\presence\\presence_api\\presence_api.csproj",
"expectedPackageFiles": [
"C:\\Users\\class_student\\.nuget\\packages\\closedxml\\0.104.1\\closedxml.0.104.1.nupkg.sha512",
"C:\\Users\\class_student\\.nuget\\packages\\closedxml.parser\\1.2.0\\closedxml.parser.1.2.0.nupkg.sha512",

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+ee2f8d55b49539b7ad0fe51e54bde18244141e72")]
[assembly: System.Reflection.AssemblyInformationalVersionAttribute("1.0.0+4f43086a9a8fd68f7a6ab19eaa5cbcec67f8b7cc")]
[assembly: System.Reflection.AssemblyProductAttribute("ui")]
[assembly: System.Reflection.AssemblyTitleAttribute("ui")]
[assembly: System.Reflection.AssemblyVersionAttribute("1.0.0.0")]

View File

@ -1 +1 @@
406b2abd05e2593ccbbcd00930379938050bf98ce1faa12346cd367e8243e2b8
13e3dfc81debd1ebc31d2cea34dd42ea7de9c82e78a7d33652f6d9ae5a01754b

View File

@ -8,6 +8,6 @@ build_property.PlatformNeutralAssembly =
build_property.EnforceExtendedAnalyzerRules =
build_property._SupportedPlatformList = Linux,macOS,Windows
build_property.RootNamespace = ui
build_property.ProjectDir = C:\Users\class_student\Source\Repos\presence\ui\
build_property.ProjectDir = C:\Users\class_student\source\repos\presence\ui\
build_property.EnableComHosting =
build_property.EnableGeneratedComInterfaceComImportInterop =

Binary file not shown.

View File

@ -1043,11 +1043,11 @@
"project": {
"version": "1.0.0",
"restore": {
"projectUniqueName": "C:\\Users\\class_student\\Source\\Repos\\presence\\ui\\ui.csproj",
"projectUniqueName": "C:\\Users\\class_student\\source\\repos\\presence\\ui\\ui.csproj",
"projectName": "ui",
"projectPath": "C:\\Users\\class_student\\Source\\Repos\\presence\\ui\\ui.csproj",
"projectPath": "C:\\Users\\class_student\\source\\repos\\presence\\ui\\ui.csproj",
"packagesPath": "C:\\Users\\class_student\\.nuget\\packages\\",
"outputPath": "C:\\Users\\class_student\\Source\\Repos\\presence\\ui\\obj\\",
"outputPath": "C:\\Users\\class_student\\source\\repos\\presence\\ui\\obj\\",
"projectStyle": "PackageReference",
"fallbackFolders": [
"C:\\Program Files (x86)\\Microsoft Visual Studio\\Shared\\NuGetPackages"
@ -1068,8 +1068,8 @@
"net8.0": {
"targetAlias": "net8.0",
"projectReferences": {
"C:\\Users\\class_student\\Source\\Repos\\presence\\domain\\domain.csproj": {
"projectPath": "C:\\Users\\class_student\\Source\\Repos\\presence\\domain\\domain.csproj"
"C:\\Users\\class_student\\source\\repos\\presence\\domain\\domain.csproj": {
"projectPath": "C:\\Users\\class_student\\source\\repos\\presence\\domain\\domain.csproj"
}
}
}

View File

@ -1,8 +1,8 @@
{
"version": 2,
"dgSpecHash": "UDtkAdRAUkdfKYnXSV9thbENks9XnkdqJxQzV8WJrz/dXRAhXe29BSoGinF9t/xt0yLNRfkZq+UZ5giwkN+pjQ==",
"dgSpecHash": "dNHY0PWkVJ9yqh4r350Pq7u6mnT7d9z4cJfYez8zScnFgIivUdw2P/yHSkjOeyGZ9zBEiinHHbXHbVE6f2TWUw==",
"success": true,
"projectFilePath": "C:\\Users\\class_student\\Source\\Repos\\presence\\ui\\ui.csproj",
"projectFilePath": "C:\\Users\\class_student\\source\\repos\\presence\\ui\\ui.csproj",
"expectedPackageFiles": [
"C:\\Users\\class_student\\.nuget\\packages\\closedxml\\0.104.1\\closedxml.0.104.1.nupkg.sha512",
"C:\\Users\\class_student\\.nuget\\packages\\closedxml.parser\\1.2.0\\closedxml.parser.1.2.0.nupkg.sha512",

View File

@ -1,17 +1,17 @@
{
"format": 1,
"restore": {
"C:\\Users\\class_student\\Source\\Repos\\presence\\ui\\ui.csproj": {}
"C:\\Users\\class_student\\source\\repos\\presence\\ui\\ui.csproj": {}
},
"projects": {
"C:\\Users\\class_student\\Source\\Repos\\presence\\data\\data.csproj": {
"C:\\Users\\class_student\\source\\repos\\presence\\data\\data.csproj": {
"version": "1.0.0",
"restore": {
"projectUniqueName": "C:\\Users\\class_student\\Source\\Repos\\presence\\data\\data.csproj",
"projectUniqueName": "C:\\Users\\class_student\\source\\repos\\presence\\data\\data.csproj",
"projectName": "data",
"projectPath": "C:\\Users\\class_student\\Source\\Repos\\presence\\data\\data.csproj",
"projectPath": "C:\\Users\\class_student\\source\\repos\\presence\\data\\data.csproj",
"packagesPath": "C:\\Users\\class_student\\.nuget\\packages\\",
"outputPath": "C:\\Users\\class_student\\Source\\Repos\\presence\\data\\obj\\",
"outputPath": "C:\\Users\\class_student\\source\\repos\\presence\\data\\obj\\",
"projectStyle": "PackageReference",
"fallbackFolders": [
"C:\\Program Files (x86)\\Microsoft Visual Studio\\Shared\\NuGetPackages"
@ -84,14 +84,14 @@
}
}
},
"C:\\Users\\class_student\\Source\\Repos\\presence\\domain\\domain.csproj": {
"C:\\Users\\class_student\\source\\repos\\presence\\domain\\domain.csproj": {
"version": "1.0.0",
"restore": {
"projectUniqueName": "C:\\Users\\class_student\\Source\\Repos\\presence\\domain\\domain.csproj",
"projectUniqueName": "C:\\Users\\class_student\\source\\repos\\presence\\domain\\domain.csproj",
"projectName": "domain",
"projectPath": "C:\\Users\\class_student\\Source\\Repos\\presence\\domain\\domain.csproj",
"projectPath": "C:\\Users\\class_student\\source\\repos\\presence\\domain\\domain.csproj",
"packagesPath": "C:\\Users\\class_student\\.nuget\\packages\\",
"outputPath": "C:\\Users\\class_student\\Source\\Repos\\presence\\domain\\obj\\",
"outputPath": "C:\\Users\\class_student\\source\\repos\\presence\\domain\\obj\\",
"projectStyle": "PackageReference",
"fallbackFolders": [
"C:\\Program Files (x86)\\Microsoft Visual Studio\\Shared\\NuGetPackages"
@ -112,8 +112,8 @@
"net8.0": {
"targetAlias": "net8.0",
"projectReferences": {
"C:\\Users\\class_student\\Source\\Repos\\presence\\data\\data.csproj": {
"projectPath": "C:\\Users\\class_student\\Source\\Repos\\presence\\data\\data.csproj"
"C:\\Users\\class_student\\source\\repos\\presence\\data\\data.csproj": {
"projectPath": "C:\\Users\\class_student\\source\\repos\\presence\\data\\data.csproj"
}
}
}
@ -158,14 +158,14 @@
}
}
},
"C:\\Users\\class_student\\Source\\Repos\\presence\\ui\\ui.csproj": {
"C:\\Users\\class_student\\source\\repos\\presence\\ui\\ui.csproj": {
"version": "1.0.0",
"restore": {
"projectUniqueName": "C:\\Users\\class_student\\Source\\Repos\\presence\\ui\\ui.csproj",
"projectUniqueName": "C:\\Users\\class_student\\source\\repos\\presence\\ui\\ui.csproj",
"projectName": "ui",
"projectPath": "C:\\Users\\class_student\\Source\\Repos\\presence\\ui\\ui.csproj",
"projectPath": "C:\\Users\\class_student\\source\\repos\\presence\\ui\\ui.csproj",
"packagesPath": "C:\\Users\\class_student\\.nuget\\packages\\",
"outputPath": "C:\\Users\\class_student\\Source\\Repos\\presence\\ui\\obj\\",
"outputPath": "C:\\Users\\class_student\\source\\repos\\presence\\ui\\obj\\",
"projectStyle": "PackageReference",
"fallbackFolders": [
"C:\\Program Files (x86)\\Microsoft Visual Studio\\Shared\\NuGetPackages"
@ -186,8 +186,8 @@
"net8.0": {
"targetAlias": "net8.0",
"projectReferences": {
"C:\\Users\\class_student\\Source\\Repos\\presence\\domain\\domain.csproj": {
"projectPath": "C:\\Users\\class_student\\Source\\Repos\\presence\\domain\\domain.csproj"
"C:\\Users\\class_student\\source\\repos\\presence\\domain\\domain.csproj": {
"projectPath": "C:\\Users\\class_student\\source\\repos\\presence\\domain\\domain.csproj"
}
}
}