diff --git a/ToDoList/ToDoList/Attivia.cs b/ToDoList/ToDoList/Attivia.cs new file mode 100644 index 0000000..a6aae36 --- /dev/null +++ b/ToDoList/ToDoList/Attivia.cs @@ -0,0 +1,8 @@ +namespace ToDoList.Generics.Entities +{ + public class Attivita + { + public int Key { get; set; } + public string Descrizione { get; set; } + } +} diff --git a/ToDoList/ToDoList/Attivita.cs/Attivita.cs b/ToDoList/ToDoList/Attivita.cs/Attivita.cs new file mode 100644 index 0000000..a6aae36 --- /dev/null +++ b/ToDoList/ToDoList/Attivita.cs/Attivita.cs @@ -0,0 +1,8 @@ +namespace ToDoList.Generics.Entities +{ + public class Attivita + { + public int Key { get; set; } + public string Descrizione { get; set; } + } +} diff --git a/ToDoList/ToDoList/Attivita.cs/Attivita.cs.csproj b/ToDoList/ToDoList/Attivita.cs/Attivita.cs.csproj new file mode 100644 index 0000000..40c60dd --- /dev/null +++ b/ToDoList/ToDoList/Attivita.cs/Attivita.cs.csproj @@ -0,0 +1,10 @@ + + + + Exe + net6.0 + enable + enable + + + diff --git a/ToDoList/ToDoList/Attivita.cs/obj/Attivita.cs.csproj.nuget.dgspec.json b/ToDoList/ToDoList/Attivita.cs/obj/Attivita.cs.csproj.nuget.dgspec.json new file mode 100644 index 0000000..d86921b --- /dev/null +++ b/ToDoList/ToDoList/Attivita.cs/obj/Attivita.cs.csproj.nuget.dgspec.json @@ -0,0 +1,68 @@ +{ + "format": 1, + "restore": { + "C:\\Users\\emanu\\source\\repos\\ToDoList\\Attivita.cs\\Attivita.cs.csproj": {} + }, + "projects": { + "C:\\Users\\emanu\\source\\repos\\ToDoList\\Attivita.cs\\Attivita.cs.csproj": { + "version": "1.0.0", + "restore": { + "projectUniqueName": "C:\\Users\\emanu\\source\\repos\\ToDoList\\Attivita.cs\\Attivita.cs.csproj", + "projectName": "Attivita.cs", + "projectPath": "C:\\Users\\emanu\\source\\repos\\ToDoList\\Attivita.cs\\Attivita.cs.csproj", + "packagesPath": "C:\\Users\\emanu\\.nuget\\packages\\", + "outputPath": "C:\\Users\\emanu\\source\\repos\\ToDoList\\Attivita.cs\\obj\\", + "projectStyle": "PackageReference", + "configFilePaths": [ + "C:\\Users\\emanu\\AppData\\Roaming\\NuGet\\NuGet.Config", + "C:\\Program Files (x86)\\NuGet\\Config\\Microsoft.VisualStudio.Offline.config" + ], + "originalTargetFrameworks": [ + "net6.0" + ], + "sources": { + "C:\\Program Files (x86)\\Microsoft SDKs\\NuGetPackages\\": {}, + "https://api.nuget.org/v3/index.json": {} + }, + "frameworks": { + "net6.0": { + "targetAlias": "net6.0", + "projectReferences": {} + } + }, + "warningProperties": { + "warnAsError": [ + "NU1605" + ] + }, + "restoreAuditProperties": { + "enableAudit": "true", + "auditLevel": "low", + "auditMode": "direct" + } + }, + "frameworks": { + "net6.0": { + "targetAlias": "net6.0", + "imports": [ + "net461", + "net462", + "net47", + "net471", + "net472", + "net48", + "net481" + ], + "assetTargetFallback": true, + "warn": true, + "frameworkReferences": { + "Microsoft.NETCore.App": { + "privateAssets": "all" + } + }, + "runtimeIdentifierGraphPath": "C:\\Program Files\\dotnet\\sdk\\8.0.200\\RuntimeIdentifierGraph.json" + } + } + } + } +} \ No newline at end of file diff --git a/ToDoList/ToDoList/Attivita.cs/obj/Attivita.cs.csproj.nuget.g.props b/ToDoList/ToDoList/Attivita.cs/obj/Attivita.cs.csproj.nuget.g.props new file mode 100644 index 0000000..6799b52 --- /dev/null +++ b/ToDoList/ToDoList/Attivita.cs/obj/Attivita.cs.csproj.nuget.g.props @@ -0,0 +1,15 @@ + + + + True + NuGet + $(MSBuildThisFileDirectory)project.assets.json + $(UserProfile)\.nuget\packages\ + C:\Users\emanu\.nuget\packages\ + PackageReference + 6.9.1 + + + + + \ No newline at end of file diff --git a/ToDoList/ToDoList/Attivita.cs/obj/Attivita.cs.csproj.nuget.g.targets b/ToDoList/ToDoList/Attivita.cs/obj/Attivita.cs.csproj.nuget.g.targets new file mode 100644 index 0000000..35a7576 --- /dev/null +++ b/ToDoList/ToDoList/Attivita.cs/obj/Attivita.cs.csproj.nuget.g.targets @@ -0,0 +1,2 @@ + + \ No newline at end of file diff --git a/ToDoList/ToDoList/Attivita.cs/obj/Debug/net6.0/Attivita.cs.AssemblyInfo.cs b/ToDoList/ToDoList/Attivita.cs/obj/Debug/net6.0/Attivita.cs.AssemblyInfo.cs new file mode 100644 index 0000000..27df275 --- /dev/null +++ b/ToDoList/ToDoList/Attivita.cs/obj/Debug/net6.0/Attivita.cs.AssemblyInfo.cs @@ -0,0 +1,23 @@ +//------------------------------------------------------------------------------ +// +// 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. +// +//------------------------------------------------------------------------------ + +using System; +using System.Reflection; + +[assembly: System.Reflection.AssemblyCompanyAttribute("Attivita.cs")] +[assembly: System.Reflection.AssemblyConfigurationAttribute("Debug")] +[assembly: System.Reflection.AssemblyFileVersionAttribute("1.0.0.0")] +[assembly: System.Reflection.AssemblyInformationalVersionAttribute("1.0.0")] +[assembly: System.Reflection.AssemblyProductAttribute("Attivita.cs")] +[assembly: System.Reflection.AssemblyTitleAttribute("Attivita.cs")] +[assembly: System.Reflection.AssemblyVersionAttribute("1.0.0.0")] + +// Generated by the MSBuild WriteCodeFragment class. + diff --git a/ToDoList/ToDoList/Attivita.cs/obj/Debug/net6.0/Attivita.cs.AssemblyInfoInputs.cache b/ToDoList/ToDoList/Attivita.cs/obj/Debug/net6.0/Attivita.cs.AssemblyInfoInputs.cache new file mode 100644 index 0000000..61d5923 --- /dev/null +++ b/ToDoList/ToDoList/Attivita.cs/obj/Debug/net6.0/Attivita.cs.AssemblyInfoInputs.cache @@ -0,0 +1 @@ +82a0fdb4c783410252a8b23a308ddf30b41c1dc759952b48ccd88645a5bab561 diff --git a/ToDoList/ToDoList/Attivita.cs/obj/Debug/net6.0/Attivita.cs.GeneratedMSBuildEditorConfig.editorconfig b/ToDoList/ToDoList/Attivita.cs/obj/Debug/net6.0/Attivita.cs.GeneratedMSBuildEditorConfig.editorconfig new file mode 100644 index 0000000..d549864 --- /dev/null +++ b/ToDoList/ToDoList/Attivita.cs/obj/Debug/net6.0/Attivita.cs.GeneratedMSBuildEditorConfig.editorconfig @@ -0,0 +1,13 @@ +is_global = true +build_property.TargetFramework = net6.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 = Attivita.cs +build_property.ProjectDir = C:\Users\emanu\OneDrive\Desktop\ITSAPULIA\TestAPULIA\ToDoList\ToDoList\Attivita.cs\ +build_property.EnableComHosting = +build_property.EnableGeneratedComInterfaceComImportInterop = diff --git a/ToDoList/ToDoList/Attivita.cs/obj/Debug/net6.0/Attivita.cs.GlobalUsings.g.cs b/ToDoList/ToDoList/Attivita.cs/obj/Debug/net6.0/Attivita.cs.GlobalUsings.g.cs new file mode 100644 index 0000000..ac22929 --- /dev/null +++ b/ToDoList/ToDoList/Attivita.cs/obj/Debug/net6.0/Attivita.cs.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/ToDoList/ToDoList/Attivita.cs/obj/Debug/net6.0/Attivita.cs.assets.cache b/ToDoList/ToDoList/Attivita.cs/obj/Debug/net6.0/Attivita.cs.assets.cache new file mode 100644 index 0000000..f94d31d Binary files /dev/null and b/ToDoList/ToDoList/Attivita.cs/obj/Debug/net6.0/Attivita.cs.assets.cache differ diff --git a/ToDoList/ToDoList/Attivita.cs/obj/Release/net6.0/Attivita.cs.AssemblyInfo.cs b/ToDoList/ToDoList/Attivita.cs/obj/Release/net6.0/Attivita.cs.AssemblyInfo.cs new file mode 100644 index 0000000..df4966e --- /dev/null +++ b/ToDoList/ToDoList/Attivita.cs/obj/Release/net6.0/Attivita.cs.AssemblyInfo.cs @@ -0,0 +1,23 @@ +//------------------------------------------------------------------------------ +// +// 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. +// +//------------------------------------------------------------------------------ + +using System; +using System.Reflection; + +[assembly: System.Reflection.AssemblyCompanyAttribute("Attivita.cs")] +[assembly: System.Reflection.AssemblyConfigurationAttribute("Release")] +[assembly: System.Reflection.AssemblyFileVersionAttribute("1.0.0.0")] +[assembly: System.Reflection.AssemblyInformationalVersionAttribute("1.0.0")] +[assembly: System.Reflection.AssemblyProductAttribute("Attivita.cs")] +[assembly: System.Reflection.AssemblyTitleAttribute("Attivita.cs")] +[assembly: System.Reflection.AssemblyVersionAttribute("1.0.0.0")] + +// Generated by the MSBuild WriteCodeFragment class. + diff --git a/ToDoList/ToDoList/Attivita.cs/obj/Release/net6.0/Attivita.cs.AssemblyInfoInputs.cache b/ToDoList/ToDoList/Attivita.cs/obj/Release/net6.0/Attivita.cs.AssemblyInfoInputs.cache new file mode 100644 index 0000000..06219c6 --- /dev/null +++ b/ToDoList/ToDoList/Attivita.cs/obj/Release/net6.0/Attivita.cs.AssemblyInfoInputs.cache @@ -0,0 +1 @@ +0bd0159dfab93fb5e0bfb873c05a8a92d25acc75e46c02b76cf39b076d6ed287 diff --git a/ToDoList/ToDoList/Attivita.cs/obj/Release/net6.0/Attivita.cs.GeneratedMSBuildEditorConfig.editorconfig b/ToDoList/ToDoList/Attivita.cs/obj/Release/net6.0/Attivita.cs.GeneratedMSBuildEditorConfig.editorconfig new file mode 100644 index 0000000..d549864 --- /dev/null +++ b/ToDoList/ToDoList/Attivita.cs/obj/Release/net6.0/Attivita.cs.GeneratedMSBuildEditorConfig.editorconfig @@ -0,0 +1,13 @@ +is_global = true +build_property.TargetFramework = net6.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 = Attivita.cs +build_property.ProjectDir = C:\Users\emanu\OneDrive\Desktop\ITSAPULIA\TestAPULIA\ToDoList\ToDoList\Attivita.cs\ +build_property.EnableComHosting = +build_property.EnableGeneratedComInterfaceComImportInterop = diff --git a/ToDoList/ToDoList/Attivita.cs/obj/Release/net6.0/Attivita.cs.GlobalUsings.g.cs b/ToDoList/ToDoList/Attivita.cs/obj/Release/net6.0/Attivita.cs.GlobalUsings.g.cs new file mode 100644 index 0000000..ac22929 --- /dev/null +++ b/ToDoList/ToDoList/Attivita.cs/obj/Release/net6.0/Attivita.cs.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/ToDoList/ToDoList/Attivita.cs/obj/Release/net6.0/Attivita.cs.assets.cache b/ToDoList/ToDoList/Attivita.cs/obj/Release/net6.0/Attivita.cs.assets.cache new file mode 100644 index 0000000..a72d0bb Binary files /dev/null and b/ToDoList/ToDoList/Attivita.cs/obj/Release/net6.0/Attivita.cs.assets.cache differ diff --git a/ToDoList/ToDoList/Attivita.cs/obj/project.assets.json b/ToDoList/ToDoList/Attivita.cs/obj/project.assets.json new file mode 100644 index 0000000..84f14cb --- /dev/null +++ b/ToDoList/ToDoList/Attivita.cs/obj/project.assets.json @@ -0,0 +1,73 @@ +{ + "version": 3, + "targets": { + "net6.0": {} + }, + "libraries": {}, + "projectFileDependencyGroups": { + "net6.0": [] + }, + "packageFolders": { + "C:\\Users\\emanu\\.nuget\\packages\\": {} + }, + "project": { + "version": "1.0.0", + "restore": { + "projectUniqueName": "C:\\Users\\emanu\\source\\repos\\ToDoList\\Attivita.cs\\Attivita.cs.csproj", + "projectName": "Attivita.cs", + "projectPath": "C:\\Users\\emanu\\source\\repos\\ToDoList\\Attivita.cs\\Attivita.cs.csproj", + "packagesPath": "C:\\Users\\emanu\\.nuget\\packages\\", + "outputPath": "C:\\Users\\emanu\\source\\repos\\ToDoList\\Attivita.cs\\obj\\", + "projectStyle": "PackageReference", + "configFilePaths": [ + "C:\\Users\\emanu\\AppData\\Roaming\\NuGet\\NuGet.Config", + "C:\\Program Files (x86)\\NuGet\\Config\\Microsoft.VisualStudio.Offline.config" + ], + "originalTargetFrameworks": [ + "net6.0" + ], + "sources": { + "C:\\Program Files (x86)\\Microsoft SDKs\\NuGetPackages\\": {}, + "https://api.nuget.org/v3/index.json": {} + }, + "frameworks": { + "net6.0": { + "targetAlias": "net6.0", + "projectReferences": {} + } + }, + "warningProperties": { + "warnAsError": [ + "NU1605" + ] + }, + "restoreAuditProperties": { + "enableAudit": "true", + "auditLevel": "low", + "auditMode": "direct" + } + }, + "frameworks": { + "net6.0": { + "targetAlias": "net6.0", + "imports": [ + "net461", + "net462", + "net47", + "net471", + "net472", + "net48", + "net481" + ], + "assetTargetFallback": true, + "warn": true, + "frameworkReferences": { + "Microsoft.NETCore.App": { + "privateAssets": "all" + } + }, + "runtimeIdentifierGraphPath": "C:\\Program Files\\dotnet\\sdk\\8.0.200\\RuntimeIdentifierGraph.json" + } + } + } +} \ No newline at end of file diff --git a/ToDoList/ToDoList/Attivita.cs/obj/project.nuget.cache b/ToDoList/ToDoList/Attivita.cs/obj/project.nuget.cache new file mode 100644 index 0000000..e7a125e --- /dev/null +++ b/ToDoList/ToDoList/Attivita.cs/obj/project.nuget.cache @@ -0,0 +1,8 @@ +{ + "version": 2, + "dgSpecHash": "Oo/FFypJAlE4+rVTDPe1tcbiqXH3aHG9MsUXrFiHoSE24Jfn4HgTNa7jZ0SsQ8P7ZH/zIhqJAquXXb7cTfiJsQ==", + "success": true, + "projectFilePath": "C:\\Users\\emanu\\source\\repos\\ToDoList\\Attivita.cs\\Attivita.cs.csproj", + "expectedPackageFiles": [], + "logs": [] +} \ No newline at end of file diff --git a/ToDoList/ToDoList/AttivitaRepositori.cs b/ToDoList/ToDoList/AttivitaRepositori.cs new file mode 100644 index 0000000..ce0cebc --- /dev/null +++ b/ToDoList/ToDoList/AttivitaRepositori.cs @@ -0,0 +1,57 @@ +using System; +using System.Collections.Generic; +using System.Linq; +using ToDoList.Generics.Entities; +using ToDoList.Generics.Interfaces; + +namespace ToDoList.Generics.Repository +{ + public class AttivitaRepository : ICrud + { + private List attivitaList = new List(); + private int nextKey = 1; + + public Attivita Create(Attivita item) + { + item.Key = nextKey++; + attivitaList.Add(item); + return item; + } + + public Attivita GetById(int key) + { + return attivitaList.FirstOrDefault(a => a.Key == key); + } + + public bool Update(Attivita item) + { + var existingAttivita = GetById(item.Key); + if (existingAttivita != null) + { + existingAttivita.Descrizione = item.Descrizione; + return true; + } + return false; + } + + public bool Delete(int key) + { + var attivita = GetById(key); + if (attivita == null) + return false; + + attivitaList.Remove(attivita); + return true; + } + + public List GetAll() + { + return attivitaList; + } + + public void Print(string message) + { + Console.WriteLine(message); + } + } +} diff --git a/ToDoList/ToDoList/AttivitaRepository.cs/AttivitaRepository.cs b/ToDoList/ToDoList/AttivitaRepository.cs/AttivitaRepository.cs new file mode 100644 index 0000000..144c305 --- /dev/null +++ b/ToDoList/ToDoList/AttivitaRepository.cs/AttivitaRepository.cs @@ -0,0 +1,49 @@ +using System; +using System.Collections.Generic; +using System.Linq; +using ToDoList.Generics.Entities; +using ToDoList.Generics.Interfaces; + +namespace ToDoList.Generics.Repository +{ + public class AttivitaRepository : IAttivitaRepository + { + private List attivitaList = new List(); + private int nextKey = 1; + + public Attivita Create(Attivita item) + { + item.Key = nextKey++; + attivitaList.Add(item); + return item; + } + + public bool Delete(int key) + { + var attivita = attivitaList.FirstOrDefault(a => a.Key == key); + if (attivita == null) + return false; + + attivitaList.Remove(attivita); + return true; + } + + public List GetAll() + { + return attivitaList; + } + + public void Print(string message) + { + Console.WriteLine(message); + } + } + + internal class Attivita + { + } + + public interface IAttivitaRepository + { + } +} diff --git a/ToDoList/ToDoList/AttivitaRepository.cs/AttivitaRepository.cs.csproj b/ToDoList/ToDoList/AttivitaRepository.cs/AttivitaRepository.cs.csproj new file mode 100644 index 0000000..40c60dd --- /dev/null +++ b/ToDoList/ToDoList/AttivitaRepository.cs/AttivitaRepository.cs.csproj @@ -0,0 +1,10 @@ + + + + Exe + net6.0 + enable + enable + + + diff --git a/ToDoList/ToDoList/AttivitaRepository.cs/obj/AttivitaRepository.cs.csproj.nuget.dgspec.json b/ToDoList/ToDoList/AttivitaRepository.cs/obj/AttivitaRepository.cs.csproj.nuget.dgspec.json new file mode 100644 index 0000000..1b308a7 --- /dev/null +++ b/ToDoList/ToDoList/AttivitaRepository.cs/obj/AttivitaRepository.cs.csproj.nuget.dgspec.json @@ -0,0 +1,68 @@ +{ + "format": 1, + "restore": { + "C:\\Users\\emanu\\source\\repos\\ToDoList\\AttivitaRepository.cs\\AttivitaRepository.cs.csproj": {} + }, + "projects": { + "C:\\Users\\emanu\\source\\repos\\ToDoList\\AttivitaRepository.cs\\AttivitaRepository.cs.csproj": { + "version": "1.0.0", + "restore": { + "projectUniqueName": "C:\\Users\\emanu\\source\\repos\\ToDoList\\AttivitaRepository.cs\\AttivitaRepository.cs.csproj", + "projectName": "AttivitaRepository.cs", + "projectPath": "C:\\Users\\emanu\\source\\repos\\ToDoList\\AttivitaRepository.cs\\AttivitaRepository.cs.csproj", + "packagesPath": "C:\\Users\\emanu\\.nuget\\packages\\", + "outputPath": "C:\\Users\\emanu\\source\\repos\\ToDoList\\AttivitaRepository.cs\\obj\\", + "projectStyle": "PackageReference", + "configFilePaths": [ + "C:\\Users\\emanu\\AppData\\Roaming\\NuGet\\NuGet.Config", + "C:\\Program Files (x86)\\NuGet\\Config\\Microsoft.VisualStudio.Offline.config" + ], + "originalTargetFrameworks": [ + "net6.0" + ], + "sources": { + "C:\\Program Files (x86)\\Microsoft SDKs\\NuGetPackages\\": {}, + "https://api.nuget.org/v3/index.json": {} + }, + "frameworks": { + "net6.0": { + "targetAlias": "net6.0", + "projectReferences": {} + } + }, + "warningProperties": { + "warnAsError": [ + "NU1605" + ] + }, + "restoreAuditProperties": { + "enableAudit": "true", + "auditLevel": "low", + "auditMode": "direct" + } + }, + "frameworks": { + "net6.0": { + "targetAlias": "net6.0", + "imports": [ + "net461", + "net462", + "net47", + "net471", + "net472", + "net48", + "net481" + ], + "assetTargetFallback": true, + "warn": true, + "frameworkReferences": { + "Microsoft.NETCore.App": { + "privateAssets": "all" + } + }, + "runtimeIdentifierGraphPath": "C:\\Program Files\\dotnet\\sdk\\8.0.200\\RuntimeIdentifierGraph.json" + } + } + } + } +} \ No newline at end of file diff --git a/ToDoList/ToDoList/AttivitaRepository.cs/obj/AttivitaRepository.cs.csproj.nuget.g.props b/ToDoList/ToDoList/AttivitaRepository.cs/obj/AttivitaRepository.cs.csproj.nuget.g.props new file mode 100644 index 0000000..6799b52 --- /dev/null +++ b/ToDoList/ToDoList/AttivitaRepository.cs/obj/AttivitaRepository.cs.csproj.nuget.g.props @@ -0,0 +1,15 @@ + + + + True + NuGet + $(MSBuildThisFileDirectory)project.assets.json + $(UserProfile)\.nuget\packages\ + C:\Users\emanu\.nuget\packages\ + PackageReference + 6.9.1 + + + + + \ No newline at end of file diff --git a/ToDoList/ToDoList/AttivitaRepository.cs/obj/AttivitaRepository.cs.csproj.nuget.g.targets b/ToDoList/ToDoList/AttivitaRepository.cs/obj/AttivitaRepository.cs.csproj.nuget.g.targets new file mode 100644 index 0000000..35a7576 --- /dev/null +++ b/ToDoList/ToDoList/AttivitaRepository.cs/obj/AttivitaRepository.cs.csproj.nuget.g.targets @@ -0,0 +1,2 @@ + + \ No newline at end of file diff --git a/ToDoList/ToDoList/AttivitaRepository.cs/obj/Debug/net6.0/AttivitaRepository.cs.AssemblyInfo.cs b/ToDoList/ToDoList/AttivitaRepository.cs/obj/Debug/net6.0/AttivitaRepository.cs.AssemblyInfo.cs new file mode 100644 index 0000000..e962215 --- /dev/null +++ b/ToDoList/ToDoList/AttivitaRepository.cs/obj/Debug/net6.0/AttivitaRepository.cs.AssemblyInfo.cs @@ -0,0 +1,23 @@ +//------------------------------------------------------------------------------ +// +// 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. +// +//------------------------------------------------------------------------------ + +using System; +using System.Reflection; + +[assembly: System.Reflection.AssemblyCompanyAttribute("AttivitaRepository.cs")] +[assembly: System.Reflection.AssemblyConfigurationAttribute("Debug")] +[assembly: System.Reflection.AssemblyFileVersionAttribute("1.0.0.0")] +[assembly: System.Reflection.AssemblyInformationalVersionAttribute("1.0.0")] +[assembly: System.Reflection.AssemblyProductAttribute("AttivitaRepository.cs")] +[assembly: System.Reflection.AssemblyTitleAttribute("AttivitaRepository.cs")] +[assembly: System.Reflection.AssemblyVersionAttribute("1.0.0.0")] + +// Generated by the MSBuild WriteCodeFragment class. + diff --git a/ToDoList/ToDoList/AttivitaRepository.cs/obj/Debug/net6.0/AttivitaRepository.cs.AssemblyInfoInputs.cache b/ToDoList/ToDoList/AttivitaRepository.cs/obj/Debug/net6.0/AttivitaRepository.cs.AssemblyInfoInputs.cache new file mode 100644 index 0000000..78a133b --- /dev/null +++ b/ToDoList/ToDoList/AttivitaRepository.cs/obj/Debug/net6.0/AttivitaRepository.cs.AssemblyInfoInputs.cache @@ -0,0 +1 @@ +a89af3629ec942ebb331326c3c71c62f84c40ebf57e0e951654aa42737e6a45e diff --git a/ToDoList/ToDoList/AttivitaRepository.cs/obj/Debug/net6.0/AttivitaRepository.cs.GeneratedMSBuildEditorConfig.editorconfig b/ToDoList/ToDoList/AttivitaRepository.cs/obj/Debug/net6.0/AttivitaRepository.cs.GeneratedMSBuildEditorConfig.editorconfig new file mode 100644 index 0000000..2fe0ffe --- /dev/null +++ b/ToDoList/ToDoList/AttivitaRepository.cs/obj/Debug/net6.0/AttivitaRepository.cs.GeneratedMSBuildEditorConfig.editorconfig @@ -0,0 +1,13 @@ +is_global = true +build_property.TargetFramework = net6.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 = AttivitaRepository.cs +build_property.ProjectDir = C:\Users\emanu\OneDrive\Desktop\ITSAPULIA\TestAPULIA\ToDoList\ToDoList\AttivitaRepository.cs\ +build_property.EnableComHosting = +build_property.EnableGeneratedComInterfaceComImportInterop = diff --git a/ToDoList/ToDoList/AttivitaRepository.cs/obj/Debug/net6.0/AttivitaRepository.cs.GlobalUsings.g.cs b/ToDoList/ToDoList/AttivitaRepository.cs/obj/Debug/net6.0/AttivitaRepository.cs.GlobalUsings.g.cs new file mode 100644 index 0000000..ac22929 --- /dev/null +++ b/ToDoList/ToDoList/AttivitaRepository.cs/obj/Debug/net6.0/AttivitaRepository.cs.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/ToDoList/ToDoList/AttivitaRepository.cs/obj/Debug/net6.0/AttivitaRepository.cs.assets.cache b/ToDoList/ToDoList/AttivitaRepository.cs/obj/Debug/net6.0/AttivitaRepository.cs.assets.cache new file mode 100644 index 0000000..878326e Binary files /dev/null and b/ToDoList/ToDoList/AttivitaRepository.cs/obj/Debug/net6.0/AttivitaRepository.cs.assets.cache differ diff --git a/ToDoList/ToDoList/AttivitaRepository.cs/obj/Release/net6.0/AttivitaRepository.cs.AssemblyInfo.cs b/ToDoList/ToDoList/AttivitaRepository.cs/obj/Release/net6.0/AttivitaRepository.cs.AssemblyInfo.cs new file mode 100644 index 0000000..efec675 --- /dev/null +++ b/ToDoList/ToDoList/AttivitaRepository.cs/obj/Release/net6.0/AttivitaRepository.cs.AssemblyInfo.cs @@ -0,0 +1,23 @@ +//------------------------------------------------------------------------------ +// +// 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. +// +//------------------------------------------------------------------------------ + +using System; +using System.Reflection; + +[assembly: System.Reflection.AssemblyCompanyAttribute("AttivitaRepository.cs")] +[assembly: System.Reflection.AssemblyConfigurationAttribute("Release")] +[assembly: System.Reflection.AssemblyFileVersionAttribute("1.0.0.0")] +[assembly: System.Reflection.AssemblyInformationalVersionAttribute("1.0.0")] +[assembly: System.Reflection.AssemblyProductAttribute("AttivitaRepository.cs")] +[assembly: System.Reflection.AssemblyTitleAttribute("AttivitaRepository.cs")] +[assembly: System.Reflection.AssemblyVersionAttribute("1.0.0.0")] + +// Generated by the MSBuild WriteCodeFragment class. + diff --git a/ToDoList/ToDoList/AttivitaRepository.cs/obj/Release/net6.0/AttivitaRepository.cs.AssemblyInfoInputs.cache b/ToDoList/ToDoList/AttivitaRepository.cs/obj/Release/net6.0/AttivitaRepository.cs.AssemblyInfoInputs.cache new file mode 100644 index 0000000..87150c6 --- /dev/null +++ b/ToDoList/ToDoList/AttivitaRepository.cs/obj/Release/net6.0/AttivitaRepository.cs.AssemblyInfoInputs.cache @@ -0,0 +1 @@ +9db6527dd4c9abd3e3e0ebfcf33c14ec9e783456c0fc4297cd4b6ca9520218ca diff --git a/ToDoList/ToDoList/AttivitaRepository.cs/obj/Release/net6.0/AttivitaRepository.cs.GeneratedMSBuildEditorConfig.editorconfig b/ToDoList/ToDoList/AttivitaRepository.cs/obj/Release/net6.0/AttivitaRepository.cs.GeneratedMSBuildEditorConfig.editorconfig new file mode 100644 index 0000000..2fe0ffe --- /dev/null +++ b/ToDoList/ToDoList/AttivitaRepository.cs/obj/Release/net6.0/AttivitaRepository.cs.GeneratedMSBuildEditorConfig.editorconfig @@ -0,0 +1,13 @@ +is_global = true +build_property.TargetFramework = net6.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 = AttivitaRepository.cs +build_property.ProjectDir = C:\Users\emanu\OneDrive\Desktop\ITSAPULIA\TestAPULIA\ToDoList\ToDoList\AttivitaRepository.cs\ +build_property.EnableComHosting = +build_property.EnableGeneratedComInterfaceComImportInterop = diff --git a/ToDoList/ToDoList/AttivitaRepository.cs/obj/Release/net6.0/AttivitaRepository.cs.GlobalUsings.g.cs b/ToDoList/ToDoList/AttivitaRepository.cs/obj/Release/net6.0/AttivitaRepository.cs.GlobalUsings.g.cs new file mode 100644 index 0000000..ac22929 --- /dev/null +++ b/ToDoList/ToDoList/AttivitaRepository.cs/obj/Release/net6.0/AttivitaRepository.cs.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/ToDoList/ToDoList/AttivitaRepository.cs/obj/Release/net6.0/AttivitaRepository.cs.assets.cache b/ToDoList/ToDoList/AttivitaRepository.cs/obj/Release/net6.0/AttivitaRepository.cs.assets.cache new file mode 100644 index 0000000..166fa44 Binary files /dev/null and b/ToDoList/ToDoList/AttivitaRepository.cs/obj/Release/net6.0/AttivitaRepository.cs.assets.cache differ diff --git a/ToDoList/ToDoList/AttivitaRepository.cs/obj/project.assets.json b/ToDoList/ToDoList/AttivitaRepository.cs/obj/project.assets.json new file mode 100644 index 0000000..a785af6 --- /dev/null +++ b/ToDoList/ToDoList/AttivitaRepository.cs/obj/project.assets.json @@ -0,0 +1,73 @@ +{ + "version": 3, + "targets": { + "net6.0": {} + }, + "libraries": {}, + "projectFileDependencyGroups": { + "net6.0": [] + }, + "packageFolders": { + "C:\\Users\\emanu\\.nuget\\packages\\": {} + }, + "project": { + "version": "1.0.0", + "restore": { + "projectUniqueName": "C:\\Users\\emanu\\source\\repos\\ToDoList\\AttivitaRepository.cs\\AttivitaRepository.cs.csproj", + "projectName": "AttivitaRepository.cs", + "projectPath": "C:\\Users\\emanu\\source\\repos\\ToDoList\\AttivitaRepository.cs\\AttivitaRepository.cs.csproj", + "packagesPath": "C:\\Users\\emanu\\.nuget\\packages\\", + "outputPath": "C:\\Users\\emanu\\source\\repos\\ToDoList\\AttivitaRepository.cs\\obj\\", + "projectStyle": "PackageReference", + "configFilePaths": [ + "C:\\Users\\emanu\\AppData\\Roaming\\NuGet\\NuGet.Config", + "C:\\Program Files (x86)\\NuGet\\Config\\Microsoft.VisualStudio.Offline.config" + ], + "originalTargetFrameworks": [ + "net6.0" + ], + "sources": { + "C:\\Program Files (x86)\\Microsoft SDKs\\NuGetPackages\\": {}, + "https://api.nuget.org/v3/index.json": {} + }, + "frameworks": { + "net6.0": { + "targetAlias": "net6.0", + "projectReferences": {} + } + }, + "warningProperties": { + "warnAsError": [ + "NU1605" + ] + }, + "restoreAuditProperties": { + "enableAudit": "true", + "auditLevel": "low", + "auditMode": "direct" + } + }, + "frameworks": { + "net6.0": { + "targetAlias": "net6.0", + "imports": [ + "net461", + "net462", + "net47", + "net471", + "net472", + "net48", + "net481" + ], + "assetTargetFallback": true, + "warn": true, + "frameworkReferences": { + "Microsoft.NETCore.App": { + "privateAssets": "all" + } + }, + "runtimeIdentifierGraphPath": "C:\\Program Files\\dotnet\\sdk\\8.0.200\\RuntimeIdentifierGraph.json" + } + } + } +} \ No newline at end of file diff --git a/ToDoList/ToDoList/AttivitaRepository.cs/obj/project.nuget.cache b/ToDoList/ToDoList/AttivitaRepository.cs/obj/project.nuget.cache new file mode 100644 index 0000000..de71c68 --- /dev/null +++ b/ToDoList/ToDoList/AttivitaRepository.cs/obj/project.nuget.cache @@ -0,0 +1,8 @@ +{ + "version": 2, + "dgSpecHash": "SGKQ6Tu7qJublZirBI6BDIYvXTBnQwvsMlvP2xfsCcxw/eEcQ6nnNcSzd/C3XNF7BzbV6YPk7i3d03dmiExrzw==", + "success": true, + "projectFilePath": "C:\\Users\\emanu\\source\\repos\\ToDoList\\AttivitaRepository.cs\\AttivitaRepository.cs.csproj", + "expectedPackageFiles": [], + "logs": [] +} \ No newline at end of file diff --git a/ToDoList/ToDoList/IAttivitaRepository.cs/IAttivitaRepository.cs b/ToDoList/ToDoList/IAttivitaRepository.cs/IAttivitaRepository.cs new file mode 100644 index 0000000..d04874e --- /dev/null +++ b/ToDoList/ToDoList/IAttivitaRepository.cs/IAttivitaRepository.cs @@ -0,0 +1,15 @@ +using System; +using System.Collections.Generic; +using ToDoList.Generics.Entities; + +namespace ToDoList.Generics.Interfaces +{ + public interface IAttivitaRepository + { + Attivita Create(Attivita item); + bool Delete(int key); + List GetAll(); + void Print(string message); + } +} + diff --git a/ToDoList/ToDoList/IAttivitaRepository.cs/IAttivitaRepository.cs.csproj b/ToDoList/ToDoList/IAttivitaRepository.cs/IAttivitaRepository.cs.csproj new file mode 100644 index 0000000..40c60dd --- /dev/null +++ b/ToDoList/ToDoList/IAttivitaRepository.cs/IAttivitaRepository.cs.csproj @@ -0,0 +1,10 @@ + + + + Exe + net6.0 + enable + enable + + + diff --git a/ToDoList/ToDoList/IAttivitaRepository.cs/ICrud.cs b/ToDoList/ToDoList/IAttivitaRepository.cs/ICrud.cs new file mode 100644 index 0000000..abb39c4 --- /dev/null +++ b/ToDoList/ToDoList/IAttivitaRepository.cs/ICrud.cs @@ -0,0 +1,18 @@ +using System; +using System.Collections.Generic; +using System.Linq; +using System.Text; +using System.Threading.Tasks; + +namespace ToDoList.Generics.Interfaces +{ + public interface ICrud + { + T Create(T item); + T GetById(int id); + bool Update(T item); + bool Delete(int id); + List GetAll(); + } +} + diff --git a/ToDoList/ToDoList/IAttivitaRepository.cs/obj/Debug/net6.0/IAttivitaRepository.cs.AssemblyInfo.cs b/ToDoList/ToDoList/IAttivitaRepository.cs/obj/Debug/net6.0/IAttivitaRepository.cs.AssemblyInfo.cs new file mode 100644 index 0000000..9b5b931 --- /dev/null +++ b/ToDoList/ToDoList/IAttivitaRepository.cs/obj/Debug/net6.0/IAttivitaRepository.cs.AssemblyInfo.cs @@ -0,0 +1,23 @@ +//------------------------------------------------------------------------------ +// +// 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. +// +//------------------------------------------------------------------------------ + +using System; +using System.Reflection; + +[assembly: System.Reflection.AssemblyCompanyAttribute("IAttivitaRepository.cs")] +[assembly: System.Reflection.AssemblyConfigurationAttribute("Debug")] +[assembly: System.Reflection.AssemblyFileVersionAttribute("1.0.0.0")] +[assembly: System.Reflection.AssemblyInformationalVersionAttribute("1.0.0")] +[assembly: System.Reflection.AssemblyProductAttribute("IAttivitaRepository.cs")] +[assembly: System.Reflection.AssemblyTitleAttribute("IAttivitaRepository.cs")] +[assembly: System.Reflection.AssemblyVersionAttribute("1.0.0.0")] + +// Generated by the MSBuild WriteCodeFragment class. + diff --git a/ToDoList/ToDoList/IAttivitaRepository.cs/obj/Debug/net6.0/IAttivitaRepository.cs.AssemblyInfoInputs.cache b/ToDoList/ToDoList/IAttivitaRepository.cs/obj/Debug/net6.0/IAttivitaRepository.cs.AssemblyInfoInputs.cache new file mode 100644 index 0000000..e1b38a8 --- /dev/null +++ b/ToDoList/ToDoList/IAttivitaRepository.cs/obj/Debug/net6.0/IAttivitaRepository.cs.AssemblyInfoInputs.cache @@ -0,0 +1 @@ +95c9a58a4e819ab28e74601f5fa6d43702d09a5bd4a28ce0db5f5856168cfbc1 diff --git a/ToDoList/ToDoList/IAttivitaRepository.cs/obj/Debug/net6.0/IAttivitaRepository.cs.GeneratedMSBuildEditorConfig.editorconfig b/ToDoList/ToDoList/IAttivitaRepository.cs/obj/Debug/net6.0/IAttivitaRepository.cs.GeneratedMSBuildEditorConfig.editorconfig new file mode 100644 index 0000000..b5e5b27 --- /dev/null +++ b/ToDoList/ToDoList/IAttivitaRepository.cs/obj/Debug/net6.0/IAttivitaRepository.cs.GeneratedMSBuildEditorConfig.editorconfig @@ -0,0 +1,13 @@ +is_global = true +build_property.TargetFramework = net6.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 = IAttivitaRepository.cs +build_property.ProjectDir = C:\Users\emanu\OneDrive\Desktop\ITSAPULIA\TestAPULIA\ToDoList\ToDoList\IAttivitaRepository.cs\ +build_property.EnableComHosting = +build_property.EnableGeneratedComInterfaceComImportInterop = diff --git a/ToDoList/ToDoList/IAttivitaRepository.cs/obj/Debug/net6.0/IAttivitaRepository.cs.GlobalUsings.g.cs b/ToDoList/ToDoList/IAttivitaRepository.cs/obj/Debug/net6.0/IAttivitaRepository.cs.GlobalUsings.g.cs new file mode 100644 index 0000000..ac22929 --- /dev/null +++ b/ToDoList/ToDoList/IAttivitaRepository.cs/obj/Debug/net6.0/IAttivitaRepository.cs.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/ToDoList/ToDoList/IAttivitaRepository.cs/obj/Debug/net6.0/IAttivitaRepository.cs.assets.cache b/ToDoList/ToDoList/IAttivitaRepository.cs/obj/Debug/net6.0/IAttivitaRepository.cs.assets.cache new file mode 100644 index 0000000..041cb91 Binary files /dev/null and b/ToDoList/ToDoList/IAttivitaRepository.cs/obj/Debug/net6.0/IAttivitaRepository.cs.assets.cache differ diff --git a/ToDoList/ToDoList/IAttivitaRepository.cs/obj/IAttivitaRepository.cs.csproj.nuget.dgspec.json b/ToDoList/ToDoList/IAttivitaRepository.cs/obj/IAttivitaRepository.cs.csproj.nuget.dgspec.json new file mode 100644 index 0000000..606ab70 --- /dev/null +++ b/ToDoList/ToDoList/IAttivitaRepository.cs/obj/IAttivitaRepository.cs.csproj.nuget.dgspec.json @@ -0,0 +1,68 @@ +{ + "format": 1, + "restore": { + "C:\\Users\\emanu\\source\\repos\\ToDoList\\IAttivitaRepository.cs\\IAttivitaRepository.cs.csproj": {} + }, + "projects": { + "C:\\Users\\emanu\\source\\repos\\ToDoList\\IAttivitaRepository.cs\\IAttivitaRepository.cs.csproj": { + "version": "1.0.0", + "restore": { + "projectUniqueName": "C:\\Users\\emanu\\source\\repos\\ToDoList\\IAttivitaRepository.cs\\IAttivitaRepository.cs.csproj", + "projectName": "IAttivitaRepository.cs", + "projectPath": "C:\\Users\\emanu\\source\\repos\\ToDoList\\IAttivitaRepository.cs\\IAttivitaRepository.cs.csproj", + "packagesPath": "C:\\Users\\emanu\\.nuget\\packages\\", + "outputPath": "C:\\Users\\emanu\\source\\repos\\ToDoList\\IAttivitaRepository.cs\\obj\\", + "projectStyle": "PackageReference", + "configFilePaths": [ + "C:\\Users\\emanu\\AppData\\Roaming\\NuGet\\NuGet.Config", + "C:\\Program Files (x86)\\NuGet\\Config\\Microsoft.VisualStudio.Offline.config" + ], + "originalTargetFrameworks": [ + "net6.0" + ], + "sources": { + "C:\\Program Files (x86)\\Microsoft SDKs\\NuGetPackages\\": {}, + "https://api.nuget.org/v3/index.json": {} + }, + "frameworks": { + "net6.0": { + "targetAlias": "net6.0", + "projectReferences": {} + } + }, + "warningProperties": { + "warnAsError": [ + "NU1605" + ] + }, + "restoreAuditProperties": { + "enableAudit": "true", + "auditLevel": "low", + "auditMode": "direct" + } + }, + "frameworks": { + "net6.0": { + "targetAlias": "net6.0", + "imports": [ + "net461", + "net462", + "net47", + "net471", + "net472", + "net48", + "net481" + ], + "assetTargetFallback": true, + "warn": true, + "frameworkReferences": { + "Microsoft.NETCore.App": { + "privateAssets": "all" + } + }, + "runtimeIdentifierGraphPath": "C:\\Program Files\\dotnet\\sdk\\8.0.200\\RuntimeIdentifierGraph.json" + } + } + } + } +} \ No newline at end of file diff --git a/ToDoList/ToDoList/IAttivitaRepository.cs/obj/IAttivitaRepository.cs.csproj.nuget.g.props b/ToDoList/ToDoList/IAttivitaRepository.cs/obj/IAttivitaRepository.cs.csproj.nuget.g.props new file mode 100644 index 0000000..6799b52 --- /dev/null +++ b/ToDoList/ToDoList/IAttivitaRepository.cs/obj/IAttivitaRepository.cs.csproj.nuget.g.props @@ -0,0 +1,15 @@ + + + + True + NuGet + $(MSBuildThisFileDirectory)project.assets.json + $(UserProfile)\.nuget\packages\ + C:\Users\emanu\.nuget\packages\ + PackageReference + 6.9.1 + + + + + \ No newline at end of file diff --git a/ToDoList/ToDoList/IAttivitaRepository.cs/obj/IAttivitaRepository.cs.csproj.nuget.g.targets b/ToDoList/ToDoList/IAttivitaRepository.cs/obj/IAttivitaRepository.cs.csproj.nuget.g.targets new file mode 100644 index 0000000..35a7576 --- /dev/null +++ b/ToDoList/ToDoList/IAttivitaRepository.cs/obj/IAttivitaRepository.cs.csproj.nuget.g.targets @@ -0,0 +1,2 @@ + + \ No newline at end of file diff --git a/ToDoList/ToDoList/IAttivitaRepository.cs/obj/Release/net6.0/IAttivitaRepository.cs.AssemblyInfo.cs b/ToDoList/ToDoList/IAttivitaRepository.cs/obj/Release/net6.0/IAttivitaRepository.cs.AssemblyInfo.cs new file mode 100644 index 0000000..880bb1e --- /dev/null +++ b/ToDoList/ToDoList/IAttivitaRepository.cs/obj/Release/net6.0/IAttivitaRepository.cs.AssemblyInfo.cs @@ -0,0 +1,23 @@ +//------------------------------------------------------------------------------ +// +// 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. +// +//------------------------------------------------------------------------------ + +using System; +using System.Reflection; + +[assembly: System.Reflection.AssemblyCompanyAttribute("IAttivitaRepository.cs")] +[assembly: System.Reflection.AssemblyConfigurationAttribute("Release")] +[assembly: System.Reflection.AssemblyFileVersionAttribute("1.0.0.0")] +[assembly: System.Reflection.AssemblyInformationalVersionAttribute("1.0.0")] +[assembly: System.Reflection.AssemblyProductAttribute("IAttivitaRepository.cs")] +[assembly: System.Reflection.AssemblyTitleAttribute("IAttivitaRepository.cs")] +[assembly: System.Reflection.AssemblyVersionAttribute("1.0.0.0")] + +// Generated by the MSBuild WriteCodeFragment class. + diff --git a/ToDoList/ToDoList/IAttivitaRepository.cs/obj/Release/net6.0/IAttivitaRepository.cs.AssemblyInfoInputs.cache b/ToDoList/ToDoList/IAttivitaRepository.cs/obj/Release/net6.0/IAttivitaRepository.cs.AssemblyInfoInputs.cache new file mode 100644 index 0000000..84e3fe1 --- /dev/null +++ b/ToDoList/ToDoList/IAttivitaRepository.cs/obj/Release/net6.0/IAttivitaRepository.cs.AssemblyInfoInputs.cache @@ -0,0 +1 @@ +f4a5d57e59307a8340419594478828f47e5bbd9e8bf43492d4b650c1c198a0c9 diff --git a/ToDoList/ToDoList/IAttivitaRepository.cs/obj/Release/net6.0/IAttivitaRepository.cs.GeneratedMSBuildEditorConfig.editorconfig b/ToDoList/ToDoList/IAttivitaRepository.cs/obj/Release/net6.0/IAttivitaRepository.cs.GeneratedMSBuildEditorConfig.editorconfig new file mode 100644 index 0000000..b5e5b27 --- /dev/null +++ b/ToDoList/ToDoList/IAttivitaRepository.cs/obj/Release/net6.0/IAttivitaRepository.cs.GeneratedMSBuildEditorConfig.editorconfig @@ -0,0 +1,13 @@ +is_global = true +build_property.TargetFramework = net6.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 = IAttivitaRepository.cs +build_property.ProjectDir = C:\Users\emanu\OneDrive\Desktop\ITSAPULIA\TestAPULIA\ToDoList\ToDoList\IAttivitaRepository.cs\ +build_property.EnableComHosting = +build_property.EnableGeneratedComInterfaceComImportInterop = diff --git a/ToDoList/ToDoList/IAttivitaRepository.cs/obj/Release/net6.0/IAttivitaRepository.cs.GlobalUsings.g.cs b/ToDoList/ToDoList/IAttivitaRepository.cs/obj/Release/net6.0/IAttivitaRepository.cs.GlobalUsings.g.cs new file mode 100644 index 0000000..ac22929 --- /dev/null +++ b/ToDoList/ToDoList/IAttivitaRepository.cs/obj/Release/net6.0/IAttivitaRepository.cs.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/ToDoList/ToDoList/IAttivitaRepository.cs/obj/Release/net6.0/IAttivitaRepository.cs.assets.cache b/ToDoList/ToDoList/IAttivitaRepository.cs/obj/Release/net6.0/IAttivitaRepository.cs.assets.cache new file mode 100644 index 0000000..3aa6594 Binary files /dev/null and b/ToDoList/ToDoList/IAttivitaRepository.cs/obj/Release/net6.0/IAttivitaRepository.cs.assets.cache differ diff --git a/ToDoList/ToDoList/IAttivitaRepository.cs/obj/project.assets.json b/ToDoList/ToDoList/IAttivitaRepository.cs/obj/project.assets.json new file mode 100644 index 0000000..8e5108a --- /dev/null +++ b/ToDoList/ToDoList/IAttivitaRepository.cs/obj/project.assets.json @@ -0,0 +1,73 @@ +{ + "version": 3, + "targets": { + "net6.0": {} + }, + "libraries": {}, + "projectFileDependencyGroups": { + "net6.0": [] + }, + "packageFolders": { + "C:\\Users\\emanu\\.nuget\\packages\\": {} + }, + "project": { + "version": "1.0.0", + "restore": { + "projectUniqueName": "C:\\Users\\emanu\\source\\repos\\ToDoList\\IAttivitaRepository.cs\\IAttivitaRepository.cs.csproj", + "projectName": "IAttivitaRepository.cs", + "projectPath": "C:\\Users\\emanu\\source\\repos\\ToDoList\\IAttivitaRepository.cs\\IAttivitaRepository.cs.csproj", + "packagesPath": "C:\\Users\\emanu\\.nuget\\packages\\", + "outputPath": "C:\\Users\\emanu\\source\\repos\\ToDoList\\IAttivitaRepository.cs\\obj\\", + "projectStyle": "PackageReference", + "configFilePaths": [ + "C:\\Users\\emanu\\AppData\\Roaming\\NuGet\\NuGet.Config", + "C:\\Program Files (x86)\\NuGet\\Config\\Microsoft.VisualStudio.Offline.config" + ], + "originalTargetFrameworks": [ + "net6.0" + ], + "sources": { + "C:\\Program Files (x86)\\Microsoft SDKs\\NuGetPackages\\": {}, + "https://api.nuget.org/v3/index.json": {} + }, + "frameworks": { + "net6.0": { + "targetAlias": "net6.0", + "projectReferences": {} + } + }, + "warningProperties": { + "warnAsError": [ + "NU1605" + ] + }, + "restoreAuditProperties": { + "enableAudit": "true", + "auditLevel": "low", + "auditMode": "direct" + } + }, + "frameworks": { + "net6.0": { + "targetAlias": "net6.0", + "imports": [ + "net461", + "net462", + "net47", + "net471", + "net472", + "net48", + "net481" + ], + "assetTargetFallback": true, + "warn": true, + "frameworkReferences": { + "Microsoft.NETCore.App": { + "privateAssets": "all" + } + }, + "runtimeIdentifierGraphPath": "C:\\Program Files\\dotnet\\sdk\\8.0.200\\RuntimeIdentifierGraph.json" + } + } + } +} \ No newline at end of file diff --git a/ToDoList/ToDoList/IAttivitaRepository.cs/obj/project.nuget.cache b/ToDoList/ToDoList/IAttivitaRepository.cs/obj/project.nuget.cache new file mode 100644 index 0000000..a7524c7 --- /dev/null +++ b/ToDoList/ToDoList/IAttivitaRepository.cs/obj/project.nuget.cache @@ -0,0 +1,8 @@ +{ + "version": 2, + "dgSpecHash": "ULsxkm+w+2GBRWF2qPKx5MTdpbnE/RXy8yjcP1U+rQAUM8vF8yFS0k8aNNKB5PbuL+9+79UuZ6aOAsCd3npGyw==", + "success": true, + "projectFilePath": "C:\\Users\\emanu\\source\\repos\\ToDoList\\IAttivitaRepository.cs\\IAttivitaRepository.cs.csproj", + "expectedPackageFiles": [], + "logs": [] +} \ No newline at end of file diff --git a/ToDoList/ToDoList/ICrud.cs b/ToDoList/ToDoList/ICrud.cs new file mode 100644 index 0000000..7f5a8b5 --- /dev/null +++ b/ToDoList/ToDoList/ICrud.cs @@ -0,0 +1,11 @@ +namespace ToDoList.Generics.Interfaces +{ + public interface ICrud + { + T Create(T item); + T GetById(int id); + bool Update(T item); + bool Delete(int id); + List GetAll(); + } +} diff --git a/ToDoList/ToDoList/ToDoList.sln b/ToDoList/ToDoList/ToDoList.sln new file mode 100644 index 0000000..d74664c --- /dev/null +++ b/ToDoList/ToDoList/ToDoList.sln @@ -0,0 +1,25 @@ + +Microsoft Visual Studio Solution File, Format Version 12.00 +# Visual Studio Version 17 +VisualStudioVersion = 17.9.34607.119 +MinimumVisualStudioVersion = 10.0.40219.1 +Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "ToDoList", "ToDoList\ToDoList.csproj", "{B02534EA-A1D4-40F9-A43C-C2155023D27D}" +EndProject +Global + GlobalSection(SolutionConfigurationPlatforms) = preSolution + Debug|Any CPU = Debug|Any CPU + Release|Any CPU = Release|Any CPU + EndGlobalSection + GlobalSection(ProjectConfigurationPlatforms) = postSolution + {B02534EA-A1D4-40F9-A43C-C2155023D27D}.Debug|Any CPU.ActiveCfg = Debug|Any CPU + {B02534EA-A1D4-40F9-A43C-C2155023D27D}.Debug|Any CPU.Build.0 = Debug|Any CPU + {B02534EA-A1D4-40F9-A43C-C2155023D27D}.Release|Any CPU.ActiveCfg = Release|Any CPU + {B02534EA-A1D4-40F9-A43C-C2155023D27D}.Release|Any CPU.Build.0 = Release|Any CPU + EndGlobalSection + GlobalSection(SolutionProperties) = preSolution + HideSolutionNode = FALSE + EndGlobalSection + GlobalSection(ExtensibilityGlobals) = postSolution + SolutionGuid = {C018A55D-8F9F-4A4D-BF8D-891C4ACB0486} + EndGlobalSection +EndGlobal diff --git a/ToDoList/ToDoList/ToDoList/Entities/Attivita.cs b/ToDoList/ToDoList/ToDoList/Entities/Attivita.cs new file mode 100644 index 0000000..b768e95 --- /dev/null +++ b/ToDoList/ToDoList/ToDoList/Entities/Attivita.cs @@ -0,0 +1,11 @@ +using System; + +namespace ToDoList.Entities +{ + public class Attivita + { + public int Key { get; set; } + public string Descrizione { get; set; } + public DateTime Data { get; set; } + } +} diff --git a/ToDoList/ToDoList/ToDoList/Interface/IAttivitaRepository.cs b/ToDoList/ToDoList/ToDoList/Interface/IAttivitaRepository.cs new file mode 100644 index 0000000..edf65cc --- /dev/null +++ b/ToDoList/ToDoList/ToDoList/Interface/IAttivitaRepository.cs @@ -0,0 +1,13 @@ +using System; +using System.Collections.Generic; +using System.Linq; +using System.Text; +using System.Threading.Tasks; +using ToDoList.Entities; + +namespace ToDoList.Interface +{ + internal interface IAttivitaRepository : ICrud + { + } +} diff --git a/ToDoList/ToDoList/ToDoList/Interface/ICrud.cs b/ToDoList/ToDoList/ToDoList/Interface/ICrud.cs new file mode 100644 index 0000000..28e7fbe --- /dev/null +++ b/ToDoList/ToDoList/ToDoList/Interface/ICrud.cs @@ -0,0 +1,12 @@ +namespace ToDoList.Interface +{ + public interface ICrud + { + TEntity Create(TEntity item); + TEntity GetById(int id); + bool Update(TEntity item); + bool Delete(int id); + List GetAll(); + void Print(string v); + } +} diff --git a/ToDoList/ToDoList/ToDoList/Program.cs b/ToDoList/ToDoList/ToDoList/Program.cs new file mode 100644 index 0000000..523e94c --- /dev/null +++ b/ToDoList/ToDoList/ToDoList/Program.cs @@ -0,0 +1,141 @@ +using System; +using ToDoList.Entities; +using ToDoList.Repository; + +namespace ToDoList.Generics +{ + internal class Program + { + //Inizializza un repository per gestire le attività + internal static AttivitaRepository attivitaRepository = new AttivitaRepository(); + + static void Main(string[] args) + { + try + { + bool running = true; + while (running) + { + //Mostra le opzioni del menu + Console.WriteLine("\nInserisci un comando: "); + Console.WriteLine("1: Aggiungi una nuova attività"); + Console.WriteLine("2: Visualizza tutte le attività"); + Console.WriteLine("3: Rimuovi un'attività"); + Console.WriteLine("4: Esci"); + var command = Console.ReadLine(); + + switch (command) + { + case "1": + AggiungiAttivita(); //Chiama il metodo per aggiungere una nuova attività + break; + case "2": + VisualizzaAttivita(); //Chiama il metodo per visualizzare tutte le attività + break; + case "3": + RimuoviAttivita(); //Chiama il metodo per rimuovere un'attività + break; + case "4": + running = false; //Esci dal ciclo e termina il programma + attivitaRepository.Print("Grazie per aver usato la To-Do List. Arrivederci!"); //Stampa un messaggio di addio + break; + default: + attivitaRepository.Print("Comando non valido. Riprova."); //Stampa un messaggio per comando non valido + break; + } + } + } + catch (Exception ex) + { + attivitaRepository.Print($"Errore durante l'esecuzione del programma: {ex.Message}"); + } + } + + //Metodo per aggiungere una nuova attività + private static void AggiungiAttivita() + { + try + { + Console.WriteLine("Inserisci la descrizione dell'attività:"); + var descrizione = Console.ReadLine(); + + Console.WriteLine("Inserisci la data dell'attività (formato dd/MM/yyyy HH:mm):"); + if (DateTime.TryParseExact(Console.ReadLine(), "dd/MM/yyyy HH:mm", null, System.Globalization.DateTimeStyles.None, out DateTime data)) + { + var nuovaAttivita = new Attivita() { Descrizione = descrizione, Data = data }; + + //Aggiunge la nuova attività al repository + attivitaRepository.Create(nuovaAttivita); + attivitaRepository.Print($"L'attività \"{descrizione}\" per il {data.ToString("dd/MM/yyyy HH:mm")} è stata aggiunta alla lista."); //Stampa un messaggio di conferma + } + else + { + //Stampa un messaggio di errore per formato data non valido + attivitaRepository.Print("Formato data non valido. Riprova."); + } + } + catch (Exception ex) + { + attivitaRepository.Print($"Errore durante l'aggiunta dell'attività: {ex.Message}"); + } + } + + // Metodo per visualizzare tutte le attività + private static void VisualizzaAttivita() + { + try + { + //Recupera tutte le attività dal repository + var listaAttivita = attivitaRepository.GetAll(); + if (listaAttivita.Count == 0) + { + //Stampa un messaggio se non ci sono attività + attivitaRepository.Print("La lista delle attività è vuota."); + return; + } + attivitaRepository.Print("Attività:"); + foreach (var attivita in listaAttivita) + { + //Stampa i dettagli di ogni attività + attivitaRepository.Print($"{attivita.Key}. Descrizione: {attivita.Descrizione} - Data: {attivita.Data.ToString("dd/MM/yyyy HH:mm")}"); + } + } + catch (Exception ex) + { + attivitaRepository.Print($"Errore durante la visualizzazione delle attività: {ex.Message}"); + } + } + + //Metodo per rimuovere un'attività + private static void RimuoviAttivita() + { + try + { + Console.WriteLine("Inserisci il numero dell'attività da rimuovere:"); + if (int.TryParse(Console.ReadLine(), out int key)) + { + //Prova a eliminare l'attività usando la chiave fornita + if (attivitaRepository.Delete(key)) + { + // Stampa un messaggio di conferma se l'operazione è riuscita + attivitaRepository.Print($"L'attività con numero {key} è stata rimossa."); + } + else + { + // Stampa un messaggio se non esiste un'attività con la chiave fornita + attivitaRepository.Print($"L'attività con numero {key} non esiste."); + } + } + else + { + // Stampa un messaggio per input non valido + attivitaRepository.Print("Input non valido. Riprova."); + } + } + catch (Exception ex) + { + attivitaRepository.Print($"Errore durante la rimozione dell'attività: {ex.Message}"); + } + } + } +} diff --git a/ToDoList/ToDoList/ToDoList/Repository/AttivitaRepository.cs b/ToDoList/ToDoList/ToDoList/Repository/AttivitaRepository.cs new file mode 100644 index 0000000..3206101 --- /dev/null +++ b/ToDoList/ToDoList/ToDoList/Repository/AttivitaRepository.cs @@ -0,0 +1,106 @@ +using System; +using System.Collections.Generic; +using ToDoList.Entities; +using ToDoList.Interface; + +namespace ToDoList.Repository +{ + public class AttivitaRepository : IAttivitaRepository + { + private Dictionary attivitaDictionary = new Dictionary(); // Dizionario delle attività + private int nextKey = 1; // chiave da assegnare a una nuova attività + + public Attivita Create(Attivita item) + { + try + { + // Assegna la prossima chiave disponibile + item.Key = nextKey++; + // Aggiunge l'attività al dizionario + attivitaDictionary[item.Key] = item; + return item; + } + catch (Exception ex) + { + Console.WriteLine($"Errore durante la creazione dell'attività: {ex.Message}"); + return null; + } + } + + public Attivita GetById(int key) + { + try + { + // Cerca e restituisce l'attività per chiave + attivitaDictionary.TryGetValue(key, out var attivita); + return attivita; + } + catch (Exception ex) + { + Console.WriteLine($"Errore durante il recupero dell'attività con chiave {key}: {ex.Message}"); + return null; + } + } + + public bool Update(Attivita item) + { + try + { + // Trova l'attività esistente per chiave e aggiorna la descrizione + if (attivitaDictionary.ContainsKey(item.Key)) + { + attivitaDictionary[item.Key].Descrizione = item.Descrizione; + return true; + } + return false; + } + catch (Exception ex) + { + Console.WriteLine($"Errore durante l'aggiornamento dell'attività con chiave {item.Key}: {ex.Message}"); + return false; + } + } + + public bool Delete(int key) + { + try + { + // Rimuove l'attività dal dizionario + return attivitaDictionary.Remove(key); + } + catch (Exception ex) + { + Console.WriteLine($"Errore durante l'eliminazione dell'attività con chiave {key}: {ex.Message}"); + return false; + } + } + + public List GetAll() + { + try + { + // Restituisce l'intera lista di attività + return new List(attivitaDictionary.Values); + } + catch (Exception ex) + { + Console.WriteLine($"Errore durante il recupero della lista delle attività: {ex.Message}"); + return new List(); + } + } + + public void Print(string message) + { + try + { + // Stampa il messaggio sulla console + Console.WriteLine(message); + } + catch (Exception ex) + { + Console.WriteLine($"Errore durante la stampa del messaggio: {ex.Message}"); + } + } + } +} + diff --git a/ToDoList/ToDoList/ToDoList/ToDoList.csproj b/ToDoList/ToDoList/ToDoList/ToDoList.csproj new file mode 100644 index 0000000..40c60dd --- /dev/null +++ b/ToDoList/ToDoList/ToDoList/ToDoList.csproj @@ -0,0 +1,10 @@ + + + + Exe + net6.0 + enable + enable + + + diff --git a/ToDoList/ToDoList/ToDoList/bin/Debug/net6.0/ToDoList.deps.json b/ToDoList/ToDoList/ToDoList/bin/Debug/net6.0/ToDoList.deps.json new file mode 100644 index 0000000..5441dd6 --- /dev/null +++ b/ToDoList/ToDoList/ToDoList/bin/Debug/net6.0/ToDoList.deps.json @@ -0,0 +1,23 @@ +{ + "runtimeTarget": { + "name": ".NETCoreApp,Version=v6.0", + "signature": "" + }, + "compilationOptions": {}, + "targets": { + ".NETCoreApp,Version=v6.0": { + "ToDoList/1.0.0": { + "runtime": { + "ToDoList.dll": {} + } + } + } + }, + "libraries": { + "ToDoList/1.0.0": { + "type": "project", + "serviceable": false, + "sha512": "" + } + } +} \ No newline at end of file diff --git a/ToDoList/ToDoList/ToDoList/bin/Debug/net6.0/ToDoList.dll b/ToDoList/ToDoList/ToDoList/bin/Debug/net6.0/ToDoList.dll new file mode 100644 index 0000000..83232c1 Binary files /dev/null and b/ToDoList/ToDoList/ToDoList/bin/Debug/net6.0/ToDoList.dll differ diff --git a/ToDoList/ToDoList/ToDoList/bin/Debug/net6.0/ToDoList.exe b/ToDoList/ToDoList/ToDoList/bin/Debug/net6.0/ToDoList.exe new file mode 100644 index 0000000..45c6a75 Binary files /dev/null and b/ToDoList/ToDoList/ToDoList/bin/Debug/net6.0/ToDoList.exe differ diff --git a/ToDoList/ToDoList/ToDoList/bin/Debug/net6.0/ToDoList.pdb b/ToDoList/ToDoList/ToDoList/bin/Debug/net6.0/ToDoList.pdb new file mode 100644 index 0000000..3f49b3b Binary files /dev/null and b/ToDoList/ToDoList/ToDoList/bin/Debug/net6.0/ToDoList.pdb differ diff --git a/ToDoList/ToDoList/ToDoList/bin/Debug/net6.0/ToDoList.runtimeconfig.json b/ToDoList/ToDoList/ToDoList/bin/Debug/net6.0/ToDoList.runtimeconfig.json new file mode 100644 index 0000000..4e96a56 --- /dev/null +++ b/ToDoList/ToDoList/ToDoList/bin/Debug/net6.0/ToDoList.runtimeconfig.json @@ -0,0 +1,9 @@ +{ + "runtimeOptions": { + "tfm": "net6.0", + "framework": { + "name": "Microsoft.NETCore.App", + "version": "6.0.0" + } + } +} \ No newline at end of file diff --git a/ToDoList/ToDoList/ToDoList/obj/Debug/net6.0/ToDoList.AssemblyInfo.cs b/ToDoList/ToDoList/ToDoList/obj/Debug/net6.0/ToDoList.AssemblyInfo.cs new file mode 100644 index 0000000..07d605a --- /dev/null +++ b/ToDoList/ToDoList/ToDoList/obj/Debug/net6.0/ToDoList.AssemblyInfo.cs @@ -0,0 +1,23 @@ +//------------------------------------------------------------------------------ +// +// 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. +// +//------------------------------------------------------------------------------ + +using System; +using System.Reflection; + +[assembly: System.Reflection.AssemblyCompanyAttribute("ToDoList")] +[assembly: System.Reflection.AssemblyConfigurationAttribute("Debug")] +[assembly: System.Reflection.AssemblyFileVersionAttribute("1.0.0.0")] +[assembly: System.Reflection.AssemblyInformationalVersionAttribute("1.0.0")] +[assembly: System.Reflection.AssemblyProductAttribute("ToDoList")] +[assembly: System.Reflection.AssemblyTitleAttribute("ToDoList")] +[assembly: System.Reflection.AssemblyVersionAttribute("1.0.0.0")] + +// Generated by the MSBuild WriteCodeFragment class. + diff --git a/ToDoList/ToDoList/ToDoList/obj/Debug/net6.0/ToDoList.AssemblyInfoInputs.cache b/ToDoList/ToDoList/ToDoList/obj/Debug/net6.0/ToDoList.AssemblyInfoInputs.cache new file mode 100644 index 0000000..3ec5fd7 --- /dev/null +++ b/ToDoList/ToDoList/ToDoList/obj/Debug/net6.0/ToDoList.AssemblyInfoInputs.cache @@ -0,0 +1 @@ +4f9031fa8e58f783c9951e9a87ea6154c9c78563ca65096f9a91bb7f7f8e710c diff --git a/ToDoList/ToDoList/ToDoList/obj/Debug/net6.0/ToDoList.GeneratedMSBuildEditorConfig.editorconfig b/ToDoList/ToDoList/ToDoList/obj/Debug/net6.0/ToDoList.GeneratedMSBuildEditorConfig.editorconfig new file mode 100644 index 0000000..52ed55b --- /dev/null +++ b/ToDoList/ToDoList/ToDoList/obj/Debug/net6.0/ToDoList.GeneratedMSBuildEditorConfig.editorconfig @@ -0,0 +1,13 @@ +is_global = true +build_property.TargetFramework = net6.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 = ToDoList +build_property.ProjectDir = C:\Users\emanu\OneDrive\Desktop\ITSAPULIA\TestAPULIA\ToDoList\ToDoList\ToDoList\ +build_property.EnableComHosting = +build_property.EnableGeneratedComInterfaceComImportInterop = diff --git a/ToDoList/ToDoList/ToDoList/obj/Debug/net6.0/ToDoList.GlobalUsings.g.cs b/ToDoList/ToDoList/ToDoList/obj/Debug/net6.0/ToDoList.GlobalUsings.g.cs new file mode 100644 index 0000000..ac22929 --- /dev/null +++ b/ToDoList/ToDoList/ToDoList/obj/Debug/net6.0/ToDoList.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/ToDoList/ToDoList/ToDoList/obj/Debug/net6.0/ToDoList.assets.cache b/ToDoList/ToDoList/ToDoList/obj/Debug/net6.0/ToDoList.assets.cache new file mode 100644 index 0000000..189be3a Binary files /dev/null and b/ToDoList/ToDoList/ToDoList/obj/Debug/net6.0/ToDoList.assets.cache differ diff --git a/ToDoList/ToDoList/ToDoList/obj/Debug/net6.0/ToDoList.csproj.BuildWithSkipAnalyzers b/ToDoList/ToDoList/ToDoList/obj/Debug/net6.0/ToDoList.csproj.BuildWithSkipAnalyzers new file mode 100644 index 0000000..e69de29 diff --git a/ToDoList/ToDoList/ToDoList/obj/Debug/net6.0/ToDoList.csproj.CoreCompileInputs.cache b/ToDoList/ToDoList/ToDoList/obj/Debug/net6.0/ToDoList.csproj.CoreCompileInputs.cache new file mode 100644 index 0000000..60e790a --- /dev/null +++ b/ToDoList/ToDoList/ToDoList/obj/Debug/net6.0/ToDoList.csproj.CoreCompileInputs.cache @@ -0,0 +1 @@ +cc5c290a3372fa8aa85fd7c27b29bba5ce59ee6d841133029659226c327ed812 diff --git a/ToDoList/ToDoList/ToDoList/obj/Debug/net6.0/ToDoList.csproj.FileListAbsolute.txt b/ToDoList/ToDoList/ToDoList/obj/Debug/net6.0/ToDoList.csproj.FileListAbsolute.txt new file mode 100644 index 0000000..103bb5f --- /dev/null +++ b/ToDoList/ToDoList/ToDoList/obj/Debug/net6.0/ToDoList.csproj.FileListAbsolute.txt @@ -0,0 +1,28 @@ +C:\Users\emanu\source\repos\ToDoList\ToDoList\obj\Debug\net6.0\ToDoList.GeneratedMSBuildEditorConfig.editorconfig +C:\Users\emanu\source\repos\ToDoList\ToDoList\obj\Debug\net6.0\ToDoList.AssemblyInfoInputs.cache +C:\Users\emanu\source\repos\ToDoList\ToDoList\obj\Debug\net6.0\ToDoList.AssemblyInfo.cs +C:\Users\emanu\source\repos\ToDoList\ToDoList\obj\Debug\net6.0\ToDoList.csproj.CoreCompileInputs.cache +C:\Users\emanu\source\repos\ToDoList\ToDoList\bin\Debug\net6.0\ToDoList.exe +C:\Users\emanu\source\repos\ToDoList\ToDoList\bin\Debug\net6.0\ToDoList.deps.json +C:\Users\emanu\source\repos\ToDoList\ToDoList\bin\Debug\net6.0\ToDoList.runtimeconfig.json +C:\Users\emanu\source\repos\ToDoList\ToDoList\bin\Debug\net6.0\ToDoList.dll +C:\Users\emanu\source\repos\ToDoList\ToDoList\bin\Debug\net6.0\ToDoList.pdb +C:\Users\emanu\source\repos\ToDoList\ToDoList\obj\Debug\net6.0\ToDoList.dll +C:\Users\emanu\source\repos\ToDoList\ToDoList\obj\Debug\net6.0\refint\ToDoList.dll +C:\Users\emanu\source\repos\ToDoList\ToDoList\obj\Debug\net6.0\ToDoList.pdb +C:\Users\emanu\source\repos\ToDoList\ToDoList\obj\Debug\net6.0\ToDoList.genruntimeconfig.cache +C:\Users\emanu\source\repos\ToDoList\ToDoList\obj\Debug\net6.0\ref\ToDoList.dll +C:\Users\emanu\OneDrive\Desktop\ITSAPULIA\TestAPULIA\ToDoList\ToDoList\ToDoList\bin\Debug\net6.0\ToDoList.exe +C:\Users\emanu\OneDrive\Desktop\ITSAPULIA\TestAPULIA\ToDoList\ToDoList\ToDoList\bin\Debug\net6.0\ToDoList.deps.json +C:\Users\emanu\OneDrive\Desktop\ITSAPULIA\TestAPULIA\ToDoList\ToDoList\ToDoList\bin\Debug\net6.0\ToDoList.runtimeconfig.json +C:\Users\emanu\OneDrive\Desktop\ITSAPULIA\TestAPULIA\ToDoList\ToDoList\ToDoList\bin\Debug\net6.0\ToDoList.dll +C:\Users\emanu\OneDrive\Desktop\ITSAPULIA\TestAPULIA\ToDoList\ToDoList\ToDoList\bin\Debug\net6.0\ToDoList.pdb +C:\Users\emanu\OneDrive\Desktop\ITSAPULIA\TestAPULIA\ToDoList\ToDoList\ToDoList\obj\Debug\net6.0\ToDoList.GeneratedMSBuildEditorConfig.editorconfig +C:\Users\emanu\OneDrive\Desktop\ITSAPULIA\TestAPULIA\ToDoList\ToDoList\ToDoList\obj\Debug\net6.0\ToDoList.AssemblyInfoInputs.cache +C:\Users\emanu\OneDrive\Desktop\ITSAPULIA\TestAPULIA\ToDoList\ToDoList\ToDoList\obj\Debug\net6.0\ToDoList.AssemblyInfo.cs +C:\Users\emanu\OneDrive\Desktop\ITSAPULIA\TestAPULIA\ToDoList\ToDoList\ToDoList\obj\Debug\net6.0\ToDoList.csproj.CoreCompileInputs.cache +C:\Users\emanu\OneDrive\Desktop\ITSAPULIA\TestAPULIA\ToDoList\ToDoList\ToDoList\obj\Debug\net6.0\ToDoList.dll +C:\Users\emanu\OneDrive\Desktop\ITSAPULIA\TestAPULIA\ToDoList\ToDoList\ToDoList\obj\Debug\net6.0\refint\ToDoList.dll +C:\Users\emanu\OneDrive\Desktop\ITSAPULIA\TestAPULIA\ToDoList\ToDoList\ToDoList\obj\Debug\net6.0\ToDoList.pdb +C:\Users\emanu\OneDrive\Desktop\ITSAPULIA\TestAPULIA\ToDoList\ToDoList\ToDoList\obj\Debug\net6.0\ToDoList.genruntimeconfig.cache +C:\Users\emanu\OneDrive\Desktop\ITSAPULIA\TestAPULIA\ToDoList\ToDoList\ToDoList\obj\Debug\net6.0\ref\ToDoList.dll diff --git a/ToDoList/ToDoList/ToDoList/obj/Debug/net6.0/ToDoList.dll b/ToDoList/ToDoList/ToDoList/obj/Debug/net6.0/ToDoList.dll new file mode 100644 index 0000000..83232c1 Binary files /dev/null and b/ToDoList/ToDoList/ToDoList/obj/Debug/net6.0/ToDoList.dll differ diff --git a/ToDoList/ToDoList/ToDoList/obj/Debug/net6.0/ToDoList.genruntimeconfig.cache b/ToDoList/ToDoList/ToDoList/obj/Debug/net6.0/ToDoList.genruntimeconfig.cache new file mode 100644 index 0000000..8915527 --- /dev/null +++ b/ToDoList/ToDoList/ToDoList/obj/Debug/net6.0/ToDoList.genruntimeconfig.cache @@ -0,0 +1 @@ +b828aecdfb67dce9d72f8957f1fc4e61068842f8709ba193f024d2714c2fc52f diff --git a/ToDoList/ToDoList/ToDoList/obj/Debug/net6.0/ToDoList.pdb b/ToDoList/ToDoList/ToDoList/obj/Debug/net6.0/ToDoList.pdb new file mode 100644 index 0000000..3f49b3b Binary files /dev/null and b/ToDoList/ToDoList/ToDoList/obj/Debug/net6.0/ToDoList.pdb differ diff --git a/ToDoList/ToDoList/ToDoList/obj/Debug/net6.0/apphost.exe b/ToDoList/ToDoList/ToDoList/obj/Debug/net6.0/apphost.exe new file mode 100644 index 0000000..45c6a75 Binary files /dev/null and b/ToDoList/ToDoList/ToDoList/obj/Debug/net6.0/apphost.exe differ diff --git a/ToDoList/ToDoList/ToDoList/obj/Debug/net6.0/ref/ToDoList.dll b/ToDoList/ToDoList/ToDoList/obj/Debug/net6.0/ref/ToDoList.dll new file mode 100644 index 0000000..6960d17 Binary files /dev/null and b/ToDoList/ToDoList/ToDoList/obj/Debug/net6.0/ref/ToDoList.dll differ diff --git a/ToDoList/ToDoList/ToDoList/obj/Debug/net6.0/refint/ToDoList.dll b/ToDoList/ToDoList/ToDoList/obj/Debug/net6.0/refint/ToDoList.dll new file mode 100644 index 0000000..6960d17 Binary files /dev/null and b/ToDoList/ToDoList/ToDoList/obj/Debug/net6.0/refint/ToDoList.dll differ diff --git a/ToDoList/ToDoList/ToDoList/obj/Release/net6.0/ToDoList.AssemblyInfo.cs b/ToDoList/ToDoList/ToDoList/obj/Release/net6.0/ToDoList.AssemblyInfo.cs new file mode 100644 index 0000000..3c8a019 --- /dev/null +++ b/ToDoList/ToDoList/ToDoList/obj/Release/net6.0/ToDoList.AssemblyInfo.cs @@ -0,0 +1,23 @@ +//------------------------------------------------------------------------------ +// +// 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. +// +//------------------------------------------------------------------------------ + +using System; +using System.Reflection; + +[assembly: System.Reflection.AssemblyCompanyAttribute("ToDoList")] +[assembly: System.Reflection.AssemblyConfigurationAttribute("Release")] +[assembly: System.Reflection.AssemblyFileVersionAttribute("1.0.0.0")] +[assembly: System.Reflection.AssemblyInformationalVersionAttribute("1.0.0")] +[assembly: System.Reflection.AssemblyProductAttribute("ToDoList")] +[assembly: System.Reflection.AssemblyTitleAttribute("ToDoList")] +[assembly: System.Reflection.AssemblyVersionAttribute("1.0.0.0")] + +// Generated by the MSBuild WriteCodeFragment class. + diff --git a/ToDoList/ToDoList/ToDoList/obj/Release/net6.0/ToDoList.AssemblyInfoInputs.cache b/ToDoList/ToDoList/ToDoList/obj/Release/net6.0/ToDoList.AssemblyInfoInputs.cache new file mode 100644 index 0000000..40b6079 --- /dev/null +++ b/ToDoList/ToDoList/ToDoList/obj/Release/net6.0/ToDoList.AssemblyInfoInputs.cache @@ -0,0 +1 @@ +c21968f16a42a13d9c43f67a28db169f24207aad738ef1bb67dd123aaddab01f diff --git a/ToDoList/ToDoList/ToDoList/obj/Release/net6.0/ToDoList.GeneratedMSBuildEditorConfig.editorconfig b/ToDoList/ToDoList/ToDoList/obj/Release/net6.0/ToDoList.GeneratedMSBuildEditorConfig.editorconfig new file mode 100644 index 0000000..52ed55b --- /dev/null +++ b/ToDoList/ToDoList/ToDoList/obj/Release/net6.0/ToDoList.GeneratedMSBuildEditorConfig.editorconfig @@ -0,0 +1,13 @@ +is_global = true +build_property.TargetFramework = net6.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 = ToDoList +build_property.ProjectDir = C:\Users\emanu\OneDrive\Desktop\ITSAPULIA\TestAPULIA\ToDoList\ToDoList\ToDoList\ +build_property.EnableComHosting = +build_property.EnableGeneratedComInterfaceComImportInterop = diff --git a/ToDoList/ToDoList/ToDoList/obj/Release/net6.0/ToDoList.GlobalUsings.g.cs b/ToDoList/ToDoList/ToDoList/obj/Release/net6.0/ToDoList.GlobalUsings.g.cs new file mode 100644 index 0000000..ac22929 --- /dev/null +++ b/ToDoList/ToDoList/ToDoList/obj/Release/net6.0/ToDoList.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/ToDoList/ToDoList/ToDoList/obj/Release/net6.0/ToDoList.assets.cache b/ToDoList/ToDoList/ToDoList/obj/Release/net6.0/ToDoList.assets.cache new file mode 100644 index 0000000..1ea5025 Binary files /dev/null and b/ToDoList/ToDoList/ToDoList/obj/Release/net6.0/ToDoList.assets.cache differ diff --git a/ToDoList/ToDoList/ToDoList/obj/ToDoList.csproj.nuget.dgspec.json b/ToDoList/ToDoList/ToDoList/obj/ToDoList.csproj.nuget.dgspec.json new file mode 100644 index 0000000..156ea90 --- /dev/null +++ b/ToDoList/ToDoList/ToDoList/obj/ToDoList.csproj.nuget.dgspec.json @@ -0,0 +1,68 @@ +{ + "format": 1, + "restore": { + "C:\\Users\\emanu\\OneDrive\\Desktop\\ITSAPULIA\\TestAPULIA\\ToDoList\\ToDoList\\ToDoList\\ToDoList.csproj": {} + }, + "projects": { + "C:\\Users\\emanu\\OneDrive\\Desktop\\ITSAPULIA\\TestAPULIA\\ToDoList\\ToDoList\\ToDoList\\ToDoList.csproj": { + "version": "1.0.0", + "restore": { + "projectUniqueName": "C:\\Users\\emanu\\OneDrive\\Desktop\\ITSAPULIA\\TestAPULIA\\ToDoList\\ToDoList\\ToDoList\\ToDoList.csproj", + "projectName": "ToDoList", + "projectPath": "C:\\Users\\emanu\\OneDrive\\Desktop\\ITSAPULIA\\TestAPULIA\\ToDoList\\ToDoList\\ToDoList\\ToDoList.csproj", + "packagesPath": "C:\\Users\\emanu\\.nuget\\packages\\", + "outputPath": "C:\\Users\\emanu\\OneDrive\\Desktop\\ITSAPULIA\\TestAPULIA\\ToDoList\\ToDoList\\ToDoList\\obj\\", + "projectStyle": "PackageReference", + "configFilePaths": [ + "C:\\Users\\emanu\\AppData\\Roaming\\NuGet\\NuGet.Config", + "C:\\Program Files (x86)\\NuGet\\Config\\Microsoft.VisualStudio.Offline.config" + ], + "originalTargetFrameworks": [ + "net6.0" + ], + "sources": { + "C:\\Program Files (x86)\\Microsoft SDKs\\NuGetPackages\\": {}, + "https://api.nuget.org/v3/index.json": {} + }, + "frameworks": { + "net6.0": { + "targetAlias": "net6.0", + "projectReferences": {} + } + }, + "warningProperties": { + "warnAsError": [ + "NU1605" + ] + }, + "restoreAuditProperties": { + "enableAudit": "true", + "auditLevel": "low", + "auditMode": "direct" + } + }, + "frameworks": { + "net6.0": { + "targetAlias": "net6.0", + "imports": [ + "net461", + "net462", + "net47", + "net471", + "net472", + "net48", + "net481" + ], + "assetTargetFallback": true, + "warn": true, + "frameworkReferences": { + "Microsoft.NETCore.App": { + "privateAssets": "all" + } + }, + "runtimeIdentifierGraphPath": "C:\\Program Files\\dotnet\\sdk\\8.0.200\\RuntimeIdentifierGraph.json" + } + } + } + } +} \ No newline at end of file diff --git a/ToDoList/ToDoList/ToDoList/obj/ToDoList.csproj.nuget.g.props b/ToDoList/ToDoList/ToDoList/obj/ToDoList.csproj.nuget.g.props new file mode 100644 index 0000000..6799b52 --- /dev/null +++ b/ToDoList/ToDoList/ToDoList/obj/ToDoList.csproj.nuget.g.props @@ -0,0 +1,15 @@ + + + + True + NuGet + $(MSBuildThisFileDirectory)project.assets.json + $(UserProfile)\.nuget\packages\ + C:\Users\emanu\.nuget\packages\ + PackageReference + 6.9.1 + + + + + \ No newline at end of file diff --git a/ToDoList/ToDoList/ToDoList/obj/ToDoList.csproj.nuget.g.targets b/ToDoList/ToDoList/ToDoList/obj/ToDoList.csproj.nuget.g.targets new file mode 100644 index 0000000..35a7576 --- /dev/null +++ b/ToDoList/ToDoList/ToDoList/obj/ToDoList.csproj.nuget.g.targets @@ -0,0 +1,2 @@ + + \ No newline at end of file diff --git a/ToDoList/ToDoList/ToDoList/obj/project.assets.json b/ToDoList/ToDoList/ToDoList/obj/project.assets.json new file mode 100644 index 0000000..aeb8df9 --- /dev/null +++ b/ToDoList/ToDoList/ToDoList/obj/project.assets.json @@ -0,0 +1,73 @@ +{ + "version": 3, + "targets": { + "net6.0": {} + }, + "libraries": {}, + "projectFileDependencyGroups": { + "net6.0": [] + }, + "packageFolders": { + "C:\\Users\\emanu\\.nuget\\packages\\": {} + }, + "project": { + "version": "1.0.0", + "restore": { + "projectUniqueName": "C:\\Users\\emanu\\OneDrive\\Desktop\\ITSAPULIA\\TestAPULIA\\ToDoList\\ToDoList\\ToDoList\\ToDoList.csproj", + "projectName": "ToDoList", + "projectPath": "C:\\Users\\emanu\\OneDrive\\Desktop\\ITSAPULIA\\TestAPULIA\\ToDoList\\ToDoList\\ToDoList\\ToDoList.csproj", + "packagesPath": "C:\\Users\\emanu\\.nuget\\packages\\", + "outputPath": "C:\\Users\\emanu\\OneDrive\\Desktop\\ITSAPULIA\\TestAPULIA\\ToDoList\\ToDoList\\ToDoList\\obj\\", + "projectStyle": "PackageReference", + "configFilePaths": [ + "C:\\Users\\emanu\\AppData\\Roaming\\NuGet\\NuGet.Config", + "C:\\Program Files (x86)\\NuGet\\Config\\Microsoft.VisualStudio.Offline.config" + ], + "originalTargetFrameworks": [ + "net6.0" + ], + "sources": { + "C:\\Program Files (x86)\\Microsoft SDKs\\NuGetPackages\\": {}, + "https://api.nuget.org/v3/index.json": {} + }, + "frameworks": { + "net6.0": { + "targetAlias": "net6.0", + "projectReferences": {} + } + }, + "warningProperties": { + "warnAsError": [ + "NU1605" + ] + }, + "restoreAuditProperties": { + "enableAudit": "true", + "auditLevel": "low", + "auditMode": "direct" + } + }, + "frameworks": { + "net6.0": { + "targetAlias": "net6.0", + "imports": [ + "net461", + "net462", + "net47", + "net471", + "net472", + "net48", + "net481" + ], + "assetTargetFallback": true, + "warn": true, + "frameworkReferences": { + "Microsoft.NETCore.App": { + "privateAssets": "all" + } + }, + "runtimeIdentifierGraphPath": "C:\\Program Files\\dotnet\\sdk\\8.0.200\\RuntimeIdentifierGraph.json" + } + } + } +} \ No newline at end of file diff --git a/ToDoList/ToDoList/ToDoList/obj/project.nuget.cache b/ToDoList/ToDoList/ToDoList/obj/project.nuget.cache new file mode 100644 index 0000000..3268dc4 --- /dev/null +++ b/ToDoList/ToDoList/ToDoList/obj/project.nuget.cache @@ -0,0 +1,8 @@ +{ + "version": 2, + "dgSpecHash": "ntAZLTRZqOwyXyWqG94CWRp+E8B12Zx+cdJ+mtYt7Gf3Odg0kQDttgFjTqNfqWhc7p/xkil8ffGeQC6GF8P/EQ==", + "success": true, + "projectFilePath": "C:\\Users\\emanu\\OneDrive\\Desktop\\ITSAPULIA\\TestAPULIA\\ToDoList\\ToDoList\\ToDoList\\ToDoList.csproj", + "expectedPackageFiles": [], + "logs": [] +} \ No newline at end of file