commit 183967186553f72e72d2adb5b3b453e4514ff042 Author: Ivan Date: Wed Mar 5 12:21:17 2025 +0300 init commit diff --git a/.idea/.idea.demo_hard/.idea/.gitignore b/.idea/.idea.demo_hard/.idea/.gitignore new file mode 100644 index 0000000..1200161 --- /dev/null +++ b/.idea/.idea.demo_hard/.idea/.gitignore @@ -0,0 +1,13 @@ +# Default ignored files +/shelf/ +/workspace.xml +# Rider ignored files +/contentModel.xml +/.idea.demo_hard.iml +/projectSettingsUpdater.xml +/modules.xml +# Editor-based HTTP Client requests +/httpRequests/ +# Datasource local storage ignored files +/dataSources/ +/dataSources.local.xml diff --git a/.idea/.idea.demo_hard/.idea/avalonia.xml b/.idea/.idea.demo_hard/.idea/avalonia.xml new file mode 100644 index 0000000..8f8cb2d --- /dev/null +++ b/.idea/.idea.demo_hard/.idea/avalonia.xml @@ -0,0 +1,15 @@ + + + + + + \ No newline at end of file diff --git a/.idea/.idea.demo_hard/.idea/indexLayout.xml b/.idea/.idea.demo_hard/.idea/indexLayout.xml new file mode 100644 index 0000000..7b08163 --- /dev/null +++ b/.idea/.idea.demo_hard/.idea/indexLayout.xml @@ -0,0 +1,8 @@ + + + + + + + + \ No newline at end of file diff --git a/.idea/.idea.demo_hard/.idea/vcs.xml b/.idea/.idea.demo_hard/.idea/vcs.xml new file mode 100644 index 0000000..d843f34 --- /dev/null +++ b/.idea/.idea.demo_hard/.idea/vcs.xml @@ -0,0 +1,4 @@ + + + + \ No newline at end of file diff --git a/Libary/Libary.cs b/Libary/Libary.cs new file mode 100644 index 0000000..1128dcc --- /dev/null +++ b/Libary/Libary.cs @@ -0,0 +1,40 @@ +using System; +using System.Collections.Generic; + +namespace Libary +{ + public class Calculations + { + public string[] AvailablePeriods(TimeSpan[] startTimes, int[] durations, TimeSpan beginWorkingTime, TimeSpan endWorkingTime, int consultationTime) + { + TimeSpan consultationDuration = TimeSpan.FromMinutes(consultationTime); + List freeSlots = new List(); + TimeSpan current = beginWorkingTime; + + for (int i = 0; i < startTimes.Length; i++) + { + TimeSpan start = startTimes[i]; + TimeSpan end = start.Add(TimeSpan.FromMinutes(durations[i])); + + while (current.Add(consultationDuration) <= start) + { + freeSlots.Add($"{current:hh\\:mm}-{current.Add(consultationDuration):hh\\:mm}"); + current = current.Add(consultationDuration); + } + + if (current < end) + { + current = end; + } + } + + while (current.Add(consultationDuration) <= endWorkingTime) + { + freeSlots.Add($"{current:hh\\:mm}-{current.Add(consultationDuration):hh\\:mm}"); + current = current.Add(consultationDuration); + } + + return freeSlots.ToArray(); + } + } +} \ No newline at end of file diff --git a/Libary/Libary.csproj b/Libary/Libary.csproj new file mode 100644 index 0000000..c1c613b --- /dev/null +++ b/Libary/Libary.csproj @@ -0,0 +1,13 @@ + + + + net9.0 + enable + enable + + + + + + + diff --git a/Libary/obj/Debug/net9.0/.NETCoreApp,Version=v9.0.AssemblyAttributes.cs b/Libary/obj/Debug/net9.0/.NETCoreApp,Version=v9.0.AssemblyAttributes.cs new file mode 100644 index 0000000..feda5e9 --- /dev/null +++ b/Libary/obj/Debug/net9.0/.NETCoreApp,Version=v9.0.AssemblyAttributes.cs @@ -0,0 +1,4 @@ +// +using System; +using System.Reflection; +[assembly: global::System.Runtime.Versioning.TargetFrameworkAttribute(".NETCoreApp,Version=v9.0", FrameworkDisplayName = ".NET 9.0")] diff --git a/Libary/obj/Debug/net9.0/Libary.AssemblyInfo.cs b/Libary/obj/Debug/net9.0/Libary.AssemblyInfo.cs new file mode 100644 index 0000000..42e12fb --- /dev/null +++ b/Libary/obj/Debug/net9.0/Libary.AssemblyInfo.cs @@ -0,0 +1,22 @@ +//------------------------------------------------------------------------------ +// +// This code was generated by a tool. +// +// Changes to this file may cause incorrect behavior and will be lost if +// the code is regenerated. +// +//------------------------------------------------------------------------------ + +using System; +using System.Reflection; + +[assembly: System.Reflection.AssemblyCompanyAttribute("Libary")] +[assembly: System.Reflection.AssemblyConfigurationAttribute("Debug")] +[assembly: System.Reflection.AssemblyFileVersionAttribute("1.0.0.0")] +[assembly: System.Reflection.AssemblyInformationalVersionAttribute("1.0.0")] +[assembly: System.Reflection.AssemblyProductAttribute("Libary")] +[assembly: System.Reflection.AssemblyTitleAttribute("Libary")] +[assembly: System.Reflection.AssemblyVersionAttribute("1.0.0.0")] + +// Создано классом WriteCodeFragment MSBuild. + diff --git a/Libary/obj/Debug/net9.0/Libary.AssemblyInfoInputs.cache b/Libary/obj/Debug/net9.0/Libary.AssemblyInfoInputs.cache new file mode 100644 index 0000000..eb0b924 --- /dev/null +++ b/Libary/obj/Debug/net9.0/Libary.AssemblyInfoInputs.cache @@ -0,0 +1 @@ +6a1a384ce1ed2ea67c76d3c71f45be100ef933e0a26ffbec2cc5a2dea02b3246 diff --git a/Libary/obj/Debug/net9.0/Libary.GeneratedMSBuildEditorConfig.editorconfig b/Libary/obj/Debug/net9.0/Libary.GeneratedMSBuildEditorConfig.editorconfig new file mode 100644 index 0000000..a1af9ce --- /dev/null +++ b/Libary/obj/Debug/net9.0/Libary.GeneratedMSBuildEditorConfig.editorconfig @@ -0,0 +1,15 @@ +is_global = true +build_property.TargetFramework = net9.0 +build_property.TargetPlatformMinVersion = +build_property.UsingMicrosoftNETSdkWeb = +build_property.ProjectTypeGuids = +build_property.InvariantGlobalization = +build_property.PlatformNeutralAssembly = +build_property.EnforceExtendedAnalyzerRules = +build_property._SupportedPlatformList = Linux,macOS,Windows +build_property.RootNamespace = Libary +build_property.ProjectDir = C:\Users\prdb\RiderProjects\Demochka\demo_hard\Libary\ +build_property.EnableComHosting = +build_property.EnableGeneratedComInterfaceComImportInterop = +build_property.EffectiveAnalysisLevelStyle = 9.0 +build_property.EnableCodeStyleSeverity = diff --git a/Libary/obj/Debug/net9.0/Libary.GlobalUsings.g.cs b/Libary/obj/Debug/net9.0/Libary.GlobalUsings.g.cs new file mode 100644 index 0000000..8578f3d --- /dev/null +++ b/Libary/obj/Debug/net9.0/Libary.GlobalUsings.g.cs @@ -0,0 +1,8 @@ +// +global using global::System; +global using global::System.Collections.Generic; +global using global::System.IO; +global using global::System.Linq; +global using global::System.Net.Http; +global using global::System.Threading; +global using global::System.Threading.Tasks; diff --git a/Libary/obj/Debug/net9.0/Libary.assets.cache b/Libary/obj/Debug/net9.0/Libary.assets.cache new file mode 100644 index 0000000..e976486 Binary files /dev/null and b/Libary/obj/Debug/net9.0/Libary.assets.cache differ diff --git a/Libary/obj/Debug/net9.0/Libary.csproj.AssemblyReference.cache b/Libary/obj/Debug/net9.0/Libary.csproj.AssemblyReference.cache new file mode 100644 index 0000000..f5d21f7 Binary files /dev/null and b/Libary/obj/Debug/net9.0/Libary.csproj.AssemblyReference.cache differ diff --git a/Libary/obj/Libary.csproj.nuget.dgspec.json b/Libary/obj/Libary.csproj.nuget.dgspec.json new file mode 100644 index 0000000..ed4991e --- /dev/null +++ b/Libary/obj/Libary.csproj.nuget.dgspec.json @@ -0,0 +1,79 @@ +{ + "format": 1, + "restore": { + "C:\\Users\\prdb\\RiderProjects\\Demochka\\demo_hard\\Libary\\Libary.csproj": {} + }, + "projects": { + "C:\\Users\\prdb\\RiderProjects\\Demochka\\demo_hard\\Libary\\Libary.csproj": { + "version": "1.0.0", + "restore": { + "projectUniqueName": "C:\\Users\\prdb\\RiderProjects\\Demochka\\demo_hard\\Libary\\Libary.csproj", + "projectName": "Libary", + "projectPath": "C:\\Users\\prdb\\RiderProjects\\Demochka\\demo_hard\\Libary\\Libary.csproj", + "packagesPath": "C:\\Users\\prdb\\.nuget\\packages\\", + "outputPath": "C:\\Users\\prdb\\RiderProjects\\Demochka\\demo_hard\\Libary\\obj\\", + "projectStyle": "PackageReference", + "fallbackFolders": [ + "C:\\Program Files (x86)\\Microsoft Visual Studio\\Shared\\NuGetPackages" + ], + "configFilePaths": [ + "C:\\Users\\prdb\\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": [ + "net9.0" + ], + "sources": { + "C:\\Program Files (x86)\\Microsoft SDKs\\NuGetPackages\\": {}, + "https://api.nuget.org/v3/index.json": {} + }, + "frameworks": { + "net9.0": { + "targetAlias": "net9.0", + "projectReferences": {} + } + }, + "warningProperties": { + "warnAsError": [ + "NU1605" + ] + }, + "restoreAuditProperties": { + "enableAudit": "true", + "auditLevel": "low", + "auditMode": "direct" + }, + "SdkAnalysisLevel": "9.0.200" + }, + "frameworks": { + "net9.0": { + "targetAlias": "net9.0", + "dependencies": { + "xunit": { + "target": "Package", + "version": "[2.9.3, )" + } + }, + "imports": [ + "net461", + "net462", + "net47", + "net471", + "net472", + "net48", + "net481" + ], + "assetTargetFallback": true, + "warn": true, + "frameworkReferences": { + "Microsoft.NETCore.App": { + "privateAssets": "all" + } + }, + "runtimeIdentifierGraphPath": "C:\\Program Files\\dotnet\\sdk\\9.0.200/PortableRuntimeIdentifierGraph.json" + } + } + } + } +} \ No newline at end of file diff --git a/Libary/obj/Libary.csproj.nuget.g.props b/Libary/obj/Libary.csproj.nuget.g.props new file mode 100644 index 0000000..1d5c7d1 --- /dev/null +++ b/Libary/obj/Libary.csproj.nuget.g.props @@ -0,0 +1,22 @@ + + + + True + NuGet + $(MSBuildThisFileDirectory)project.assets.json + $(UserProfile)\.nuget\packages\ + C:\Users\prdb\.nuget\packages\;C:\Program Files (x86)\Microsoft Visual Studio\Shared\NuGetPackages + PackageReference + 6.12.2 + + + + + + + + + + C:\Users\prdb\.nuget\packages\xunit.analyzers\1.18.0 + + \ No newline at end of file diff --git a/Libary/obj/Libary.csproj.nuget.g.targets b/Libary/obj/Libary.csproj.nuget.g.targets new file mode 100644 index 0000000..a592fcf --- /dev/null +++ b/Libary/obj/Libary.csproj.nuget.g.targets @@ -0,0 +1,6 @@ + + + + + + \ No newline at end of file diff --git a/Libary/obj/project.assets.json b/Libary/obj/project.assets.json new file mode 100644 index 0000000..e32f0b4 --- /dev/null +++ b/Libary/obj/project.assets.json @@ -0,0 +1,292 @@ +{ + "version": 3, + "targets": { + "net9.0": { + "xunit/2.9.3": { + "type": "package", + "dependencies": { + "xunit.analyzers": "1.18.0", + "xunit.assert": "2.9.3", + "xunit.core": "[2.9.3]" + } + }, + "xunit.abstractions/2.0.3": { + "type": "package", + "compile": { + "lib/netstandard2.0/xunit.abstractions.dll": { + "related": ".xml" + } + }, + "runtime": { + "lib/netstandard2.0/xunit.abstractions.dll": { + "related": ".xml" + } + } + }, + "xunit.analyzers/1.18.0": { + "type": "package" + }, + "xunit.assert/2.9.3": { + "type": "package", + "compile": { + "lib/net6.0/xunit.assert.dll": { + "related": ".xml" + } + }, + "runtime": { + "lib/net6.0/xunit.assert.dll": { + "related": ".xml" + } + } + }, + "xunit.core/2.9.3": { + "type": "package", + "dependencies": { + "xunit.extensibility.core": "[2.9.3]", + "xunit.extensibility.execution": "[2.9.3]" + }, + "build": { + "build/xunit.core.props": {}, + "build/xunit.core.targets": {} + }, + "buildMultiTargeting": { + "buildMultiTargeting/xunit.core.props": {}, + "buildMultiTargeting/xunit.core.targets": {} + } + }, + "xunit.extensibility.core/2.9.3": { + "type": "package", + "dependencies": { + "xunit.abstractions": "2.0.3" + }, + "compile": { + "lib/netstandard1.1/xunit.core.dll": { + "related": ".xml" + } + }, + "runtime": { + "lib/netstandard1.1/xunit.core.dll": { + "related": ".xml" + } + } + }, + "xunit.extensibility.execution/2.9.3": { + "type": "package", + "dependencies": { + "xunit.extensibility.core": "[2.9.3]" + }, + "compile": { + "lib/netstandard1.1/xunit.execution.dotnet.dll": { + "related": ".xml" + } + }, + "runtime": { + "lib/netstandard1.1/xunit.execution.dotnet.dll": { + "related": ".xml" + } + } + } + } + }, + "libraries": { + "xunit/2.9.3": { + "sha512": "TlXQBinK35LpOPKHAqbLY4xlEen9TBafjs0V5KnA4wZsoQLQJiirCR4CbIXvOH8NzkW4YeJKP5P/Bnrodm0h9Q==", + "type": "package", + "path": "xunit/2.9.3", + "files": [ + ".nupkg.metadata", + ".signature.p7s", + "_content/README.md", + "_content/logo-128-transparent.png", + "xunit.2.9.3.nupkg.sha512", + "xunit.nuspec" + ] + }, + "xunit.abstractions/2.0.3": { + "sha512": "pot1I4YOxlWjIb5jmwvvQNbTrZ3lJQ+jUGkGjWE3hEFM0l5gOnBWS+H3qsex68s5cO52g+44vpGzhAt+42vwKg==", + "type": "package", + "path": "xunit.abstractions/2.0.3", + "files": [ + ".nupkg.metadata", + ".signature.p7s", + "lib/net35/xunit.abstractions.dll", + "lib/net35/xunit.abstractions.xml", + "lib/netstandard1.0/xunit.abstractions.dll", + "lib/netstandard1.0/xunit.abstractions.xml", + "lib/netstandard2.0/xunit.abstractions.dll", + "lib/netstandard2.0/xunit.abstractions.xml", + "xunit.abstractions.2.0.3.nupkg.sha512", + "xunit.abstractions.nuspec" + ] + }, + "xunit.analyzers/1.18.0": { + "sha512": "OtFMHN8yqIcYP9wcVIgJrq01AfTxijjAqVDy/WeQVSyrDC1RzBWeQPztL49DN2syXRah8TYnfvk035s7L95EZQ==", + "type": "package", + "path": "xunit.analyzers/1.18.0", + "hasTools": true, + "files": [ + ".nupkg.metadata", + ".signature.p7s", + "_content/README.md", + "_content/logo-128-transparent.png", + "analyzers/dotnet/cs/xunit.analyzers.dll", + "analyzers/dotnet/cs/xunit.analyzers.fixes.dll", + "tools/install.ps1", + "tools/uninstall.ps1", + "xunit.analyzers.1.18.0.nupkg.sha512", + "xunit.analyzers.nuspec" + ] + }, + "xunit.assert/2.9.3": { + "sha512": "/Kq28fCE7MjOV42YLVRAJzRF0WmEqsmflm0cfpMjGtzQ2lR5mYVj1/i0Y8uDAOLczkL3/jArrwehfMD0YogMAA==", + "type": "package", + "path": "xunit.assert/2.9.3", + "files": [ + ".nupkg.metadata", + ".signature.p7s", + "_content/README.md", + "_content/logo-128-transparent.png", + "lib/net6.0/xunit.assert.dll", + "lib/net6.0/xunit.assert.xml", + "lib/netstandard1.1/xunit.assert.dll", + "lib/netstandard1.1/xunit.assert.xml", + "xunit.assert.2.9.3.nupkg.sha512", + "xunit.assert.nuspec" + ] + }, + "xunit.core/2.9.3": { + "sha512": "BiAEvqGvyme19wE0wTKdADH+NloYqikiU0mcnmiNyXaF9HyHmE6sr/3DC5vnBkgsWaE6yPyWszKSPSApWdRVeQ==", + "type": "package", + "path": "xunit.core/2.9.3", + "files": [ + ".nupkg.metadata", + ".signature.p7s", + "_content/README.md", + "_content/logo-128-transparent.png", + "build/xunit.core.props", + "build/xunit.core.targets", + "buildMultiTargeting/xunit.core.props", + "buildMultiTargeting/xunit.core.targets", + "xunit.core.2.9.3.nupkg.sha512", + "xunit.core.nuspec" + ] + }, + "xunit.extensibility.core/2.9.3": { + "sha512": "kf3si0YTn2a8J8eZNb+zFpwfoyvIrQ7ivNk5ZYA5yuYk1bEtMe4DxJ2CF/qsRgmEnDr7MnW1mxylBaHTZ4qErA==", + "type": "package", + "path": "xunit.extensibility.core/2.9.3", + "files": [ + ".nupkg.metadata", + ".signature.p7s", + "_content/README.md", + "_content/logo-128-transparent.png", + "lib/net452/xunit.core.dll", + "lib/net452/xunit.core.dll.tdnet", + "lib/net452/xunit.core.xml", + "lib/net452/xunit.runner.tdnet.dll", + "lib/net452/xunit.runner.utility.net452.dll", + "lib/netstandard1.1/xunit.core.dll", + "lib/netstandard1.1/xunit.core.xml", + "xunit.extensibility.core.2.9.3.nupkg.sha512", + "xunit.extensibility.core.nuspec" + ] + }, + "xunit.extensibility.execution/2.9.3": { + "sha512": "yMb6vMESlSrE3Wfj7V6cjQ3S4TXdXpRqYeNEI3zsX31uTsGMJjEw6oD5F5u1cHnMptjhEECnmZSsPxB6ChZHDQ==", + "type": "package", + "path": "xunit.extensibility.execution/2.9.3", + "files": [ + ".nupkg.metadata", + ".signature.p7s", + "_content/README.md", + "_content/logo-128-transparent.png", + "lib/net452/xunit.execution.desktop.dll", + "lib/net452/xunit.execution.desktop.xml", + "lib/netstandard1.1/xunit.execution.dotnet.dll", + "lib/netstandard1.1/xunit.execution.dotnet.xml", + "xunit.extensibility.execution.2.9.3.nupkg.sha512", + "xunit.extensibility.execution.nuspec" + ] + } + }, + "projectFileDependencyGroups": { + "net9.0": [ + "xunit >= 2.9.3" + ] + }, + "packageFolders": { + "C:\\Users\\prdb\\.nuget\\packages\\": {}, + "C:\\Program Files (x86)\\Microsoft Visual Studio\\Shared\\NuGetPackages": {} + }, + "project": { + "version": "1.0.0", + "restore": { + "projectUniqueName": "C:\\Users\\prdb\\RiderProjects\\Demochka\\demo_hard\\Libary\\Libary.csproj", + "projectName": "Libary", + "projectPath": "C:\\Users\\prdb\\RiderProjects\\Demochka\\demo_hard\\Libary\\Libary.csproj", + "packagesPath": "C:\\Users\\prdb\\.nuget\\packages\\", + "outputPath": "C:\\Users\\prdb\\RiderProjects\\Demochka\\demo_hard\\Libary\\obj\\", + "projectStyle": "PackageReference", + "fallbackFolders": [ + "C:\\Program Files (x86)\\Microsoft Visual Studio\\Shared\\NuGetPackages" + ], + "configFilePaths": [ + "C:\\Users\\prdb\\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": [ + "net9.0" + ], + "sources": { + "C:\\Program Files (x86)\\Microsoft SDKs\\NuGetPackages\\": {}, + "https://api.nuget.org/v3/index.json": {} + }, + "frameworks": { + "net9.0": { + "targetAlias": "net9.0", + "projectReferences": {} + } + }, + "warningProperties": { + "warnAsError": [ + "NU1605" + ] + }, + "restoreAuditProperties": { + "enableAudit": "true", + "auditLevel": "low", + "auditMode": "direct" + }, + "SdkAnalysisLevel": "9.0.200" + }, + "frameworks": { + "net9.0": { + "targetAlias": "net9.0", + "dependencies": { + "xunit": { + "target": "Package", + "version": "[2.9.3, )" + } + }, + "imports": [ + "net461", + "net462", + "net47", + "net471", + "net472", + "net48", + "net481" + ], + "assetTargetFallback": true, + "warn": true, + "frameworkReferences": { + "Microsoft.NETCore.App": { + "privateAssets": "all" + } + }, + "runtimeIdentifierGraphPath": "C:\\Program Files\\dotnet\\sdk\\9.0.200/PortableRuntimeIdentifierGraph.json" + } + } + } +} \ No newline at end of file diff --git a/Libary/obj/project.nuget.cache b/Libary/obj/project.nuget.cache new file mode 100644 index 0000000..1604b3b --- /dev/null +++ b/Libary/obj/project.nuget.cache @@ -0,0 +1,16 @@ +{ + "version": 2, + "dgSpecHash": "KgIAobI5FKU=", + "success": true, + "projectFilePath": "C:\\Users\\prdb\\RiderProjects\\Demochka\\demo_hard\\Libary\\Libary.csproj", + "expectedPackageFiles": [ + "C:\\Users\\prdb\\.nuget\\packages\\xunit\\2.9.3\\xunit.2.9.3.nupkg.sha512", + "C:\\Users\\prdb\\.nuget\\packages\\xunit.abstractions\\2.0.3\\xunit.abstractions.2.0.3.nupkg.sha512", + "C:\\Users\\prdb\\.nuget\\packages\\xunit.analyzers\\1.18.0\\xunit.analyzers.1.18.0.nupkg.sha512", + "C:\\Users\\prdb\\.nuget\\packages\\xunit.assert\\2.9.3\\xunit.assert.2.9.3.nupkg.sha512", + "C:\\Users\\prdb\\.nuget\\packages\\xunit.core\\2.9.3\\xunit.core.2.9.3.nupkg.sha512", + "C:\\Users\\prdb\\.nuget\\packages\\xunit.extensibility.core\\2.9.3\\xunit.extensibility.core.2.9.3.nupkg.sha512", + "C:\\Users\\prdb\\.nuget\\packages\\xunit.extensibility.execution\\2.9.3\\xunit.extensibility.execution.2.9.3.nupkg.sha512" + ], + "logs": [] +} \ No newline at end of file diff --git a/Libary/obj/project.packagespec.json b/Libary/obj/project.packagespec.json new file mode 100644 index 0000000..8fbb171 --- /dev/null +++ b/Libary/obj/project.packagespec.json @@ -0,0 +1 @@ +"restore":{"projectUniqueName":"C:\\Users\\prdb\\RiderProjects\\Demochka\\demo_hard\\Libary\\Libary.csproj","projectName":"Libary","projectPath":"C:\\Users\\prdb\\RiderProjects\\Demochka\\demo_hard\\Libary\\Libary.csproj","outputPath":"C:\\Users\\prdb\\RiderProjects\\Demochka\\demo_hard\\Libary\\obj\\","projectStyle":"PackageReference","fallbackFolders":["C:\\Program Files (x86)\\Microsoft Visual Studio\\Shared\\NuGetPackages"],"originalTargetFrameworks":["net9.0"],"sources":{"C:\\Program Files (x86)\\Microsoft SDKs\\NuGetPackages\\":{},"https://api.nuget.org/v3/index.json":{}},"frameworks":{"net9.0":{"targetAlias":"net9.0","projectReferences":{}}},"warningProperties":{"warnAsError":["NU1605"]},"restoreAuditProperties":{"enableAudit":"true","auditLevel":"low","auditMode":"direct"},"SdkAnalysisLevel":"9.0.200"}"frameworks":{"net9.0":{"targetAlias":"net9.0","dependencies":{"xunit":{"target":"Package","version":"[2.9.3, )"}},"imports":["net461","net462","net47","net471","net472","net48","net481"],"assetTargetFallback":true,"warn":true,"frameworkReferences":{"Microsoft.NETCore.App":{"privateAssets":"all"}},"runtimeIdentifierGraphPath":"C:\\Program Files\\dotnet\\sdk\\9.0.200/PortableRuntimeIdentifierGraph.json"}} \ No newline at end of file diff --git a/Libary/obj/rider.project.model.nuget.info b/Libary/obj/rider.project.model.nuget.info new file mode 100644 index 0000000..6406c11 --- /dev/null +++ b/Libary/obj/rider.project.model.nuget.info @@ -0,0 +1 @@ +17411645932179427 \ No newline at end of file diff --git a/Libary/obj/rider.project.restore.info b/Libary/obj/rider.project.restore.info new file mode 100644 index 0000000..6406c11 --- /dev/null +++ b/Libary/obj/rider.project.restore.info @@ -0,0 +1 @@ +17411645932179427 \ No newline at end of file diff --git a/Testik/Properties/AssemblyInfo.cs b/Testik/Properties/AssemblyInfo.cs new file mode 100644 index 0000000..7deba6a --- /dev/null +++ b/Testik/Properties/AssemblyInfo.cs @@ -0,0 +1,35 @@ +using System.Reflection; +using System.Runtime.InteropServices; + +// General Information about an assembly is controlled through the following +// set of attributes. Change these attribute values to modify the information +// associated with an assembly. +[assembly: AssemblyTitle("Testik")] +[assembly: AssemblyDescription("")] +[assembly: AssemblyConfiguration("")] +[assembly: AssemblyCompany("")] +[assembly: AssemblyProduct("Testik")] +[assembly: AssemblyCopyright("Copyright © 2025")] +[assembly: AssemblyTrademark("")] +[assembly: AssemblyCulture("")] + +// Setting ComVisible to false makes the types in this assembly not visible +// to COM components. If you need to access a type in this assembly from +// COM, set the ComVisible attribute to true on that type. +[assembly: ComVisible(false)] + +// The following GUID is for the ID of the typelib if this project is exposed to COM +[assembly: Guid("335A0192-2075-46A0-8CBD-19C8E0D83FD8")] + +// Version information for an assembly consists of the following four values: +// +// Major Version +// Minor Version +// Build Number +// Revision +// +// You can specify all the values or you can default the Build and Revision Numbers +// by using the '*' as shown below: +// [assembly: AssemblyVersion("1.0.*")] +[assembly: AssemblyVersion("1.0.0.0")] +[assembly: AssemblyFileVersion("1.0.0.0")] \ No newline at end of file diff --git a/Testik/Testik.csproj b/Testik/Testik.csproj new file mode 100644 index 0000000..76a5820 --- /dev/null +++ b/Testik/Testik.csproj @@ -0,0 +1,68 @@ + + + + + Debug + AnyCPU + {335A0192-2075-46A0-8CBD-19C8E0D83FD8} + {FAE04EC0-301F-11D3-BF4B-00C04F79EFBC} + Library + Properties + Testik + Testik + v4.8 + 512 + + + AnyCPU + true + full + false + bin\Debug\ + DEBUG;TRACE + prompt + 4 + + + AnyCPU + pdbonly + true + bin\Release\ + TRACE + prompt + 4 + + + + + + + + ..\packages\xunit.abstractions.2.0.0\lib\net35\xunit.abstractions.dll + + + ..\packages\xunit.assert.2.1.0\lib\dotnet\xunit.assert.dll + + + ..\packages\xunit.extensibility.core.2.1.0\lib\dotnet\xunit.core.dll + + + ..\packages\xunit.extensibility.execution.2.1.0\lib\net45\xunit.execution.desktop.dll + + + + + + + + + + + + diff --git a/Testik/Tests.cs b/Testik/Tests.cs new file mode 100644 index 0000000..342a428 --- /dev/null +++ b/Testik/Tests.cs @@ -0,0 +1,14 @@ +using System; +using Xunit; + +namespace Testik +{ + public class Tests + { + [Fact] + public void Test1() + { + Assert.True(true); + } + } +} \ No newline at end of file diff --git a/Testik/obj/Debug/.NETFramework,Version=v4.8.AssemblyAttributes.cs b/Testik/obj/Debug/.NETFramework,Version=v4.8.AssemblyAttributes.cs new file mode 100644 index 0000000..15efebf --- /dev/null +++ b/Testik/obj/Debug/.NETFramework,Version=v4.8.AssemblyAttributes.cs @@ -0,0 +1,4 @@ +// +using System; +using System.Reflection; +[assembly: global::System.Runtime.Versioning.TargetFrameworkAttribute(".NETFramework,Version=v4.8", FrameworkDisplayName = ".NET Framework 4.8")] diff --git a/Testik/obj/Debug/Testik.csproj.AssemblyReference.cache b/Testik/obj/Debug/Testik.csproj.AssemblyReference.cache new file mode 100644 index 0000000..b17c69f Binary files /dev/null and b/Testik/obj/Debug/Testik.csproj.AssemblyReference.cache differ diff --git a/Testik/packages.config b/Testik/packages.config new file mode 100644 index 0000000..69a4ec4 --- /dev/null +++ b/Testik/packages.config @@ -0,0 +1,9 @@ + + + + + + + + + \ No newline at end of file diff --git a/demo_hard.sln b/demo_hard.sln new file mode 100644 index 0000000..0992d3c --- /dev/null +++ b/demo_hard.sln @@ -0,0 +1,22 @@ + +Microsoft Visual Studio Solution File, Format Version 12.00 +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "demo_hard", "demo_hard\demo_hard.csproj", "{462FA6C8-C1C3-465F-B68C-4B501AC2F116}" +EndProject +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Libary", "Libary\Libary.csproj", "{94DA2397-CAC9-4DAE-9D65-A09B0BC64002}" +EndProject +Global + GlobalSection(SolutionConfigurationPlatforms) = preSolution + Debug|Any CPU = Debug|Any CPU + Release|Any CPU = Release|Any CPU + EndGlobalSection + GlobalSection(ProjectConfigurationPlatforms) = postSolution + {462FA6C8-C1C3-465F-B68C-4B501AC2F116}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {462FA6C8-C1C3-465F-B68C-4B501AC2F116}.Debug|Any CPU.Build.0 = Debug|Any CPU + {462FA6C8-C1C3-465F-B68C-4B501AC2F116}.Release|Any CPU.ActiveCfg = Release|Any CPU + {462FA6C8-C1C3-465F-B68C-4B501AC2F116}.Release|Any CPU.Build.0 = Release|Any CPU + {94DA2397-CAC9-4DAE-9D65-A09B0BC64002}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {94DA2397-CAC9-4DAE-9D65-A09B0BC64002}.Debug|Any CPU.Build.0 = Debug|Any CPU + {94DA2397-CAC9-4DAE-9D65-A09B0BC64002}.Release|Any CPU.ActiveCfg = Release|Any CPU + {94DA2397-CAC9-4DAE-9D65-A09B0BC64002}.Release|Any CPU.Build.0 = Release|Any CPU + EndGlobalSection +EndGlobal diff --git a/demo_hard/AddClient.axaml b/demo_hard/AddClient.axaml new file mode 100644 index 0000000..c9961d8 --- /dev/null +++ b/demo_hard/AddClient.axaml @@ -0,0 +1,36 @@ + + + + + + + + + + + + + + + + + + + + + + +