finished basics
This commit is contained in:
parent
f3da4b9c3e
commit
fcffbf35f2
Dummy
App.xamlApp.xaml.csAssemblyInfo.csDummy.csprojDummy.csproj.userMainWindow.xamlMainWindow.xaml.cs
Properties
obj
Debug/net8.0-windows
.NETCoreApp,Version=v8.0.AssemblyAttributes.csApp.g.i.csDummy.AssemblyInfoInputs.cacheDummy.assets.cacheDummy.designer.deps.jsonDummy.designer.runtimeconfig.jsonDummy_MarkupCompile.i.cacheMainWindow.g.i.cs
Dummy.csproj.nuget.dgspec.jsonDummy.csproj.nuget.g.propsDummy.csproj.nuget.g.targetsproject.assets.jsonproject.nuget.cacheYapper
.vs
ProjectEvaluation
yapper.metadata.v7.binyapper.metadata.v9.binyapper.projects.v7.binyapper.projects.v9.binyapper.strings.v9.bin
Yapper
CopilotIndices/17.13.431.34963
DesignTimeBuild
FileContentIndex
094465de-7908-41da-9989-bb4a2192e467.vsidx18d7a343-b38a-4728-8c94-44b88c60d09a.vsidx28c9c752-4329-49f2-928e-d70e92b5d701.vsidx33c97f93-04d7-4a01-9046-cb294cca1de0.vsidx4b209063-fa08-4b79-8300-08cdb059425a.vsidx5812d52f-a869-4971-87dc-b60ebf711e29.vsidx
v17
MVVM
Net
Yapper.slnLaunch.userbin/Debug/net8.0-windows
obj
Debug/net8.0-windows
App.g.csApp.g.i.csGeneratedInternalTypeHelper.g.csGeneratedInternalTypeHelper.g.i.cs
YapperClient.csproj.nuget.dgspec.jsonYapperClient.csproj.nuget.g.propsproject.assets.jsonproject.nuget.cacheMVVM/View
YapperClient.AssemblyInfo.csYapperClient.AssemblyInfoInputs.cacheYapperClient.GeneratedMSBuildEditorConfig.editorconfigYapperClient.assets.cacheYapperClient.csproj.CoreCompileInputs.cacheYapperClient.designer.runtimeconfig.jsonYapperClient.dllYapperClient.g.resourcesYapperClient.genruntimeconfig.cacheYapperClient.pdbYapperClient_MarkupCompile.cacheYapperClient_MarkupCompile.i.cacheYapperClient_p5e5q2zm_wpftmp.AssemblyInfo.csYapperClient_p5e5q2zm_wpftmp.AssemblyInfoInputs.cacheYapperClient_p5e5q2zm_wpftmp.GeneratedMSBuildEditorConfig.editorconfigYapperClient_p5e5q2zm_wpftmp.GlobalUsings.g.csYapperClient_p5e5q2zm_wpftmp.assets.cacheYapperClient_p5e5q2zm_wpftmp.csproj.BuildWithSkipAnalyzersYapperClient_u0syn0j2_wpftmp.AssemblyInfo.csYapperClient_u0syn0j2_wpftmp.AssemblyInfoInputs.cacheYapperClient_u0syn0j2_wpftmp.GeneratedMSBuildEditorConfig.editorconfigYapperClient_u0syn0j2_wpftmp.GlobalUsings.g.csYapperClient_u0syn0j2_wpftmp.assets.cacheYapperClient_u0syn0j2_wpftmp.csproj.BuildWithSkipAnalyzersapphost.exeref
refint
YapperServer
|
@ -1,9 +0,0 @@
|
|||
<Application x:Class="Dummy.App"
|
||||
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
|
||||
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
|
||||
xmlns:local="clr-namespace:Dummy"
|
||||
StartupUri="MainWindow.xaml">
|
||||
<Application.Resources>
|
||||
|
||||
</Application.Resources>
|
||||
</Application>
|
|
@ -1,14 +0,0 @@
|
|||
using System.Configuration;
|
||||
using System.Data;
|
||||
using System.Windows;
|
||||
|
||||
namespace Dummy
|
||||
{
|
||||
/// <summary>
|
||||
/// Interaction logic for App.xaml
|
||||
/// </summary>
|
||||
public partial class App : Application
|
||||
{
|
||||
}
|
||||
|
||||
}
|
|
@ -1,10 +0,0 @@
|
|||
using System.Windows;
|
||||
|
||||
[assembly: ThemeInfo(
|
||||
ResourceDictionaryLocation.None, //where theme specific resource dictionaries are located
|
||||
//(used if a resource is not found in the page,
|
||||
// or application resource dictionaries)
|
||||
ResourceDictionaryLocation.SourceAssembly //where the generic resource dictionary is located
|
||||
//(used if a resource is not found in the page,
|
||||
// app, or any theme specific resource dictionaries)
|
||||
)]
|
|
@ -1,11 +0,0 @@
|
|||
<Project Sdk="Microsoft.NET.Sdk">
|
||||
|
||||
<PropertyGroup>
|
||||
<OutputType>WinExe</OutputType>
|
||||
<TargetFramework>net8.0-windows</TargetFramework>
|
||||
<Nullable>enable</Nullable>
|
||||
<ImplicitUsings>enable</ImplicitUsings>
|
||||
<UseWPF>true</UseWPF>
|
||||
</PropertyGroup>
|
||||
|
||||
</Project>
|
|
@ -1,14 +0,0 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<Project ToolsVersion="Current" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
|
||||
<PropertyGroup />
|
||||
<ItemGroup>
|
||||
<ApplicationDefinition Update="App.xaml">
|
||||
<SubType>Designer</SubType>
|
||||
</ApplicationDefinition>
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<Page Update="MainWindow.xaml">
|
||||
<SubType>Designer</SubType>
|
||||
</Page>
|
||||
</ItemGroup>
|
||||
</Project>
|
|
@ -1,12 +0,0 @@
|
|||
<Window x:Class="Dummy.MainWindow"
|
||||
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
|
||||
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"
|
||||
xmlns:local="clr-namespace:Dummy"
|
||||
mc:Ignorable="d"
|
||||
Title="MainWindow" Height="450" Width="800">
|
||||
<Grid>
|
||||
|
||||
</Grid>
|
||||
</Window>
|
|
@ -1,24 +0,0 @@
|
|||
using System.Text;
|
||||
using System.Windows;
|
||||
using System.Windows.Controls;
|
||||
using System.Windows.Data;
|
||||
using System.Windows.Documents;
|
||||
using System.Windows.Input;
|
||||
using System.Windows.Media;
|
||||
using System.Windows.Media.Imaging;
|
||||
using System.Windows.Navigation;
|
||||
using System.Windows.Shapes;
|
||||
|
||||
namespace Dummy
|
||||
{
|
||||
/// <summary>
|
||||
/// Interaction logic for MainWindow.xaml
|
||||
/// </summary>
|
||||
public partial class MainWindow : Window
|
||||
{
|
||||
public MainWindow()
|
||||
{
|
||||
InitializeComponent();
|
||||
}
|
||||
}
|
||||
}
|
|
@ -1,8 +0,0 @@
|
|||
{
|
||||
"profiles": {
|
||||
"Dummy": {
|
||||
"commandName": "Project",
|
||||
"workingDirectory": "E:\\Házi\\Programozás\\YapperDesktop\\Yapper\\bin\\Debug\\net8.0-windows"
|
||||
}
|
||||
}
|
||||
}
|
|
@ -1,4 +0,0 @@
|
|||
// <autogenerated />
|
||||
using System;
|
||||
using System.Reflection;
|
||||
[assembly: global::System.Runtime.Versioning.TargetFrameworkAttribute(".NETCoreApp,Version=v8.0", FrameworkDisplayName = ".NET 8.0")]
|
|
@ -1,71 +0,0 @@
|
|||
#pragma checksum "..\..\..\App.xaml" "{ff1816ec-aa5e-4d10-87f7-6f4963833460}" "192C3070CDB2DC775741494BC579C7E92F1A379A"
|
||||
//------------------------------------------------------------------------------
|
||||
// <auto-generated>
|
||||
// This code was generated by a tool.
|
||||
// Runtime Version:4.0.30319.42000
|
||||
//
|
||||
// Changes to this file may cause incorrect behavior and will be lost if
|
||||
// the code is regenerated.
|
||||
// </auto-generated>
|
||||
//------------------------------------------------------------------------------
|
||||
|
||||
using Dummy;
|
||||
using System;
|
||||
using System.Diagnostics;
|
||||
using System.Windows;
|
||||
using System.Windows.Automation;
|
||||
using System.Windows.Controls;
|
||||
using System.Windows.Controls.Primitives;
|
||||
using System.Windows.Controls.Ribbon;
|
||||
using System.Windows.Data;
|
||||
using System.Windows.Documents;
|
||||
using System.Windows.Ink;
|
||||
using System.Windows.Input;
|
||||
using System.Windows.Markup;
|
||||
using System.Windows.Media;
|
||||
using System.Windows.Media.Animation;
|
||||
using System.Windows.Media.Effects;
|
||||
using System.Windows.Media.Imaging;
|
||||
using System.Windows.Media.Media3D;
|
||||
using System.Windows.Media.TextFormatting;
|
||||
using System.Windows.Navigation;
|
||||
using System.Windows.Shapes;
|
||||
using System.Windows.Shell;
|
||||
|
||||
|
||||
namespace Dummy {
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// App
|
||||
/// </summary>
|
||||
public partial class App : System.Windows.Application {
|
||||
|
||||
/// <summary>
|
||||
/// InitializeComponent
|
||||
/// </summary>
|
||||
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
||||
[System.CodeDom.Compiler.GeneratedCodeAttribute("PresentationBuildTasks", "8.0.1.0")]
|
||||
public void InitializeComponent() {
|
||||
|
||||
#line 5 "..\..\..\App.xaml"
|
||||
this.StartupUri = new System.Uri("MainWindow.xaml", System.UriKind.Relative);
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Application Entry Point.
|
||||
/// </summary>
|
||||
[System.STAThreadAttribute()]
|
||||
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
||||
[System.CodeDom.Compiler.GeneratedCodeAttribute("PresentationBuildTasks", "8.0.1.0")]
|
||||
public static void Main() {
|
||||
Dummy.App app = new Dummy.App();
|
||||
app.InitializeComponent();
|
||||
app.Run();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
@ -1 +0,0 @@
|
|||
6412e39b718d75c68aa68a95c81b0b44171c5f168c3c5548e1132f692ce8617c
|
Binary file not shown.
|
@ -1,11 +0,0 @@
|
|||
{
|
||||
"runtimeTarget": {
|
||||
"name": ".NETCoreApp,Version=v8.0",
|
||||
"signature": ""
|
||||
},
|
||||
"compilationOptions": {},
|
||||
"targets": {
|
||||
".NETCoreApp,Version=v8.0": {}
|
||||
},
|
||||
"libraries": {}
|
||||
}
|
|
@ -1,24 +0,0 @@
|
|||
{
|
||||
"runtimeOptions": {
|
||||
"tfm": "net8.0",
|
||||
"frameworks": [
|
||||
{
|
||||
"name": "Microsoft.NETCore.App",
|
||||
"version": "8.0.0"
|
||||
},
|
||||
{
|
||||
"name": "Microsoft.WindowsDesktop.App",
|
||||
"version": "8.0.0"
|
||||
}
|
||||
],
|
||||
"additionalProbingPaths": [
|
||||
"C:\\Users\\Marci\\.dotnet\\store\\|arch|\\|tfm|",
|
||||
"C:\\Users\\Marci\\.nuget\\packages",
|
||||
"C:\\Program Files (x86)\\Microsoft Visual Studio\\Shared\\NuGetPackages"
|
||||
],
|
||||
"configProperties": {
|
||||
"System.Runtime.Serialization.EnableUnsafeBinaryFormatterSerialization": true,
|
||||
"Microsoft.NETCore.DotNetHostPolicy.SetAppPaths": true
|
||||
}
|
||||
}
|
||||
}
|
|
@ -1,20 +0,0 @@
|
|||
Dummy
|
||||
1.0.0.0
|
||||
|
||||
winexe
|
||||
C#
|
||||
.cs
|
||||
E:\Házi\Programozás\YapperDesktop\Dummy\obj\Debug\net8.0-windows\
|
||||
Dummy
|
||||
none
|
||||
false
|
||||
TRACE;DEBUG;NET;NET8_0;NETCOREAPP
|
||||
E:\Házi\Programozás\YapperDesktop\Dummy\App.xaml
|
||||
11407045341
|
||||
|
||||
6-80923165
|
||||
198-294894759
|
||||
MainWindow.xaml;
|
||||
|
||||
False
|
||||
|
|
@ -1,76 +0,0 @@
|
|||
#pragma checksum "..\..\..\MainWindow.xaml" "{ff1816ec-aa5e-4d10-87f7-6f4963833460}" "E6B98B57A5A5ADE452B98E68FFEA51BFEDE78543"
|
||||
//------------------------------------------------------------------------------
|
||||
// <auto-generated>
|
||||
// This code was generated by a tool.
|
||||
// Runtime Version:4.0.30319.42000
|
||||
//
|
||||
// Changes to this file may cause incorrect behavior and will be lost if
|
||||
// the code is regenerated.
|
||||
// </auto-generated>
|
||||
//------------------------------------------------------------------------------
|
||||
|
||||
using Dummy;
|
||||
using System;
|
||||
using System.Diagnostics;
|
||||
using System.Windows;
|
||||
using System.Windows.Automation;
|
||||
using System.Windows.Controls;
|
||||
using System.Windows.Controls.Primitives;
|
||||
using System.Windows.Controls.Ribbon;
|
||||
using System.Windows.Data;
|
||||
using System.Windows.Documents;
|
||||
using System.Windows.Ink;
|
||||
using System.Windows.Input;
|
||||
using System.Windows.Markup;
|
||||
using System.Windows.Media;
|
||||
using System.Windows.Media.Animation;
|
||||
using System.Windows.Media.Effects;
|
||||
using System.Windows.Media.Imaging;
|
||||
using System.Windows.Media.Media3D;
|
||||
using System.Windows.Media.TextFormatting;
|
||||
using System.Windows.Navigation;
|
||||
using System.Windows.Shapes;
|
||||
using System.Windows.Shell;
|
||||
|
||||
|
||||
namespace Dummy {
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// MainWindow
|
||||
/// </summary>
|
||||
public partial class MainWindow : System.Windows.Window, System.Windows.Markup.IComponentConnector {
|
||||
|
||||
private bool _contentLoaded;
|
||||
|
||||
/// <summary>
|
||||
/// InitializeComponent
|
||||
/// </summary>
|
||||
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
||||
[System.CodeDom.Compiler.GeneratedCodeAttribute("PresentationBuildTasks", "8.0.1.0")]
|
||||
public void InitializeComponent() {
|
||||
if (_contentLoaded) {
|
||||
return;
|
||||
}
|
||||
_contentLoaded = true;
|
||||
System.Uri resourceLocater = new System.Uri("/Dummy;V1.0.0.0;component/mainwindow.xaml", System.UriKind.Relative);
|
||||
|
||||
#line 1 "..\..\..\MainWindow.xaml"
|
||||
System.Windows.Application.LoadComponent(this, resourceLocater);
|
||||
|
||||
#line default
|
||||
#line hidden
|
||||
}
|
||||
|
||||
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
||||
[System.CodeDom.Compiler.GeneratedCodeAttribute("PresentationBuildTasks", "8.0.1.0")]
|
||||
[System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)]
|
||||
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Design", "CA1033:InterfaceMethodsShouldBeCallableByChildTypes")]
|
||||
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Maintainability", "CA1502:AvoidExcessiveComplexity")]
|
||||
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Performance", "CA1800:DoNotCastUnnecessarily")]
|
||||
void System.Windows.Markup.IComponentConnector.Connect(int connectionId, object target) {
|
||||
this._contentLoaded = true;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
@ -1,70 +0,0 @@
|
|||
{
|
||||
"format": 1,
|
||||
"restore": {
|
||||
"E:\\Házi\\Programozás\\YapperDesktop\\Dummy\\Dummy.csproj": {}
|
||||
},
|
||||
"projects": {
|
||||
"E:\\Házi\\Programozás\\YapperDesktop\\Dummy\\Dummy.csproj": {
|
||||
"version": "1.0.0",
|
||||
"restore": {
|
||||
"projectUniqueName": "E:\\Házi\\Programozás\\YapperDesktop\\Dummy\\Dummy.csproj",
|
||||
"projectName": "Dummy",
|
||||
"projectPath": "E:\\Házi\\Programozás\\YapperDesktop\\Dummy\\Dummy.csproj",
|
||||
"packagesPath": "C:\\Users\\Marci\\.nuget\\packages\\",
|
||||
"outputPath": "E:\\Házi\\Programozás\\YapperDesktop\\Dummy\\obj\\",
|
||||
"projectStyle": "PackageReference",
|
||||
"fallbackFolders": [
|
||||
"C:\\Program Files (x86)\\Microsoft Visual Studio\\Shared\\NuGetPackages"
|
||||
],
|
||||
"configFilePaths": [
|
||||
"C:\\Users\\Marci\\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-windows"
|
||||
],
|
||||
"sources": {
|
||||
"C:\\Program Files (x86)\\Microsoft SDKs\\NuGetPackages\\": {},
|
||||
"https://api.nuget.org/v3/index.json": {}
|
||||
},
|
||||
"frameworks": {
|
||||
"net8.0-windows7.0": {
|
||||
"targetAlias": "net8.0-windows",
|
||||
"projectReferences": {}
|
||||
}
|
||||
},
|
||||
"warningProperties": {
|
||||
"warnAsError": [
|
||||
"NU1605"
|
||||
]
|
||||
}
|
||||
},
|
||||
"frameworks": {
|
||||
"net8.0-windows7.0": {
|
||||
"targetAlias": "net8.0-windows",
|
||||
"imports": [
|
||||
"net461",
|
||||
"net462",
|
||||
"net47",
|
||||
"net471",
|
||||
"net472",
|
||||
"net48",
|
||||
"net481"
|
||||
],
|
||||
"assetTargetFallback": true,
|
||||
"warn": true,
|
||||
"frameworkReferences": {
|
||||
"Microsoft.NETCore.App": {
|
||||
"privateAssets": "all"
|
||||
},
|
||||
"Microsoft.WindowsDesktop.App.WPF": {
|
||||
"privateAssets": "none"
|
||||
}
|
||||
},
|
||||
"runtimeIdentifierGraphPath": "C:\\Program Files\\dotnet\\sdk\\8.0.101/PortableRuntimeIdentifierGraph.json"
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
|
@ -1,16 +0,0 @@
|
|||
<?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\Marci\.nuget\packages\;C:\Program Files (x86)\Microsoft Visual Studio\Shared\NuGetPackages</NuGetPackageFolders>
|
||||
<NuGetProjectStyle Condition=" '$(NuGetProjectStyle)' == '' ">PackageReference</NuGetProjectStyle>
|
||||
<NuGetToolVersion Condition=" '$(NuGetToolVersion)' == '' ">6.8.0</NuGetToolVersion>
|
||||
</PropertyGroup>
|
||||
<ItemGroup Condition=" '$(ExcludeRestorePackageImports)' != 'true' ">
|
||||
<SourceRoot Include="C:\Users\Marci\.nuget\packages\" />
|
||||
<SourceRoot Include="C:\Program Files (x86)\Microsoft Visual Studio\Shared\NuGetPackages\" />
|
||||
</ItemGroup>
|
||||
</Project>
|
|
@ -1,2 +0,0 @@
|
|||
<?xml version="1.0" encoding="utf-8" standalone="no"?>
|
||||
<Project ToolsVersion="14.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003" />
|
|
@ -1,76 +0,0 @@
|
|||
{
|
||||
"version": 3,
|
||||
"targets": {
|
||||
"net8.0-windows7.0": {}
|
||||
},
|
||||
"libraries": {},
|
||||
"projectFileDependencyGroups": {
|
||||
"net8.0-windows7.0": []
|
||||
},
|
||||
"packageFolders": {
|
||||
"C:\\Users\\Marci\\.nuget\\packages\\": {},
|
||||
"C:\\Program Files (x86)\\Microsoft Visual Studio\\Shared\\NuGetPackages": {}
|
||||
},
|
||||
"project": {
|
||||
"version": "1.0.0",
|
||||
"restore": {
|
||||
"projectUniqueName": "E:\\Házi\\Programozás\\YapperDesktop\\Dummy\\Dummy.csproj",
|
||||
"projectName": "Dummy",
|
||||
"projectPath": "E:\\Házi\\Programozás\\YapperDesktop\\Dummy\\Dummy.csproj",
|
||||
"packagesPath": "C:\\Users\\Marci\\.nuget\\packages\\",
|
||||
"outputPath": "E:\\Házi\\Programozás\\YapperDesktop\\Dummy\\obj\\",
|
||||
"projectStyle": "PackageReference",
|
||||
"fallbackFolders": [
|
||||
"C:\\Program Files (x86)\\Microsoft Visual Studio\\Shared\\NuGetPackages"
|
||||
],
|
||||
"configFilePaths": [
|
||||
"C:\\Users\\Marci\\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-windows"
|
||||
],
|
||||
"sources": {
|
||||
"C:\\Program Files (x86)\\Microsoft SDKs\\NuGetPackages\\": {},
|
||||
"https://api.nuget.org/v3/index.json": {}
|
||||
},
|
||||
"frameworks": {
|
||||
"net8.0-windows7.0": {
|
||||
"targetAlias": "net8.0-windows",
|
||||
"projectReferences": {}
|
||||
}
|
||||
},
|
||||
"warningProperties": {
|
||||
"warnAsError": [
|
||||
"NU1605"
|
||||
]
|
||||
}
|
||||
},
|
||||
"frameworks": {
|
||||
"net8.0-windows7.0": {
|
||||
"targetAlias": "net8.0-windows",
|
||||
"imports": [
|
||||
"net461",
|
||||
"net462",
|
||||
"net47",
|
||||
"net471",
|
||||
"net472",
|
||||
"net48",
|
||||
"net481"
|
||||
],
|
||||
"assetTargetFallback": true,
|
||||
"warn": true,
|
||||
"frameworkReferences": {
|
||||
"Microsoft.NETCore.App": {
|
||||
"privateAssets": "all"
|
||||
},
|
||||
"Microsoft.WindowsDesktop.App.WPF": {
|
||||
"privateAssets": "none"
|
||||
}
|
||||
},
|
||||
"runtimeIdentifierGraphPath": "C:\\Program Files\\dotnet\\sdk\\8.0.101/PortableRuntimeIdentifierGraph.json"
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
|
@ -1,8 +0,0 @@
|
|||
{
|
||||
"version": 2,
|
||||
"dgSpecHash": "yswIAQeG+AF5XyMYJnV5V7sc8IUwGq4wHjzmga4zvnc63zNoUYdxLyaxHbFo+ERmATzRHUKYBsWQhmzufHxiEQ==",
|
||||
"success": true,
|
||||
"projectFilePath": "E:\\Házi\\Programozás\\YapperDesktop\\Dummy\\Dummy.csproj",
|
||||
"expectedPackageFiles": [],
|
||||
"logs": []
|
||||
}
|
Binary file not shown.
BIN
Yapper/.vs/ProjectEvaluation/yapper.metadata.v9.bin
Normal file
BIN
Yapper/.vs/ProjectEvaluation/yapper.metadata.v9.bin
Normal file
Binary file not shown.
Binary file not shown.
BIN
Yapper/.vs/ProjectEvaluation/yapper.projects.v9.bin
Normal file
BIN
Yapper/.vs/ProjectEvaluation/yapper.projects.v9.bin
Normal file
Binary file not shown.
BIN
Yapper/.vs/ProjectEvaluation/yapper.strings.v9.bin
Normal file
BIN
Yapper/.vs/ProjectEvaluation/yapper.strings.v9.bin
Normal file
Binary file not shown.
BIN
Yapper/.vs/Yapper/CopilotIndices/17.13.431.34963/CodeChunks.db
Normal file
BIN
Yapper/.vs/Yapper/CopilotIndices/17.13.431.34963/CodeChunks.db
Normal file
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
149
Yapper/.vs/Yapper/v17/DocumentLayout.backup.json
Normal file
149
Yapper/.vs/Yapper/v17/DocumentLayout.backup.json
Normal file
|
@ -0,0 +1,149 @@
|
|||
{
|
||||
"Version": 1,
|
||||
"WorkspaceRootPath": "E:\\H\u00E1zi\\Programoz\u00E1s\\YapperDesktop\\Yapper\\",
|
||||
"Documents": [
|
||||
{
|
||||
"AbsoluteMoniker": "D:0:0:{1F45E8EA-2C22-4979-A7FF-370B198A5E51}|..\\YapperServer\\YapperServer.csproj|e:\\h\u00E1zi\\programoz\u00E1s\\yapperdesktop\\yapperserver\\client.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}"
|
||||
},
|
||||
{
|
||||
"AbsoluteMoniker": "D:0:0:{3BD0EBD6-C0D2-421C-950A-65495691BBB2}|YapperClient.csproj|e:\\h\u00E1zi\\programoz\u00E1s\\yapperdesktop\\yapper\\mvvm\\viewmodel\\mainviewmodel.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}",
|
||||
"RelativeMoniker": "D:0:0:{3BD0EBD6-C0D2-421C-950A-65495691BBB2}|YapperClient.csproj|solutionrelative:mvvm\\viewmodel\\mainviewmodel.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}"
|
||||
},
|
||||
{
|
||||
"AbsoluteMoniker": "D:0:0:{3BD0EBD6-C0D2-421C-950A-65495691BBB2}|YapperClient.csproj|e:\\h\u00E1zi\\programoz\u00E1s\\yapperdesktop\\yapper\\net\\server.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}",
|
||||
"RelativeMoniker": "D:0:0:{3BD0EBD6-C0D2-421C-950A-65495691BBB2}|YapperClient.csproj|solutionrelative:net\\server.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}"
|
||||
},
|
||||
{
|
||||
"AbsoluteMoniker": "D:0:0:{3BD0EBD6-C0D2-421C-950A-65495691BBB2}|YapperClient.csproj|e:\\h\u00E1zi\\programoz\u00E1s\\yapperdesktop\\yapper\\mvvm\\view\\mainwindow.xaml||{F11ACC28-31D1-4C80-A34B-F4E09D3D753C}",
|
||||
"RelativeMoniker": "D:0:0:{3BD0EBD6-C0D2-421C-950A-65495691BBB2}|YapperClient.csproj|solutionrelative:mvvm\\view\\mainwindow.xaml||{F11ACC28-31D1-4C80-A34B-F4E09D3D753C}"
|
||||
},
|
||||
{
|
||||
"AbsoluteMoniker": "D:0:0:{1F45E8EA-2C22-4979-A7FF-370B198A5E51}|..\\YapperServer\\YapperServer.csproj|e:\\h\u00E1zi\\programoz\u00E1s\\yapperdesktop\\yapperserver\\program.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}"
|
||||
},
|
||||
{
|
||||
"AbsoluteMoniker": "D:0:0:{3BD0EBD6-C0D2-421C-950A-65495691BBB2}|YapperClient.csproj|e:\\h\u00E1zi\\programoz\u00E1s\\yapperdesktop\\yapper\\mvvm\\model\\usermodel.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}",
|
||||
"RelativeMoniker": "D:0:0:{3BD0EBD6-C0D2-421C-950A-65495691BBB2}|YapperClient.csproj|solutionrelative:mvvm\\model\\usermodel.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}"
|
||||
},
|
||||
{
|
||||
"AbsoluteMoniker": "D:0:0:{1F45E8EA-2C22-4979-A7FF-370B198A5E51}|..\\YapperServer\\YapperServer.csproj|e:\\h\u00E1zi\\programoz\u00E1s\\yapperdesktop\\yapperserver\\net\\io\\packetbuilder.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}"
|
||||
},
|
||||
{
|
||||
"AbsoluteMoniker": "D:0:0:{3BD0EBD6-C0D2-421C-950A-65495691BBB2}|YapperClient.csproj|e:\\h\u00E1zi\\programoz\u00E1s\\yapperdesktop\\yapper\\net\\io\\packetreader.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}",
|
||||
"RelativeMoniker": "D:0:0:{3BD0EBD6-C0D2-421C-950A-65495691BBB2}|YapperClient.csproj|solutionrelative:net\\io\\packetreader.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}"
|
||||
}
|
||||
],
|
||||
"DocumentGroupContainers": [
|
||||
{
|
||||
"Orientation": 0,
|
||||
"VerticalTabListWidth": 256,
|
||||
"DocumentGroups": [
|
||||
{
|
||||
"DockedWidth": 200,
|
||||
"SelectedChildIndex": 0,
|
||||
"Children": [
|
||||
{
|
||||
"$type": "Document",
|
||||
"DocumentIndex": 0,
|
||||
"Title": "Client.cs",
|
||||
"DocumentMoniker": "E:\\H\u00E1zi\\Programoz\u00E1s\\YapperDesktop\\YapperServer\\Client.cs",
|
||||
"RelativeDocumentMoniker": "..\\YapperServer\\Client.cs",
|
||||
"ToolTip": "E:\\H\u00E1zi\\Programoz\u00E1s\\YapperDesktop\\YapperServer\\Client.cs",
|
||||
"RelativeToolTip": "..\\YapperServer\\Client.cs",
|
||||
"ViewState": "AgIAAAsAAAAAAAAAAAAQwC0AAAAiAAAAAAAAAA==",
|
||||
"Icon": "ae27a6b0-e345-4288-96df-5eaf394ee369.000738|",
|
||||
"WhenOpened": "2025-02-24T18:29:15.889Z",
|
||||
"EditorCaption": ""
|
||||
},
|
||||
{
|
||||
"$type": "Document",
|
||||
"DocumentIndex": 6,
|
||||
"Title": "PacketBuilder.cs",
|
||||
"DocumentMoniker": "E:\\H\u00E1zi\\Programoz\u00E1s\\YapperDesktop\\YapperServer\\Net\\IO\\PacketBuilder.cs",
|
||||
"RelativeDocumentMoniker": "..\\YapperServer\\Net\\IO\\PacketBuilder.cs",
|
||||
"ToolTip": "E:\\H\u00E1zi\\Programoz\u00E1s\\YapperDesktop\\YapperServer\\Net\\IO\\PacketBuilder.cs",
|
||||
"RelativeToolTip": "..\\YapperServer\\Net\\IO\\PacketBuilder.cs",
|
||||
"ViewState": "AQIAAAAAAAAAAAAAAAAAwAcAAAAdAAAA",
|
||||
"Icon": "ae27a6b0-e345-4288-96df-5eaf394ee369.000738|",
|
||||
"WhenOpened": "2025-02-23T18:19:21.633Z"
|
||||
},
|
||||
{
|
||||
"$type": "Document",
|
||||
"DocumentIndex": 1,
|
||||
"Title": "MainViewModel.cs",
|
||||
"DocumentMoniker": "E:\\H\u00E1zi\\Programoz\u00E1s\\YapperDesktop\\Yapper\\MVVM\\ViewModel\\MainViewModel.cs",
|
||||
"RelativeDocumentMoniker": "MVVM\\ViewModel\\MainViewModel.cs",
|
||||
"ToolTip": "E:\\H\u00E1zi\\Programoz\u00E1s\\YapperDesktop\\Yapper\\MVVM\\ViewModel\\MainViewModel.cs",
|
||||
"RelativeToolTip": "MVVM\\ViewModel\\MainViewModel.cs",
|
||||
"ViewState": "AgIAAAYAAAAAAAAAAAAuwCoAAABMAAAAAAAAAA==",
|
||||
"Icon": "ae27a6b0-e345-4288-96df-5eaf394ee369.000738|",
|
||||
"WhenOpened": "2025-02-23T17:45:28.532Z",
|
||||
"EditorCaption": ""
|
||||
},
|
||||
{
|
||||
"$type": "Document",
|
||||
"DocumentIndex": 3,
|
||||
"Title": "MainWindow.xaml",
|
||||
"DocumentMoniker": "E:\\H\u00E1zi\\Programoz\u00E1s\\YapperDesktop\\Yapper\\MVVM\\View\\MainWindow.xaml",
|
||||
"RelativeDocumentMoniker": "MVVM\\View\\MainWindow.xaml",
|
||||
"ToolTip": "E:\\H\u00E1zi\\Programoz\u00E1s\\YapperDesktop\\Yapper\\MVVM\\View\\MainWindow.xaml",
|
||||
"RelativeToolTip": "MVVM\\View\\MainWindow.xaml",
|
||||
"Icon": "ae27a6b0-e345-4288-96df-5eaf394ee369.003549|",
|
||||
"WhenOpened": "2025-02-23T17:45:08.422Z",
|
||||
"EditorCaption": ""
|
||||
},
|
||||
{
|
||||
"$type": "Document",
|
||||
"DocumentIndex": 2,
|
||||
"Title": "Server.cs",
|
||||
"DocumentMoniker": "E:\\H\u00E1zi\\Programoz\u00E1s\\YapperDesktop\\Yapper\\Net\\Server.cs",
|
||||
"RelativeDocumentMoniker": "Net\\Server.cs",
|
||||
"ToolTip": "E:\\H\u00E1zi\\Programoz\u00E1s\\YapperDesktop\\Yapper\\Net\\Server.cs",
|
||||
"RelativeToolTip": "Net\\Server.cs",
|
||||
"ViewState": "AgIAABYAAAAAAAAAAAAUwDkAAAAiAAAAAAAAAA==",
|
||||
"Icon": "ae27a6b0-e345-4288-96df-5eaf394ee369.000738|",
|
||||
"WhenOpened": "2025-02-23T17:43:20.655Z",
|
||||
"EditorCaption": ""
|
||||
},
|
||||
{
|
||||
"$type": "Document",
|
||||
"DocumentIndex": 5,
|
||||
"Title": "UserModel.cs",
|
||||
"DocumentMoniker": "E:\\H\u00E1zi\\Programoz\u00E1s\\YapperDesktop\\Yapper\\MVVM\\Model\\UserModel.cs",
|
||||
"RelativeDocumentMoniker": "MVVM\\Model\\UserModel.cs",
|
||||
"ToolTip": "E:\\H\u00E1zi\\Programoz\u00E1s\\YapperDesktop\\Yapper\\MVVM\\Model\\UserModel.cs",
|
||||
"RelativeToolTip": "MVVM\\Model\\UserModel.cs",
|
||||
"ViewState": "AQIAAAAAAAAAAAAAAAAAAAsAAAAnAAAA",
|
||||
"Icon": "ae27a6b0-e345-4288-96df-5eaf394ee369.000738|",
|
||||
"WhenOpened": "2025-02-23T18:36:18.595Z"
|
||||
},
|
||||
{
|
||||
"$type": "Document",
|
||||
"DocumentIndex": 4,
|
||||
"Title": "Program.cs",
|
||||
"DocumentMoniker": "E:\\H\u00E1zi\\Programoz\u00E1s\\YapperDesktop\\YapperServer\\Program.cs",
|
||||
"RelativeDocumentMoniker": "..\\YapperServer\\Program.cs",
|
||||
"ToolTip": "E:\\H\u00E1zi\\Programoz\u00E1s\\YapperDesktop\\YapperServer\\Program.cs",
|
||||
"RelativeToolTip": "..\\YapperServer\\Program.cs",
|
||||
"ViewState": "AgIAABEAAAAAAAAAAAAUwEAAAABJAAAAAAAAAA==",
|
||||
"Icon": "ae27a6b0-e345-4288-96df-5eaf394ee369.000738|",
|
||||
"WhenOpened": "2025-02-23T17:28:09.801Z",
|
||||
"EditorCaption": ""
|
||||
},
|
||||
{
|
||||
"$type": "Document",
|
||||
"DocumentIndex": 7,
|
||||
"Title": "PacketReader.cs",
|
||||
"DocumentMoniker": "E:\\H\u00E1zi\\Programoz\u00E1s\\YapperDesktop\\Yapper\\Net\\IO\\PacketReader.cs",
|
||||
"RelativeDocumentMoniker": "Net\\IO\\PacketReader.cs",
|
||||
"ToolTip": "E:\\H\u00E1zi\\Programoz\u00E1s\\YapperDesktop\\Yapper\\Net\\IO\\PacketReader.cs",
|
||||
"RelativeToolTip": "Net\\IO\\PacketReader.cs",
|
||||
"ViewState": "AQIAAAAAAAAAAAAAAAAAABsAAAAJAAAA",
|
||||
"Icon": "ae27a6b0-e345-4288-96df-5eaf394ee369.000738|",
|
||||
"WhenOpened": "2025-02-23T18:17:06.559Z"
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
149
Yapper/.vs/Yapper/v17/DocumentLayout.json
Normal file
149
Yapper/.vs/Yapper/v17/DocumentLayout.json
Normal file
|
@ -0,0 +1,149 @@
|
|||
{
|
||||
"Version": 1,
|
||||
"WorkspaceRootPath": "E:\\H\u00E1zi\\Programoz\u00E1s\\YapperDesktop\\Yapper\\",
|
||||
"Documents": [
|
||||
{
|
||||
"AbsoluteMoniker": "D:0:0:{1F45E8EA-2C22-4979-A7FF-370B198A5E51}|..\\YapperServer\\YapperServer.csproj|e:\\h\u00E1zi\\programoz\u00E1s\\yapperdesktop\\yapperserver\\client.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}"
|
||||
},
|
||||
{
|
||||
"AbsoluteMoniker": "D:0:0:{3BD0EBD6-C0D2-421C-950A-65495691BBB2}|YapperClient.csproj|e:\\h\u00E1zi\\programoz\u00E1s\\yapperdesktop\\yapper\\mvvm\\viewmodel\\mainviewmodel.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}",
|
||||
"RelativeMoniker": "D:0:0:{3BD0EBD6-C0D2-421C-950A-65495691BBB2}|YapperClient.csproj|solutionrelative:mvvm\\viewmodel\\mainviewmodel.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}"
|
||||
},
|
||||
{
|
||||
"AbsoluteMoniker": "D:0:0:{3BD0EBD6-C0D2-421C-950A-65495691BBB2}|YapperClient.csproj|e:\\h\u00E1zi\\programoz\u00E1s\\yapperdesktop\\yapper\\net\\server.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}",
|
||||
"RelativeMoniker": "D:0:0:{3BD0EBD6-C0D2-421C-950A-65495691BBB2}|YapperClient.csproj|solutionrelative:net\\server.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}"
|
||||
},
|
||||
{
|
||||
"AbsoluteMoniker": "D:0:0:{3BD0EBD6-C0D2-421C-950A-65495691BBB2}|YapperClient.csproj|e:\\h\u00E1zi\\programoz\u00E1s\\yapperdesktop\\yapper\\mvvm\\view\\mainwindow.xaml||{F11ACC28-31D1-4C80-A34B-F4E09D3D753C}",
|
||||
"RelativeMoniker": "D:0:0:{3BD0EBD6-C0D2-421C-950A-65495691BBB2}|YapperClient.csproj|solutionrelative:mvvm\\view\\mainwindow.xaml||{F11ACC28-31D1-4C80-A34B-F4E09D3D753C}"
|
||||
},
|
||||
{
|
||||
"AbsoluteMoniker": "D:0:0:{1F45E8EA-2C22-4979-A7FF-370B198A5E51}|..\\YapperServer\\YapperServer.csproj|e:\\h\u00E1zi\\programoz\u00E1s\\yapperdesktop\\yapperserver\\program.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}"
|
||||
},
|
||||
{
|
||||
"AbsoluteMoniker": "D:0:0:{3BD0EBD6-C0D2-421C-950A-65495691BBB2}|YapperClient.csproj|e:\\h\u00E1zi\\programoz\u00E1s\\yapperdesktop\\yapper\\mvvm\\model\\usermodel.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}",
|
||||
"RelativeMoniker": "D:0:0:{3BD0EBD6-C0D2-421C-950A-65495691BBB2}|YapperClient.csproj|solutionrelative:mvvm\\model\\usermodel.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}"
|
||||
},
|
||||
{
|
||||
"AbsoluteMoniker": "D:0:0:{1F45E8EA-2C22-4979-A7FF-370B198A5E51}|..\\YapperServer\\YapperServer.csproj|e:\\h\u00E1zi\\programoz\u00E1s\\yapperdesktop\\yapperserver\\net\\io\\packetbuilder.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}"
|
||||
},
|
||||
{
|
||||
"AbsoluteMoniker": "D:0:0:{3BD0EBD6-C0D2-421C-950A-65495691BBB2}|YapperClient.csproj|e:\\h\u00E1zi\\programoz\u00E1s\\yapperdesktop\\yapper\\net\\io\\packetreader.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}",
|
||||
"RelativeMoniker": "D:0:0:{3BD0EBD6-C0D2-421C-950A-65495691BBB2}|YapperClient.csproj|solutionrelative:net\\io\\packetreader.cs||{A6C744A8-0E4A-4FC6-886A-064283054674}"
|
||||
}
|
||||
],
|
||||
"DocumentGroupContainers": [
|
||||
{
|
||||
"Orientation": 0,
|
||||
"VerticalTabListWidth": 256,
|
||||
"DocumentGroups": [
|
||||
{
|
||||
"DockedWidth": 200,
|
||||
"SelectedChildIndex": 0,
|
||||
"Children": [
|
||||
{
|
||||
"$type": "Document",
|
||||
"DocumentIndex": 0,
|
||||
"Title": "Client.cs",
|
||||
"DocumentMoniker": "E:\\H\u00E1zi\\Programoz\u00E1s\\YapperDesktop\\YapperServer\\Client.cs",
|
||||
"RelativeDocumentMoniker": "..\\YapperServer\\Client.cs",
|
||||
"ToolTip": "E:\\H\u00E1zi\\Programoz\u00E1s\\YapperDesktop\\YapperServer\\Client.cs",
|
||||
"RelativeToolTip": "..\\YapperServer\\Client.cs",
|
||||
"ViewState": "AgIAAAwAAAAAAAAAAAAuwC0AAAAiAAAAAAAAAA==",
|
||||
"Icon": "ae27a6b0-e345-4288-96df-5eaf394ee369.000738|",
|
||||
"WhenOpened": "2025-02-24T18:29:15.889Z",
|
||||
"EditorCaption": ""
|
||||
},
|
||||
{
|
||||
"$type": "Document",
|
||||
"DocumentIndex": 6,
|
||||
"Title": "PacketBuilder.cs",
|
||||
"DocumentMoniker": "E:\\H\u00E1zi\\Programoz\u00E1s\\YapperDesktop\\YapperServer\\Net\\IO\\PacketBuilder.cs",
|
||||
"RelativeDocumentMoniker": "..\\YapperServer\\Net\\IO\\PacketBuilder.cs",
|
||||
"ToolTip": "E:\\H\u00E1zi\\Programoz\u00E1s\\YapperDesktop\\YapperServer\\Net\\IO\\PacketBuilder.cs",
|
||||
"RelativeToolTip": "..\\YapperServer\\Net\\IO\\PacketBuilder.cs",
|
||||
"ViewState": "AQIAAAAAAAAAAAAAAAAAwAcAAAAdAAAA",
|
||||
"Icon": "ae27a6b0-e345-4288-96df-5eaf394ee369.000738|",
|
||||
"WhenOpened": "2025-02-23T18:19:21.633Z"
|
||||
},
|
||||
{
|
||||
"$type": "Document",
|
||||
"DocumentIndex": 1,
|
||||
"Title": "MainViewModel.cs",
|
||||
"DocumentMoniker": "E:\\H\u00E1zi\\Programoz\u00E1s\\YapperDesktop\\Yapper\\MVVM\\ViewModel\\MainViewModel.cs",
|
||||
"RelativeDocumentMoniker": "MVVM\\ViewModel\\MainViewModel.cs",
|
||||
"ToolTip": "E:\\H\u00E1zi\\Programoz\u00E1s\\YapperDesktop\\Yapper\\MVVM\\ViewModel\\MainViewModel.cs",
|
||||
"RelativeToolTip": "MVVM\\ViewModel\\MainViewModel.cs",
|
||||
"ViewState": "AgIAAAYAAAAAAAAAAAAuwCoAAABMAAAAAAAAAA==",
|
||||
"Icon": "ae27a6b0-e345-4288-96df-5eaf394ee369.000738|",
|
||||
"WhenOpened": "2025-02-23T17:45:28.532Z",
|
||||
"EditorCaption": ""
|
||||
},
|
||||
{
|
||||
"$type": "Document",
|
||||
"DocumentIndex": 3,
|
||||
"Title": "MainWindow.xaml",
|
||||
"DocumentMoniker": "E:\\H\u00E1zi\\Programoz\u00E1s\\YapperDesktop\\Yapper\\MVVM\\View\\MainWindow.xaml",
|
||||
"RelativeDocumentMoniker": "MVVM\\View\\MainWindow.xaml",
|
||||
"ToolTip": "E:\\H\u00E1zi\\Programoz\u00E1s\\YapperDesktop\\Yapper\\MVVM\\View\\MainWindow.xaml",
|
||||
"RelativeToolTip": "MVVM\\View\\MainWindow.xaml",
|
||||
"Icon": "ae27a6b0-e345-4288-96df-5eaf394ee369.003549|",
|
||||
"WhenOpened": "2025-02-23T17:45:08.422Z",
|
||||
"EditorCaption": ""
|
||||
},
|
||||
{
|
||||
"$type": "Document",
|
||||
"DocumentIndex": 2,
|
||||
"Title": "Server.cs",
|
||||
"DocumentMoniker": "E:\\H\u00E1zi\\Programoz\u00E1s\\YapperDesktop\\Yapper\\Net\\Server.cs",
|
||||
"RelativeDocumentMoniker": "Net\\Server.cs",
|
||||
"ToolTip": "E:\\H\u00E1zi\\Programoz\u00E1s\\YapperDesktop\\Yapper\\Net\\Server.cs",
|
||||
"RelativeToolTip": "Net\\Server.cs",
|
||||
"ViewState": "AgIAABYAAAAAAAAAAAAUwDkAAAAiAAAAAAAAAA==",
|
||||
"Icon": "ae27a6b0-e345-4288-96df-5eaf394ee369.000738|",
|
||||
"WhenOpened": "2025-02-23T17:43:20.655Z",
|
||||
"EditorCaption": ""
|
||||
},
|
||||
{
|
||||
"$type": "Document",
|
||||
"DocumentIndex": 5,
|
||||
"Title": "UserModel.cs",
|
||||
"DocumentMoniker": "E:\\H\u00E1zi\\Programoz\u00E1s\\YapperDesktop\\Yapper\\MVVM\\Model\\UserModel.cs",
|
||||
"RelativeDocumentMoniker": "MVVM\\Model\\UserModel.cs",
|
||||
"ToolTip": "E:\\H\u00E1zi\\Programoz\u00E1s\\YapperDesktop\\Yapper\\MVVM\\Model\\UserModel.cs",
|
||||
"RelativeToolTip": "MVVM\\Model\\UserModel.cs",
|
||||
"ViewState": "AQIAAAAAAAAAAAAAAAAAAAsAAAAnAAAA",
|
||||
"Icon": "ae27a6b0-e345-4288-96df-5eaf394ee369.000738|",
|
||||
"WhenOpened": "2025-02-23T18:36:18.595Z"
|
||||
},
|
||||
{
|
||||
"$type": "Document",
|
||||
"DocumentIndex": 4,
|
||||
"Title": "Program.cs",
|
||||
"DocumentMoniker": "E:\\H\u00E1zi\\Programoz\u00E1s\\YapperDesktop\\YapperServer\\Program.cs",
|
||||
"RelativeDocumentMoniker": "..\\YapperServer\\Program.cs",
|
||||
"ToolTip": "E:\\H\u00E1zi\\Programoz\u00E1s\\YapperDesktop\\YapperServer\\Program.cs",
|
||||
"RelativeToolTip": "..\\YapperServer\\Program.cs",
|
||||
"ViewState": "AgIAABEAAAAAAAAAAAAUwEAAAABJAAAAAAAAAA==",
|
||||
"Icon": "ae27a6b0-e345-4288-96df-5eaf394ee369.000738|",
|
||||
"WhenOpened": "2025-02-23T17:28:09.801Z",
|
||||
"EditorCaption": ""
|
||||
},
|
||||
{
|
||||
"$type": "Document",
|
||||
"DocumentIndex": 7,
|
||||
"Title": "PacketReader.cs",
|
||||
"DocumentMoniker": "E:\\H\u00E1zi\\Programoz\u00E1s\\YapperDesktop\\Yapper\\Net\\IO\\PacketReader.cs",
|
||||
"RelativeDocumentMoniker": "Net\\IO\\PacketReader.cs",
|
||||
"ToolTip": "E:\\H\u00E1zi\\Programoz\u00E1s\\YapperDesktop\\Yapper\\Net\\IO\\PacketReader.cs",
|
||||
"RelativeToolTip": "Net\\IO\\PacketReader.cs",
|
||||
"ViewState": "AQIAAAAAAAAAAAAAAAAAABsAAAAJAAAA",
|
||||
"Icon": "ae27a6b0-e345-4288-96df-5eaf394ee369.000738|",
|
||||
"WhenOpened": "2025-02-23T18:17:06.559Z"
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
|
@ -6,7 +6,7 @@
|
|||
xmlns:local="clr-namespace:Yapper"
|
||||
xmlns:viewmodel="clr-namespace:YapperClient.MVVM.ViewModel"
|
||||
mc:Ignorable="d"
|
||||
Title="MainWindow" Height="450" Width="800">
|
||||
Title="MainWindow" Height="474" Width="816">
|
||||
|
||||
<Window.DataContext>
|
||||
<viewmodel:MainViewModel/>
|
||||
|
@ -41,11 +41,14 @@
|
|||
</DockPanel>
|
||||
|
||||
<StackPanel Grid.Column="1">
|
||||
<ListView Height="380"></ListView>
|
||||
<ListView Height="380"
|
||||
ItemsSource="{Binding Messages}"></ListView>
|
||||
|
||||
<StackPanel Orientation="Horizontal">
|
||||
<TextBox Height="55" Width="545" VerticalContentAlignment="Center"></TextBox>
|
||||
<Button Width="55" Content="send"/>
|
||||
<TextBox Height="55" Width="545" VerticalContentAlignment="Center"
|
||||
Text="{Binding Message, UpdateSourceTrigger=PropertyChanged}"></TextBox>
|
||||
<Button Width="55" Content="send"
|
||||
Command="{Binding SendMessageCommand}"/>
|
||||
</StackPanel>
|
||||
|
||||
</StackPanel>
|
||||
|
|
|
@ -14,16 +14,40 @@ namespace YapperClient.MVVM.ViewModel
|
|||
class MainViewModel
|
||||
{
|
||||
public ObservableCollection<UserModel> Users { get; set; }
|
||||
public ObservableCollection<string> Messages { get; set; }
|
||||
public RelayCommand ConnectToServerCommand { get; set; }
|
||||
public RelayCommand SendMessageCommand { get; set; }
|
||||
|
||||
public string UserName { get; set; }
|
||||
public string Message { get; set; }
|
||||
|
||||
private Server _server;
|
||||
public MainViewModel() {
|
||||
Users = new ObservableCollection<UserModel>();
|
||||
Messages = new ObservableCollection<string>();
|
||||
|
||||
_server = new Server();
|
||||
_server.connectedEvent += UserConnected;
|
||||
_server.msgReceivedEvent += MessageReceived;
|
||||
_server.userDisconnectedEvent += RemoveUser;
|
||||
ConnectToServerCommand = new RelayCommand(o => _server.ConnectToServer(UserName), o => !string.IsNullOrEmpty(UserName));
|
||||
|
||||
SendMessageCommand = new RelayCommand(o => _server.SendMessageToServer(Message), o => !string.IsNullOrEmpty(Message));
|
||||
}
|
||||
|
||||
private void RemoveUser()
|
||||
{
|
||||
var uid = _server.PacketReader.ReadMessage();
|
||||
var user = Users.FirstOrDefault(x => x.UID == uid);
|
||||
|
||||
Application.Current.Dispatcher.Invoke(() => Users.Remove(user));
|
||||
}
|
||||
|
||||
|
||||
private void MessageReceived()
|
||||
{
|
||||
var msg = _server.PacketReader.ReadMessage();
|
||||
Application.Current.Dispatcher.Invoke(() => Messages.Add(msg));
|
||||
}
|
||||
|
||||
private void UserConnected()
|
||||
|
|
|
@ -14,6 +14,8 @@ namespace YapperClient.Net
|
|||
public PacketReader PacketReader;
|
||||
|
||||
public event Action connectedEvent;
|
||||
public event Action msgReceivedEvent;
|
||||
public event Action userDisconnectedEvent;
|
||||
public Server() {
|
||||
_client = new TcpClient();
|
||||
}
|
||||
|
@ -48,6 +50,12 @@ namespace YapperClient.Net
|
|||
case 1:
|
||||
connectedEvent?.Invoke();
|
||||
break;
|
||||
case 5:
|
||||
msgReceivedEvent?.Invoke();
|
||||
break;
|
||||
case 10:
|
||||
userDisconnectedEvent?.Invoke();
|
||||
break;
|
||||
default:
|
||||
Console.WriteLine("ah yes ...");
|
||||
break;
|
||||
|
@ -55,5 +63,13 @@ namespace YapperClient.Net
|
|||
}
|
||||
});
|
||||
}
|
||||
|
||||
public void SendMessageToServer(string message)
|
||||
{
|
||||
var messagePacket = new PacketBuilder();
|
||||
messagePacket.WriteOpCode(5);
|
||||
messagePacket.WriteString(message);
|
||||
_client.Client.Send(messagePacket.GetPacketBytes());
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
15
Yapper/Yapper.slnLaunch.user
Normal file
15
Yapper/Yapper.slnLaunch.user
Normal file
|
@ -0,0 +1,15 @@
|
|||
[
|
||||
{
|
||||
"Name": "New Profile",
|
||||
"Projects": [
|
||||
{
|
||||
"Path": "..\\YapperServer\\YapperServer.csproj",
|
||||
"Action": "Start"
|
||||
},
|
||||
{
|
||||
"Path": "YapperClient.csproj",
|
||||
"Action": "Start"
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
Binary file not shown.
Binary file not shown.
Binary file not shown.
|
@ -12,7 +12,8 @@
|
|||
}
|
||||
],
|
||||
"configProperties": {
|
||||
"System.Runtime.Serialization.EnableUnsafeBinaryFormatterSerialization": true
|
||||
"System.Runtime.Serialization.EnableUnsafeBinaryFormatterSerialization": true,
|
||||
"CSWINRT_USE_WINDOWS_UI_XAML_PROJECTIONS": false
|
||||
}
|
||||
}
|
||||
}
|
|
@ -45,7 +45,7 @@ namespace Yapper {
|
|||
/// InitializeComponent
|
||||
/// </summary>
|
||||
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
||||
[System.CodeDom.Compiler.GeneratedCodeAttribute("PresentationBuildTasks", "8.0.1.0")]
|
||||
[System.CodeDom.Compiler.GeneratedCodeAttribute("PresentationBuildTasks", "9.0.2.0")]
|
||||
public void InitializeComponent() {
|
||||
|
||||
#line 5 "..\..\..\App.xaml"
|
||||
|
@ -60,7 +60,7 @@ namespace Yapper {
|
|||
/// </summary>
|
||||
[System.STAThreadAttribute()]
|
||||
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
||||
[System.CodeDom.Compiler.GeneratedCodeAttribute("PresentationBuildTasks", "8.0.1.0")]
|
||||
[System.CodeDom.Compiler.GeneratedCodeAttribute("PresentationBuildTasks", "9.0.2.0")]
|
||||
public static void Main() {
|
||||
Yapper.App app = new Yapper.App();
|
||||
app.InitializeComponent();
|
||||
|
|
|
@ -45,7 +45,7 @@ namespace Yapper {
|
|||
/// InitializeComponent
|
||||
/// </summary>
|
||||
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
||||
[System.CodeDom.Compiler.GeneratedCodeAttribute("PresentationBuildTasks", "8.0.1.0")]
|
||||
[System.CodeDom.Compiler.GeneratedCodeAttribute("PresentationBuildTasks", "9.0.2.0")]
|
||||
public void InitializeComponent() {
|
||||
|
||||
#line 5 "..\..\..\App.xaml"
|
||||
|
@ -60,7 +60,7 @@ namespace Yapper {
|
|||
/// </summary>
|
||||
[System.STAThreadAttribute()]
|
||||
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
||||
[System.CodeDom.Compiler.GeneratedCodeAttribute("PresentationBuildTasks", "8.0.1.0")]
|
||||
[System.CodeDom.Compiler.GeneratedCodeAttribute("PresentationBuildTasks", "9.0.2.0")]
|
||||
public static void Main() {
|
||||
Yapper.App app = new Yapper.App();
|
||||
app.InitializeComponent();
|
||||
|
|
|
@ -15,7 +15,7 @@ namespace XamlGeneratedNamespace {
|
|||
/// GeneratedInternalTypeHelper
|
||||
/// </summary>
|
||||
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
||||
[System.CodeDom.Compiler.GeneratedCodeAttribute("PresentationBuildTasks", "8.0.1.0")]
|
||||
[System.CodeDom.Compiler.GeneratedCodeAttribute("PresentationBuildTasks", "9.0.2.0")]
|
||||
[System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)]
|
||||
public sealed class GeneratedInternalTypeHelper : System.Windows.Markup.InternalTypeHelper {
|
||||
|
||||
|
|
|
@ -15,7 +15,7 @@ namespace XamlGeneratedNamespace {
|
|||
/// GeneratedInternalTypeHelper
|
||||
/// </summary>
|
||||
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
||||
[System.CodeDom.Compiler.GeneratedCodeAttribute("PresentationBuildTasks", "8.0.1.0")]
|
||||
[System.CodeDom.Compiler.GeneratedCodeAttribute("PresentationBuildTasks", "9.0.2.0")]
|
||||
[System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)]
|
||||
public sealed class GeneratedInternalTypeHelper : System.Windows.Markup.InternalTypeHelper {
|
||||
|
||||
|
|
Binary file not shown.
|
@ -1,4 +1,4 @@
|
|||
#pragma checksum "..\..\..\..\..\MVVM\View\MainWindow.xaml" "{ff1816ec-aa5e-4d10-87f7-6f4963833460}" "85A75E0498D4655343530F70D014ECDAEBA43A57"
|
||||
#pragma checksum "..\..\..\..\..\MVVM\View\MainWindow.xaml" "{ff1816ec-aa5e-4d10-87f7-6f4963833460}" "04655D128F24194F237C5DC9675628C4102DEDF7"
|
||||
//------------------------------------------------------------------------------
|
||||
// <auto-generated>
|
||||
// This code was generated by a tool.
|
||||
|
@ -48,7 +48,7 @@ namespace Yapper {
|
|||
/// InitializeComponent
|
||||
/// </summary>
|
||||
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
||||
[System.CodeDom.Compiler.GeneratedCodeAttribute("PresentationBuildTasks", "8.0.1.0")]
|
||||
[System.CodeDom.Compiler.GeneratedCodeAttribute("PresentationBuildTasks", "9.0.2.0")]
|
||||
public void InitializeComponent() {
|
||||
if (_contentLoaded) {
|
||||
return;
|
||||
|
@ -64,7 +64,7 @@ namespace Yapper {
|
|||
}
|
||||
|
||||
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
||||
[System.CodeDom.Compiler.GeneratedCodeAttribute("PresentationBuildTasks", "8.0.1.0")]
|
||||
[System.CodeDom.Compiler.GeneratedCodeAttribute("PresentationBuildTasks", "9.0.2.0")]
|
||||
[System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)]
|
||||
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Design", "CA1033:InterfaceMethodsShouldBeCallableByChildTypes")]
|
||||
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Maintainability", "CA1502:AvoidExcessiveComplexity")]
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
#pragma checksum "..\..\..\..\..\MVVM\View\MainWindow.xaml" "{ff1816ec-aa5e-4d10-87f7-6f4963833460}" "85A75E0498D4655343530F70D014ECDAEBA43A57"
|
||||
#pragma checksum "..\..\..\..\..\MVVM\View\MainWindow.xaml" "{ff1816ec-aa5e-4d10-87f7-6f4963833460}" "04655D128F24194F237C5DC9675628C4102DEDF7"
|
||||
//------------------------------------------------------------------------------
|
||||
// <auto-generated>
|
||||
// This code was generated by a tool.
|
||||
|
@ -48,7 +48,7 @@ namespace Yapper {
|
|||
/// InitializeComponent
|
||||
/// </summary>
|
||||
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
||||
[System.CodeDom.Compiler.GeneratedCodeAttribute("PresentationBuildTasks", "8.0.1.0")]
|
||||
[System.CodeDom.Compiler.GeneratedCodeAttribute("PresentationBuildTasks", "9.0.2.0")]
|
||||
public void InitializeComponent() {
|
||||
if (_contentLoaded) {
|
||||
return;
|
||||
|
@ -64,7 +64,7 @@ namespace Yapper {
|
|||
}
|
||||
|
||||
[System.Diagnostics.DebuggerNonUserCodeAttribute()]
|
||||
[System.CodeDom.Compiler.GeneratedCodeAttribute("PresentationBuildTasks", "8.0.1.0")]
|
||||
[System.CodeDom.Compiler.GeneratedCodeAttribute("PresentationBuildTasks", "9.0.2.0")]
|
||||
[System.ComponentModel.EditorBrowsableAttribute(System.ComponentModel.EditorBrowsableState.Never)]
|
||||
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Design", "CA1033:InterfaceMethodsShouldBeCallableByChildTypes")]
|
||||
[System.Diagnostics.CodeAnalysis.SuppressMessageAttribute("Microsoft.Maintainability", "CA1502:AvoidExcessiveComplexity")]
|
||||
|
|
|
@ -14,7 +14,7 @@ using System.Reflection;
|
|||
[assembly: System.Reflection.AssemblyCompanyAttribute("YapperClient")]
|
||||
[assembly: System.Reflection.AssemblyConfigurationAttribute("Debug")]
|
||||
[assembly: System.Reflection.AssemblyFileVersionAttribute("1.0.0.0")]
|
||||
[assembly: System.Reflection.AssemblyInformationalVersionAttribute("1.0.0")]
|
||||
[assembly: System.Reflection.AssemblyInformationalVersionAttribute("1.0.0+f3da4b9c3e15ecd20288964fa00a1aee30ec948d")]
|
||||
[assembly: System.Reflection.AssemblyProductAttribute("YapperClient")]
|
||||
[assembly: System.Reflection.AssemblyTitleAttribute("YapperClient")]
|
||||
[assembly: System.Reflection.AssemblyVersionAttribute("1.0.0.0")]
|
||||
|
|
|
@ -1 +1 @@
|
|||
13c3344a0f62278c5f15862781d897c1d67227914e697c96de93798da872e2a8
|
||||
1893b04b81c65ac53142cfc8f44deeb8025996c71414a41abe3089fdc9eb298f
|
||||
|
|
|
@ -11,3 +11,6 @@ build_property.RootNamespace = YapperClient
|
|||
build_property.ProjectDir = E:\Házi\Programozás\YapperDesktop\Yapper\
|
||||
build_property.EnableComHosting =
|
||||
build_property.EnableGeneratedComInterfaceComImportInterop =
|
||||
build_property.CsWinRTUseWindowsUIXamlProjections = false
|
||||
build_property.EffectiveAnalysisLevelStyle = 8.0
|
||||
build_property.EnableCodeStyleSeverity =
|
||||
|
|
Binary file not shown.
|
@ -1 +1 @@
|
|||
f7a52c5659800088f84998c3cb49c7dc8498ce5565947c372774906d14817e4b
|
||||
375b1910ca3813c3de1075c9eb9d2b33ca4c1ee77e020ec50f9f186214610fbf
|
||||
|
|
|
@ -18,6 +18,7 @@
|
|||
],
|
||||
"configProperties": {
|
||||
"System.Runtime.Serialization.EnableUnsafeBinaryFormatterSerialization": true,
|
||||
"CSWINRT_USE_WINDOWS_UI_XAML_PROJECTIONS": false,
|
||||
"Microsoft.NETCore.DotNetHostPolicy.SetAppPaths": true
|
||||
}
|
||||
}
|
||||
|
|
Binary file not shown.
Binary file not shown.
|
@ -1 +1 @@
|
|||
8cfa16bb324d85650216a7c949c8faff39f50bba8d5e142ec7dc34fad94b81d9
|
||||
e9ac7437a715170829a57bda7e048162ea31c427db16b539d9db132abf661e08
|
||||
|
|
Binary file not shown.
|
@ -13,7 +13,7 @@ E:\Házi\Programozás\YapperDesktop\Yapper\App.xaml
|
|||
11121423476
|
||||
|
||||
10-1400998637
|
||||
198-294894759
|
||||
1981839832580
|
||||
MVVM\View\MainWindow.xaml;
|
||||
|
||||
False
|
||||
|
|
|
@ -8,12 +8,12 @@ E:\Házi\Programozás\YapperDesktop\Yapper\obj\Debug\net8.0-windows\
|
|||
YapperClient
|
||||
none
|
||||
false
|
||||
TRACE;DEBUG;NET;NET8_0;NETCOREAPP
|
||||
TRACE;DEBUG;NET;NET8_0;NETCOREAPP;WINDOWS;WINDOWS7_0;NET5_0_OR_GREATER;NET6_0_OR_GREATER;NET7_0_OR_GREATER;NET8_0_OR_GREATER;NETCOREAPP3_0_OR_GREATER;NETCOREAPP3_1_OR_GREATER;WINDOWS7_0_OR_GREATER
|
||||
E:\Házi\Programozás\YapperDesktop\Yapper\App.xaml
|
||||
11121423476
|
||||
|
||||
12-937906955
|
||||
198-294894759
|
||||
1981839832580
|
||||
MVVM\View\MainWindow.xaml;
|
||||
|
||||
False
|
||||
|
|
|
@ -11,12 +11,12 @@
|
|||
using System;
|
||||
using System.Reflection;
|
||||
|
||||
[assembly: System.Reflection.AssemblyCompanyAttribute("Dummy")]
|
||||
[assembly: System.Reflection.AssemblyCompanyAttribute("YapperClient")]
|
||||
[assembly: System.Reflection.AssemblyConfigurationAttribute("Debug")]
|
||||
[assembly: System.Reflection.AssemblyFileVersionAttribute("1.0.0.0")]
|
||||
[assembly: System.Reflection.AssemblyInformationalVersionAttribute("1.0.0")]
|
||||
[assembly: System.Reflection.AssemblyProductAttribute("Dummy")]
|
||||
[assembly: System.Reflection.AssemblyTitleAttribute("Dummy")]
|
||||
[assembly: System.Reflection.AssemblyInformationalVersionAttribute("1.0.0+f3da4b9c3e15ecd20288964fa00a1aee30ec948d")]
|
||||
[assembly: System.Reflection.AssemblyProductAttribute("YapperClient")]
|
||||
[assembly: System.Reflection.AssemblyTitleAttribute("YapperClient")]
|
||||
[assembly: System.Reflection.AssemblyVersionAttribute("1.0.0.0")]
|
||||
[assembly: System.Runtime.Versioning.TargetPlatformAttribute("Windows7.0")]
|
||||
[assembly: System.Runtime.Versioning.SupportedOSPlatformAttribute("Windows7.0")]
|
|
@ -0,0 +1 @@
|
|||
1893b04b81c65ac53142cfc8f44deeb8025996c71414a41abe3089fdc9eb298f
|
|
@ -7,7 +7,10 @@ build_property.InvariantGlobalization =
|
|||
build_property.PlatformNeutralAssembly =
|
||||
build_property.EnforceExtendedAnalyzerRules =
|
||||
build_property._SupportedPlatformList = Linux,macOS,Windows
|
||||
build_property.RootNamespace = Dummy
|
||||
build_property.ProjectDir = E:\Házi\Programozás\YapperDesktop\Dummy\
|
||||
build_property.RootNamespace = YapperClient
|
||||
build_property.ProjectDir = E:\Házi\Programozás\YapperDesktop\Yapper\
|
||||
build_property.EnableComHosting =
|
||||
build_property.EnableGeneratedComInterfaceComImportInterop =
|
||||
build_property.CsWinRTUseWindowsUIXamlProjections = false
|
||||
build_property.EffectiveAnalysisLevelStyle = 8.0
|
||||
build_property.EnableCodeStyleSeverity =
|
Binary file not shown.
|
@ -0,0 +1,25 @@
|
|||
//------------------------------------------------------------------------------
|
||||
// <auto-generated>
|
||||
// This code was generated by a tool.
|
||||
// Runtime Version:4.0.30319.42000
|
||||
//
|
||||
// Changes to this file may cause incorrect behavior and will be lost if
|
||||
// the code is regenerated.
|
||||
// </auto-generated>
|
||||
//------------------------------------------------------------------------------
|
||||
|
||||
using System;
|
||||
using System.Reflection;
|
||||
|
||||
[assembly: System.Reflection.AssemblyCompanyAttribute("YapperClient")]
|
||||
[assembly: System.Reflection.AssemblyConfigurationAttribute("Debug")]
|
||||
[assembly: System.Reflection.AssemblyFileVersionAttribute("1.0.0.0")]
|
||||
[assembly: System.Reflection.AssemblyInformationalVersionAttribute("1.0.0+f3da4b9c3e15ecd20288964fa00a1aee30ec948d")]
|
||||
[assembly: System.Reflection.AssemblyProductAttribute("YapperClient")]
|
||||
[assembly: System.Reflection.AssemblyTitleAttribute("YapperClient")]
|
||||
[assembly: System.Reflection.AssemblyVersionAttribute("1.0.0.0")]
|
||||
[assembly: System.Runtime.Versioning.TargetPlatformAttribute("Windows7.0")]
|
||||
[assembly: System.Runtime.Versioning.SupportedOSPlatformAttribute("Windows7.0")]
|
||||
|
||||
// Generated by the MSBuild WriteCodeFragment class.
|
||||
|
|
@ -0,0 +1 @@
|
|||
1893b04b81c65ac53142cfc8f44deeb8025996c71414a41abe3089fdc9eb298f
|
|
@ -0,0 +1,16 @@
|
|||
is_global = true
|
||||
build_property.TargetFramework = net8.0-windows
|
||||
build_property.TargetPlatformMinVersion = 7.0
|
||||
build_property.UsingMicrosoftNETSdkWeb =
|
||||
build_property.ProjectTypeGuids =
|
||||
build_property.InvariantGlobalization =
|
||||
build_property.PlatformNeutralAssembly =
|
||||
build_property.EnforceExtendedAnalyzerRules =
|
||||
build_property._SupportedPlatformList = Linux,macOS,Windows
|
||||
build_property.RootNamespace = YapperClient
|
||||
build_property.ProjectDir = E:\Házi\Programozás\YapperDesktop\Yapper\
|
||||
build_property.EnableComHosting =
|
||||
build_property.EnableGeneratedComInterfaceComImportInterop =
|
||||
build_property.CsWinRTUseWindowsUIXamlProjections = false
|
||||
build_property.EffectiveAnalysisLevelStyle = 8.0
|
||||
build_property.EnableCodeStyleSeverity =
|
|
@ -0,0 +1,6 @@
|
|||
// <auto-generated/>
|
||||
global using global::System;
|
||||
global using global::System.Collections.Generic;
|
||||
global using global::System.Linq;
|
||||
global using global::System.Threading;
|
||||
global using global::System.Threading.Tasks;
|
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
|
@ -38,7 +38,13 @@
|
|||
"warnAsError": [
|
||||
"NU1605"
|
||||
]
|
||||
}
|
||||
},
|
||||
"restoreAuditProperties": {
|
||||
"enableAudit": "true",
|
||||
"auditLevel": "low",
|
||||
"auditMode": "direct"
|
||||
},
|
||||
"SdkAnalysisLevel": "9.0.200"
|
||||
},
|
||||
"frameworks": {
|
||||
"net8.0-windows7.0": {
|
||||
|
@ -62,7 +68,7 @@
|
|||
"privateAssets": "none"
|
||||
}
|
||||
},
|
||||
"runtimeIdentifierGraphPath": "C:\\Program Files\\dotnet\\sdk\\8.0.101/PortableRuntimeIdentifierGraph.json"
|
||||
"runtimeIdentifierGraphPath": "C:\\Program Files\\dotnet\\sdk\\9.0.200/PortableRuntimeIdentifierGraph.json"
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
@ -7,7 +7,7 @@
|
|||
<NuGetPackageRoot Condition=" '$(NuGetPackageRoot)' == '' ">$(UserProfile)\.nuget\packages\</NuGetPackageRoot>
|
||||
<NuGetPackageFolders Condition=" '$(NuGetPackageFolders)' == '' ">C:\Users\Marci\.nuget\packages\;C:\Program Files (x86)\Microsoft Visual Studio\Shared\NuGetPackages</NuGetPackageFolders>
|
||||
<NuGetProjectStyle Condition=" '$(NuGetProjectStyle)' == '' ">PackageReference</NuGetProjectStyle>
|
||||
<NuGetToolVersion Condition=" '$(NuGetToolVersion)' == '' ">6.8.0</NuGetToolVersion>
|
||||
<NuGetToolVersion Condition=" '$(NuGetToolVersion)' == '' ">6.13.2</NuGetToolVersion>
|
||||
</PropertyGroup>
|
||||
<ItemGroup Condition=" '$(ExcludeRestorePackageImports)' != 'true' ">
|
||||
<SourceRoot Include="C:\Users\Marci\.nuget\packages\" />
|
||||
|
|
|
@ -45,7 +45,13 @@
|
|||
"warnAsError": [
|
||||
"NU1605"
|
||||
]
|
||||
}
|
||||
},
|
||||
"restoreAuditProperties": {
|
||||
"enableAudit": "true",
|
||||
"auditLevel": "low",
|
||||
"auditMode": "direct"
|
||||
},
|
||||
"SdkAnalysisLevel": "9.0.200"
|
||||
},
|
||||
"frameworks": {
|
||||
"net8.0-windows7.0": {
|
||||
|
@ -69,7 +75,7 @@
|
|||
"privateAssets": "none"
|
||||
}
|
||||
},
|
||||
"runtimeIdentifierGraphPath": "C:\\Program Files\\dotnet\\sdk\\8.0.101/PortableRuntimeIdentifierGraph.json"
|
||||
"runtimeIdentifierGraphPath": "C:\\Program Files\\dotnet\\sdk\\9.0.200/PortableRuntimeIdentifierGraph.json"
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
{
|
||||
"version": 2,
|
||||
"dgSpecHash": "fMdRScRjAAlF4ITaQicwZHlb0Kn07qF9AYnALqbCXe3TNGtSkkzl+vtjVOGQd+MIXAT45goJBZ/ci0CAp5UyWQ==",
|
||||
"dgSpecHash": "0sdiYuqIy/Y=",
|
||||
"success": true,
|
||||
"projectFilePath": "E:\\Házi\\Programozás\\YapperDesktop\\Yapper\\YapperClient.csproj",
|
||||
"expectedPackageFiles": [],
|
||||
|
|
|
@ -24,6 +24,37 @@ namespace YapperServer
|
|||
UserName = _packetReader.ReadMessage();
|
||||
|
||||
Console.WriteLine($"[{DateTime.Now}]: A kliens csatlakozott a következő username-el: {UserName}");
|
||||
|
||||
Task.Run(() => Process());
|
||||
}
|
||||
|
||||
void Process()
|
||||
{
|
||||
while (true)
|
||||
{
|
||||
try
|
||||
{
|
||||
var opcode = _packetReader.ReadByte();
|
||||
switch (opcode)
|
||||
{
|
||||
case 5:
|
||||
var msg = _packetReader.ReadMessage();
|
||||
Console.WriteLine($"[{DateTime.Now}]: Az üzenet megérkezett! {msg}");
|
||||
Program.BroadCastMessage($"[{DateTime.Now}]: {msg}");
|
||||
break;
|
||||
default:
|
||||
break;
|
||||
}
|
||||
}
|
||||
catch (Exception ex)
|
||||
{
|
||||
Console.WriteLine($"{UID} lecsatlakozott.");
|
||||
Console.WriteLine($"[{DateTime.Now}]: Hiba történt a kliens feldolgozása közben: {ex.Message}");
|
||||
Program.DisconnectMessage(UID.ToString());
|
||||
ClientSocket.Close();
|
||||
break;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
@ -38,4 +38,30 @@ class Program
|
|||
}
|
||||
}
|
||||
}
|
||||
|
||||
public static void BroadCastMessage(string message)
|
||||
{
|
||||
foreach (var user in _users)
|
||||
{
|
||||
var msgPacket = new PacketBuilder();
|
||||
msgPacket.WriteOpCode(5);
|
||||
msgPacket.WriteString(message);
|
||||
user.ClientSocket.Client.Send(msgPacket.GetPacketBytes());
|
||||
}
|
||||
}
|
||||
|
||||
public static void DisconnectMessage(string uid) {
|
||||
var disconnectedUser = _users.Where(x => x.UID.ToString() == uid).FirstOrDefault();
|
||||
_users.Remove(disconnectedUser);
|
||||
|
||||
foreach (var user in _users)
|
||||
{
|
||||
var broadcastPacket = new PacketBuilder();
|
||||
broadcastPacket.WriteOpCode(10);
|
||||
broadcastPacket.WriteString(uid);
|
||||
user.ClientSocket.Client.Send(broadcastPacket.GetPacketBytes());
|
||||
}
|
||||
|
||||
BroadCastMessage($"{disconnectedUser.UserName} lecsatlakozott.");
|
||||
}
|
||||
}
|
||||
|
|
Binary file not shown.
Binary file not shown.
Binary file not shown.
|
@ -14,7 +14,7 @@ using System.Reflection;
|
|||
[assembly: System.Reflection.AssemblyCompanyAttribute("YapperServer")]
|
||||
[assembly: System.Reflection.AssemblyConfigurationAttribute("Debug")]
|
||||
[assembly: System.Reflection.AssemblyFileVersionAttribute("1.0.0.0")]
|
||||
[assembly: System.Reflection.AssemblyInformationalVersionAttribute("1.0.0")]
|
||||
[assembly: System.Reflection.AssemblyInformationalVersionAttribute("1.0.0+f3da4b9c3e15ecd20288964fa00a1aee30ec948d")]
|
||||
[assembly: System.Reflection.AssemblyProductAttribute("YapperServer")]
|
||||
[assembly: System.Reflection.AssemblyTitleAttribute("YapperServer")]
|
||||
[assembly: System.Reflection.AssemblyVersionAttribute("1.0.0.0")]
|
||||
|
|
|
@ -1 +1 @@
|
|||
ec8f55bef3287eed363c8f13e8b742ccf301999363151e99dbd4366d31aadd1d
|
||||
7f67dff17ad8dd4c0e9d9fbaeab6a27f85ccbee25b14d77f985bc3d1ce1fbe00
|
||||
|
|
|
@ -11,3 +11,5 @@ build_property.RootNamespace = YapperServer
|
|||
build_property.ProjectDir = E:\Házi\Programozás\YapperDesktop\YapperServer\
|
||||
build_property.EnableComHosting =
|
||||
build_property.EnableGeneratedComInterfaceComImportInterop =
|
||||
build_property.EffectiveAnalysisLevelStyle = 8.0
|
||||
build_property.EnableCodeStyleSeverity =
|
||||
|
|
Binary file not shown.
|
@ -1 +1 @@
|
|||
e4130710b52016ce8f6f89cb6cb2c89d34b6eedfd6b4dc3381cf087919ec0948
|
||||
9616d8ac5bfa51c250f477700d63eb46878ac5201127c5e4c89e72ebeab58240
|
||||
|
|
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in New Issue
Block a user