diff --git a/trilha-net-explorando-desafio-main/DesafioProjetoHospedagem.csproj b/trilha-net-explorando-desafio-main/DesafioProjetoHospedagem.csproj new file mode 100644 index 00000000..c1368a7f --- /dev/null +++ b/trilha-net-explorando-desafio-main/DesafioProjetoHospedagem.csproj @@ -0,0 +1,10 @@ + + + + Exe + net8.0 + enable + disable + + + diff --git a/trilha-net-explorando-desafio-main/Models/Pessoa.cs b/trilha-net-explorando-desafio-main/Models/Pessoa.cs new file mode 100644 index 00000000..f0bd84b3 --- /dev/null +++ b/trilha-net-explorando-desafio-main/Models/Pessoa.cs @@ -0,0 +1,21 @@ +namespace DesafioProjetoHospedagem.Models; + +public class Pessoa +{ + public Pessoa() { } + + public Pessoa(string nome) + { + Nome = nome; + } + + public Pessoa(string nome, string sobrenome) + { + Nome = nome; + Sobrenome = sobrenome; + } + + public string Nome { get; set; } + public string Sobrenome { get; set; } + public string NomeCompleto => $"{Nome} {Sobrenome}".ToUpper(); +} \ No newline at end of file diff --git a/trilha-net-explorando-desafio-main/Models/Reserva.cs b/trilha-net-explorando-desafio-main/Models/Reserva.cs new file mode 100644 index 00000000..4e95a6c8 --- /dev/null +++ b/trilha-net-explorando-desafio-main/Models/Reserva.cs @@ -0,0 +1,56 @@ +namespace DesafioProjetoHospedagem.Models +{ + public class Reserva + { + public List Hospedes { get; set; } + public Suite Suite { get; set; } + public int DiasReservados { get; set; } + public int ValorDesconto{ get; set; } + + public Reserva() { } + + public Reserva(int diasReservados) + { + DiasReservados = diasReservados; + ValorDesconto = 1; + } + + public void CadastrarHospedes(List hospedes) + { + if (hospedes.Count > Hospedes.Count) + { + Hospedes = hospedes; + } + else + { + throw new Exception ("O quarto não comporta tantos hóspedes"); + } + } + + public void CadastrarSuite(Suite suite) + { + Suite = suite; + } + + public int ObterQuantidadeHospedes() + { + if (Hospedes != null) + { + return Hospedes.Count(); + } + return 0; + } + + public decimal CalcularValorDiaria() + { + + decimal valor = Suite.ValorDiaria * DiasReservados; + + if (DiasReservados >= 10) + { + valor *= ValorDesconto; + } + return valor; + } + } +} \ No newline at end of file diff --git a/trilha-net-explorando-desafio-main/Models/Suite.cs b/trilha-net-explorando-desafio-main/Models/Suite.cs new file mode 100644 index 00000000..0e631385 --- /dev/null +++ b/trilha-net-explorando-desafio-main/Models/Suite.cs @@ -0,0 +1,18 @@ +namespace DesafioProjetoHospedagem.Models +{ + public class Suite + { + public Suite() { } + + public Suite(string tipoSuite, int capacidade, decimal valorDiaria) + { + TipoSuite = tipoSuite; + Capacidade = capacidade; + ValorDiaria = valorDiaria; + } + + public string TipoSuite { get; set; } + public int Capacidade { get; set; } + public decimal ValorDiaria { get; set; } + } +} \ No newline at end of file diff --git a/trilha-net-explorando-desafio-main/Program.cs b/trilha-net-explorando-desafio-main/Program.cs new file mode 100644 index 00000000..c0468e6b --- /dev/null +++ b/trilha-net-explorando-desafio-main/Program.cs @@ -0,0 +1,25 @@ +using System.Text; +using DesafioProjetoHospedagem.Models; + +Console.OutputEncoding = Encoding.UTF8; + +// Cria os modelos de hóspedes e cadastra na lista de hóspedes +List hospedes = new List(); + +Pessoa p1 = new Pessoa(nome: "Hóspede 1"); +Pessoa p2 = new Pessoa(nome: "Hóspede 2"); + +hospedes.Add(p1); +hospedes.Add(p2); + +// Cria a suíte +Suite suite = new Suite(tipoSuite: "Premium", capacidade: 3, valorDiaria: 30); + +// Cria uma nova reserva, passando a suíte e os hóspedes +Reserva reserva = new Reserva(diasReservados: 5); +reserva.CadastrarSuite(suite); +reserva.CadastrarHospedes(hospedes); + +// Exibe a quantidade de hóspedes e o valor da diária +Console.WriteLine($"Hóspedes: {reserva.ObterQuantidadeHospedes()}"); +Console.WriteLine($"Valor diária: {reserva.CalcularValorDiaria()}"); \ No newline at end of file diff --git a/trilha-net-explorando-desafio-main/README.md b/trilha-net-explorando-desafio-main/README.md new file mode 100644 index 00000000..5ab3d75a --- /dev/null +++ b/trilha-net-explorando-desafio-main/README.md @@ -0,0 +1,21 @@ +# DIO - Trilha .NET - Explorando a linguagem C# +www.dio.me + +## Desafio de projeto +Para este desafio, você precisará usar seus conhecimentos adquiridos no módulo de explorando a linguagem C#, da trilha .NET da DIO. + +## Contexto +Você foi contratado para construir um sistema de hospedagem, que será usado para realizar uma reserva em um hotel. Você precisará usar a classe Pessoa, que representa o hóspede, a classe Suíte, e a classe Reserva, que fará um relacionamento entre ambos. + +O seu programa deverá cálcular corretamente os valores dos métodos da classe Reserva, que precisará trazer a quantidade de hóspedes e o valor da diária, concedendo um desconto de 10% para caso a reserva seja para um período maior que 10 dias. + +## Regras e validações +1. Não deve ser possível realizar uma reserva de uma suíte com capacidade menor do que a quantidade de hóspedes. Exemplo: Se é uma suíte capaz de hospedar 2 pessoas, então ao passar 3 hóspedes deverá retornar uma exception. +2. O método ObterQuantidadeHospedes da classe Reserva deverá retornar a quantidade total de hóspedes, enquanto que o método CalcularValorDiaria deverá retornar o valor da diária (Dias reservados x valor da diária). +3. Caso seja feita uma reserva igual ou maior que 10 dias, deverá ser concedido um desconto de 10% no valor da diária. + + +![Diagrama de classe estacionamento](diagrama_classe_hotel.png) + +## Solução +O código está pela metade, e você deverá dar continuidade obedecendo as regras descritas acima, para que no final, tenhamos um programa funcional. Procure pela palavra comentada "TODO" no código, em seguida, implemente conforme as regras acima. diff --git a/trilha-net-explorando-desafio-main/bin/Debug/net6.0/DesafioProjetoHospedagem.deps.json b/trilha-net-explorando-desafio-main/bin/Debug/net6.0/DesafioProjetoHospedagem.deps.json new file mode 100644 index 00000000..a1fe12ef --- /dev/null +++ b/trilha-net-explorando-desafio-main/bin/Debug/net6.0/DesafioProjetoHospedagem.deps.json @@ -0,0 +1,23 @@ +{ + "runtimeTarget": { + "name": ".NETCoreApp,Version=v6.0", + "signature": "" + }, + "compilationOptions": {}, + "targets": { + ".NETCoreApp,Version=v6.0": { + "DesafioProjetoHospedagem/1.0.0": { + "runtime": { + "DesafioProjetoHospedagem.dll": {} + } + } + } + }, + "libraries": { + "DesafioProjetoHospedagem/1.0.0": { + "type": "project", + "serviceable": false, + "sha512": "" + } + } +} \ No newline at end of file diff --git a/trilha-net-explorando-desafio-main/bin/Debug/net6.0/DesafioProjetoHospedagem.dll b/trilha-net-explorando-desafio-main/bin/Debug/net6.0/DesafioProjetoHospedagem.dll new file mode 100644 index 00000000..d20b9ecd Binary files /dev/null and b/trilha-net-explorando-desafio-main/bin/Debug/net6.0/DesafioProjetoHospedagem.dll differ diff --git a/trilha-net-explorando-desafio-main/bin/Debug/net6.0/DesafioProjetoHospedagem.exe b/trilha-net-explorando-desafio-main/bin/Debug/net6.0/DesafioProjetoHospedagem.exe new file mode 100644 index 00000000..ed15bcdf Binary files /dev/null and b/trilha-net-explorando-desafio-main/bin/Debug/net6.0/DesafioProjetoHospedagem.exe differ diff --git a/trilha-net-explorando-desafio-main/bin/Debug/net6.0/DesafioProjetoHospedagem.pdb b/trilha-net-explorando-desafio-main/bin/Debug/net6.0/DesafioProjetoHospedagem.pdb new file mode 100644 index 00000000..944e4e28 Binary files /dev/null and b/trilha-net-explorando-desafio-main/bin/Debug/net6.0/DesafioProjetoHospedagem.pdb differ diff --git a/trilha-net-explorando-desafio-main/bin/Debug/net6.0/DesafioProjetoHospedagem.runtimeconfig.json b/trilha-net-explorando-desafio-main/bin/Debug/net6.0/DesafioProjetoHospedagem.runtimeconfig.json new file mode 100644 index 00000000..4e96a56b --- /dev/null +++ b/trilha-net-explorando-desafio-main/bin/Debug/net6.0/DesafioProjetoHospedagem.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/trilha-net-explorando-desafio-main/bin/Debug/net8.0/DesafioProjetoHospedagem.deps.json b/trilha-net-explorando-desafio-main/bin/Debug/net8.0/DesafioProjetoHospedagem.deps.json new file mode 100644 index 00000000..83ad925e --- /dev/null +++ b/trilha-net-explorando-desafio-main/bin/Debug/net8.0/DesafioProjetoHospedagem.deps.json @@ -0,0 +1,23 @@ +{ + "runtimeTarget": { + "name": ".NETCoreApp,Version=v8.0", + "signature": "" + }, + "compilationOptions": {}, + "targets": { + ".NETCoreApp,Version=v8.0": { + "DesafioProjetoHospedagem/1.0.0": { + "runtime": { + "DesafioProjetoHospedagem.dll": {} + } + } + } + }, + "libraries": { + "DesafioProjetoHospedagem/1.0.0": { + "type": "project", + "serviceable": false, + "sha512": "" + } + } +} \ No newline at end of file diff --git a/trilha-net-explorando-desafio-main/bin/Debug/net8.0/DesafioProjetoHospedagem.dll b/trilha-net-explorando-desafio-main/bin/Debug/net8.0/DesafioProjetoHospedagem.dll new file mode 100644 index 00000000..909c5af2 Binary files /dev/null and b/trilha-net-explorando-desafio-main/bin/Debug/net8.0/DesafioProjetoHospedagem.dll differ diff --git a/trilha-net-explorando-desafio-main/bin/Debug/net8.0/DesafioProjetoHospedagem.exe b/trilha-net-explorando-desafio-main/bin/Debug/net8.0/DesafioProjetoHospedagem.exe new file mode 100644 index 00000000..611975ec Binary files /dev/null and b/trilha-net-explorando-desafio-main/bin/Debug/net8.0/DesafioProjetoHospedagem.exe differ diff --git a/trilha-net-explorando-desafio-main/bin/Debug/net8.0/DesafioProjetoHospedagem.pdb b/trilha-net-explorando-desafio-main/bin/Debug/net8.0/DesafioProjetoHospedagem.pdb new file mode 100644 index 00000000..f053c152 Binary files /dev/null and b/trilha-net-explorando-desafio-main/bin/Debug/net8.0/DesafioProjetoHospedagem.pdb differ diff --git a/trilha-net-explorando-desafio-main/bin/Debug/net8.0/DesafioProjetoHospedagem.runtimeconfig.json b/trilha-net-explorando-desafio-main/bin/Debug/net8.0/DesafioProjetoHospedagem.runtimeconfig.json new file mode 100644 index 00000000..1de3a5db --- /dev/null +++ b/trilha-net-explorando-desafio-main/bin/Debug/net8.0/DesafioProjetoHospedagem.runtimeconfig.json @@ -0,0 +1,12 @@ +{ + "runtimeOptions": { + "tfm": "net8.0", + "framework": { + "name": "Microsoft.NETCore.App", + "version": "8.0.0" + }, + "configProperties": { + "System.Runtime.Serialization.EnableUnsafeBinaryFormatterSerialization": false + } + } +} \ No newline at end of file diff --git a/trilha-net-explorando-desafio-main/diagrama_classe_hotel.png b/trilha-net-explorando-desafio-main/diagrama_classe_hotel.png new file mode 100644 index 00000000..2706e95d Binary files /dev/null and b/trilha-net-explorando-desafio-main/diagrama_classe_hotel.png differ diff --git a/trilha-net-explorando-desafio-main/obj/Debug/net6.0/DesafioProjetoHospedagem.AssemblyInfo.cs b/trilha-net-explorando-desafio-main/obj/Debug/net6.0/DesafioProjetoHospedagem.AssemblyInfo.cs new file mode 100644 index 00000000..bfd21bb8 --- /dev/null +++ b/trilha-net-explorando-desafio-main/obj/Debug/net6.0/DesafioProjetoHospedagem.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("DesafioProjetoHospedagem")] +[assembly: System.Reflection.AssemblyConfigurationAttribute("Debug")] +[assembly: System.Reflection.AssemblyFileVersionAttribute("1.0.0.0")] +[assembly: System.Reflection.AssemblyInformationalVersionAttribute("1.0.0")] +[assembly: System.Reflection.AssemblyProductAttribute("DesafioProjetoHospedagem")] +[assembly: System.Reflection.AssemblyTitleAttribute("DesafioProjetoHospedagem")] +[assembly: System.Reflection.AssemblyVersionAttribute("1.0.0.0")] + +// Gerado pela classe WriteCodeFragment do MSBuild. + diff --git a/trilha-net-explorando-desafio-main/obj/Debug/net6.0/DesafioProjetoHospedagem.AssemblyInfoInputs.cache b/trilha-net-explorando-desafio-main/obj/Debug/net6.0/DesafioProjetoHospedagem.AssemblyInfoInputs.cache new file mode 100644 index 00000000..d6782f5d --- /dev/null +++ b/trilha-net-explorando-desafio-main/obj/Debug/net6.0/DesafioProjetoHospedagem.AssemblyInfoInputs.cache @@ -0,0 +1 @@ +f58073f4375208841869d33cccd03edd40f34f690a45238af6b3e6375d4728ed diff --git a/trilha-net-explorando-desafio-main/obj/Debug/net6.0/DesafioProjetoHospedagem.GeneratedMSBuildEditorConfig.editorconfig b/trilha-net-explorando-desafio-main/obj/Debug/net6.0/DesafioProjetoHospedagem.GeneratedMSBuildEditorConfig.editorconfig new file mode 100644 index 00000000..af1a0022 --- /dev/null +++ b/trilha-net-explorando-desafio-main/obj/Debug/net6.0/DesafioProjetoHospedagem.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 = DesafioProjetoHospedagem +build_property.ProjectDir = C:\Users\Nyan\Documents\Program\Desafios DIO\Desafio Hospedagem de Hotel\trilha-net-explorando-desafio-main\trilha-net-explorando-desafio-main\ +build_property.EnableComHosting = +build_property.EnableGeneratedComInterfaceComImportInterop = diff --git a/trilha-net-explorando-desafio-main/obj/Debug/net6.0/DesafioProjetoHospedagem.GlobalUsings.g.cs b/trilha-net-explorando-desafio-main/obj/Debug/net6.0/DesafioProjetoHospedagem.GlobalUsings.g.cs new file mode 100644 index 00000000..ac22929d --- /dev/null +++ b/trilha-net-explorando-desafio-main/obj/Debug/net6.0/DesafioProjetoHospedagem.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/trilha-net-explorando-desafio-main/obj/Debug/net6.0/DesafioProjetoHospedagem.assets.cache b/trilha-net-explorando-desafio-main/obj/Debug/net6.0/DesafioProjetoHospedagem.assets.cache new file mode 100644 index 00000000..19882f60 Binary files /dev/null and b/trilha-net-explorando-desafio-main/obj/Debug/net6.0/DesafioProjetoHospedagem.assets.cache differ diff --git a/trilha-net-explorando-desafio-main/obj/Debug/net6.0/DesafioProjetoHospedagem.csproj.CoreCompileInputs.cache b/trilha-net-explorando-desafio-main/obj/Debug/net6.0/DesafioProjetoHospedagem.csproj.CoreCompileInputs.cache new file mode 100644 index 00000000..10c9d340 --- /dev/null +++ b/trilha-net-explorando-desafio-main/obj/Debug/net6.0/DesafioProjetoHospedagem.csproj.CoreCompileInputs.cache @@ -0,0 +1 @@ +f6b514b6ac586e6b09a803e1d93d515b9c151228ebb186960537b2a2264f53f4 diff --git a/trilha-net-explorando-desafio-main/obj/Debug/net6.0/DesafioProjetoHospedagem.csproj.FileListAbsolute.txt b/trilha-net-explorando-desafio-main/obj/Debug/net6.0/DesafioProjetoHospedagem.csproj.FileListAbsolute.txt new file mode 100644 index 00000000..2dc3e136 --- /dev/null +++ b/trilha-net-explorando-desafio-main/obj/Debug/net6.0/DesafioProjetoHospedagem.csproj.FileListAbsolute.txt @@ -0,0 +1,14 @@ +C:\Users\Nyan\Documents\Program\Desafios DIO\Desafio Hospedagem de Hotel\trilha-net-explorando-desafio-main\trilha-net-explorando-desafio-main\bin\Debug\net6.0\DesafioProjetoHospedagem.exe +C:\Users\Nyan\Documents\Program\Desafios DIO\Desafio Hospedagem de Hotel\trilha-net-explorando-desafio-main\trilha-net-explorando-desafio-main\bin\Debug\net6.0\DesafioProjetoHospedagem.deps.json +C:\Users\Nyan\Documents\Program\Desafios DIO\Desafio Hospedagem de Hotel\trilha-net-explorando-desafio-main\trilha-net-explorando-desafio-main\bin\Debug\net6.0\DesafioProjetoHospedagem.runtimeconfig.json +C:\Users\Nyan\Documents\Program\Desafios DIO\Desafio Hospedagem de Hotel\trilha-net-explorando-desafio-main\trilha-net-explorando-desafio-main\bin\Debug\net6.0\DesafioProjetoHospedagem.dll +C:\Users\Nyan\Documents\Program\Desafios DIO\Desafio Hospedagem de Hotel\trilha-net-explorando-desafio-main\trilha-net-explorando-desafio-main\bin\Debug\net6.0\DesafioProjetoHospedagem.pdb +C:\Users\Nyan\Documents\Program\Desafios DIO\Desafio Hospedagem de Hotel\trilha-net-explorando-desafio-main\trilha-net-explorando-desafio-main\obj\Debug\net6.0\DesafioProjetoHospedagem.GeneratedMSBuildEditorConfig.editorconfig +C:\Users\Nyan\Documents\Program\Desafios DIO\Desafio Hospedagem de Hotel\trilha-net-explorando-desafio-main\trilha-net-explorando-desafio-main\obj\Debug\net6.0\DesafioProjetoHospedagem.AssemblyInfoInputs.cache +C:\Users\Nyan\Documents\Program\Desafios DIO\Desafio Hospedagem de Hotel\trilha-net-explorando-desafio-main\trilha-net-explorando-desafio-main\obj\Debug\net6.0\DesafioProjetoHospedagem.AssemblyInfo.cs +C:\Users\Nyan\Documents\Program\Desafios DIO\Desafio Hospedagem de Hotel\trilha-net-explorando-desafio-main\trilha-net-explorando-desafio-main\obj\Debug\net6.0\DesafioProjetoHospedagem.csproj.CoreCompileInputs.cache +C:\Users\Nyan\Documents\Program\Desafios DIO\Desafio Hospedagem de Hotel\trilha-net-explorando-desafio-main\trilha-net-explorando-desafio-main\obj\Debug\net6.0\DesafioProjetoHospedagem.dll +C:\Users\Nyan\Documents\Program\Desafios DIO\Desafio Hospedagem de Hotel\trilha-net-explorando-desafio-main\trilha-net-explorando-desafio-main\obj\Debug\net6.0\refint\DesafioProjetoHospedagem.dll +C:\Users\Nyan\Documents\Program\Desafios DIO\Desafio Hospedagem de Hotel\trilha-net-explorando-desafio-main\trilha-net-explorando-desafio-main\obj\Debug\net6.0\DesafioProjetoHospedagem.pdb +C:\Users\Nyan\Documents\Program\Desafios DIO\Desafio Hospedagem de Hotel\trilha-net-explorando-desafio-main\trilha-net-explorando-desafio-main\obj\Debug\net6.0\DesafioProjetoHospedagem.genruntimeconfig.cache +C:\Users\Nyan\Documents\Program\Desafios DIO\Desafio Hospedagem de Hotel\trilha-net-explorando-desafio-main\trilha-net-explorando-desafio-main\obj\Debug\net6.0\ref\DesafioProjetoHospedagem.dll diff --git a/trilha-net-explorando-desafio-main/obj/Debug/net6.0/DesafioProjetoHospedagem.dll b/trilha-net-explorando-desafio-main/obj/Debug/net6.0/DesafioProjetoHospedagem.dll new file mode 100644 index 00000000..d20b9ecd Binary files /dev/null and b/trilha-net-explorando-desafio-main/obj/Debug/net6.0/DesafioProjetoHospedagem.dll differ diff --git a/trilha-net-explorando-desafio-main/obj/Debug/net6.0/DesafioProjetoHospedagem.genruntimeconfig.cache b/trilha-net-explorando-desafio-main/obj/Debug/net6.0/DesafioProjetoHospedagem.genruntimeconfig.cache new file mode 100644 index 00000000..3bb6a92e --- /dev/null +++ b/trilha-net-explorando-desafio-main/obj/Debug/net6.0/DesafioProjetoHospedagem.genruntimeconfig.cache @@ -0,0 +1 @@ +6e8aafcc4efd3f2e3bd669b93f6fc9bfa3a7a48c8f344a8784c5c003bc6d66ff diff --git a/trilha-net-explorando-desafio-main/obj/Debug/net6.0/DesafioProjetoHospedagem.pdb b/trilha-net-explorando-desafio-main/obj/Debug/net6.0/DesafioProjetoHospedagem.pdb new file mode 100644 index 00000000..944e4e28 Binary files /dev/null and b/trilha-net-explorando-desafio-main/obj/Debug/net6.0/DesafioProjetoHospedagem.pdb differ diff --git a/trilha-net-explorando-desafio-main/obj/Debug/net6.0/apphost.exe b/trilha-net-explorando-desafio-main/obj/Debug/net6.0/apphost.exe new file mode 100644 index 00000000..ed15bcdf Binary files /dev/null and b/trilha-net-explorando-desafio-main/obj/Debug/net6.0/apphost.exe differ diff --git a/trilha-net-explorando-desafio-main/obj/Debug/net6.0/ref/DesafioProjetoHospedagem.dll b/trilha-net-explorando-desafio-main/obj/Debug/net6.0/ref/DesafioProjetoHospedagem.dll new file mode 100644 index 00000000..59032721 Binary files /dev/null and b/trilha-net-explorando-desafio-main/obj/Debug/net6.0/ref/DesafioProjetoHospedagem.dll differ diff --git a/trilha-net-explorando-desafio-main/obj/Debug/net6.0/refint/DesafioProjetoHospedagem.dll b/trilha-net-explorando-desafio-main/obj/Debug/net6.0/refint/DesafioProjetoHospedagem.dll new file mode 100644 index 00000000..59032721 Binary files /dev/null and b/trilha-net-explorando-desafio-main/obj/Debug/net6.0/refint/DesafioProjetoHospedagem.dll differ diff --git a/trilha-net-explorando-desafio-main/obj/Debug/net8.0/DesafioProjetoHospedagem.AssemblyInfo.cs b/trilha-net-explorando-desafio-main/obj/Debug/net8.0/DesafioProjetoHospedagem.AssemblyInfo.cs new file mode 100644 index 00000000..bfd21bb8 --- /dev/null +++ b/trilha-net-explorando-desafio-main/obj/Debug/net8.0/DesafioProjetoHospedagem.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("DesafioProjetoHospedagem")] +[assembly: System.Reflection.AssemblyConfigurationAttribute("Debug")] +[assembly: System.Reflection.AssemblyFileVersionAttribute("1.0.0.0")] +[assembly: System.Reflection.AssemblyInformationalVersionAttribute("1.0.0")] +[assembly: System.Reflection.AssemblyProductAttribute("DesafioProjetoHospedagem")] +[assembly: System.Reflection.AssemblyTitleAttribute("DesafioProjetoHospedagem")] +[assembly: System.Reflection.AssemblyVersionAttribute("1.0.0.0")] + +// Gerado pela classe WriteCodeFragment do MSBuild. + diff --git a/trilha-net-explorando-desafio-main/obj/Debug/net8.0/DesafioProjetoHospedagem.AssemblyInfoInputs.cache b/trilha-net-explorando-desafio-main/obj/Debug/net8.0/DesafioProjetoHospedagem.AssemblyInfoInputs.cache new file mode 100644 index 00000000..d6782f5d --- /dev/null +++ b/trilha-net-explorando-desafio-main/obj/Debug/net8.0/DesafioProjetoHospedagem.AssemblyInfoInputs.cache @@ -0,0 +1 @@ +f58073f4375208841869d33cccd03edd40f34f690a45238af6b3e6375d4728ed diff --git a/trilha-net-explorando-desafio-main/obj/Debug/net8.0/DesafioProjetoHospedagem.GeneratedMSBuildEditorConfig.editorconfig b/trilha-net-explorando-desafio-main/obj/Debug/net8.0/DesafioProjetoHospedagem.GeneratedMSBuildEditorConfig.editorconfig new file mode 100644 index 00000000..c09639ca --- /dev/null +++ b/trilha-net-explorando-desafio-main/obj/Debug/net8.0/DesafioProjetoHospedagem.GeneratedMSBuildEditorConfig.editorconfig @@ -0,0 +1,13 @@ +is_global = true +build_property.TargetFramework = net8.0 +build_property.TargetPlatformMinVersion = +build_property.UsingMicrosoftNETSdkWeb = +build_property.ProjectTypeGuids = +build_property.InvariantGlobalization = +build_property.PlatformNeutralAssembly = +build_property.EnforceExtendedAnalyzerRules = +build_property._SupportedPlatformList = Linux,macOS,Windows +build_property.RootNamespace = DesafioProjetoHospedagem +build_property.ProjectDir = C:\Users\Nyan\Documents\Program\Desafios DIO\Desafio Hospedagem de Hotel\trilha-net-explorando-desafio-main\ +build_property.EnableComHosting = +build_property.EnableGeneratedComInterfaceComImportInterop = diff --git a/trilha-net-explorando-desafio-main/obj/Debug/net8.0/DesafioProjetoHospedagem.GlobalUsings.g.cs b/trilha-net-explorando-desafio-main/obj/Debug/net8.0/DesafioProjetoHospedagem.GlobalUsings.g.cs new file mode 100644 index 00000000..ac22929d --- /dev/null +++ b/trilha-net-explorando-desafio-main/obj/Debug/net8.0/DesafioProjetoHospedagem.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/trilha-net-explorando-desafio-main/obj/Debug/net8.0/DesafioProjetoHospedagem.assets.cache b/trilha-net-explorando-desafio-main/obj/Debug/net8.0/DesafioProjetoHospedagem.assets.cache new file mode 100644 index 00000000..e1edc67d Binary files /dev/null and b/trilha-net-explorando-desafio-main/obj/Debug/net8.0/DesafioProjetoHospedagem.assets.cache differ diff --git a/trilha-net-explorando-desafio-main/obj/Debug/net8.0/DesafioProjetoHospedagem.csproj.CoreCompileInputs.cache b/trilha-net-explorando-desafio-main/obj/Debug/net8.0/DesafioProjetoHospedagem.csproj.CoreCompileInputs.cache new file mode 100644 index 00000000..f7381cfa --- /dev/null +++ b/trilha-net-explorando-desafio-main/obj/Debug/net8.0/DesafioProjetoHospedagem.csproj.CoreCompileInputs.cache @@ -0,0 +1 @@ +447076ed0e2cadbe8eb468d4041b4718526796259c7b6b9f0c0c1e73afc6aeef diff --git a/trilha-net-explorando-desafio-main/obj/Debug/net8.0/DesafioProjetoHospedagem.csproj.FileListAbsolute.txt b/trilha-net-explorando-desafio-main/obj/Debug/net8.0/DesafioProjetoHospedagem.csproj.FileListAbsolute.txt new file mode 100644 index 00000000..36a91c09 --- /dev/null +++ b/trilha-net-explorando-desafio-main/obj/Debug/net8.0/DesafioProjetoHospedagem.csproj.FileListAbsolute.txt @@ -0,0 +1,28 @@ +C:\Users\Nyan\Documents\Program\Desafios DIO\Desafio Hospedagem de Hotel\trilha-net-explorando-desafio-main\trilha-net-explorando-desafio-main\bin\Debug\net8.0\DesafioProjetoHospedagem.exe +C:\Users\Nyan\Documents\Program\Desafios DIO\Desafio Hospedagem de Hotel\trilha-net-explorando-desafio-main\trilha-net-explorando-desafio-main\bin\Debug\net8.0\DesafioProjetoHospedagem.deps.json +C:\Users\Nyan\Documents\Program\Desafios DIO\Desafio Hospedagem de Hotel\trilha-net-explorando-desafio-main\trilha-net-explorando-desafio-main\bin\Debug\net8.0\DesafioProjetoHospedagem.runtimeconfig.json +C:\Users\Nyan\Documents\Program\Desafios DIO\Desafio Hospedagem de Hotel\trilha-net-explorando-desafio-main\trilha-net-explorando-desafio-main\bin\Debug\net8.0\DesafioProjetoHospedagem.dll +C:\Users\Nyan\Documents\Program\Desafios DIO\Desafio Hospedagem de Hotel\trilha-net-explorando-desafio-main\trilha-net-explorando-desafio-main\bin\Debug\net8.0\DesafioProjetoHospedagem.pdb +C:\Users\Nyan\Documents\Program\Desafios DIO\Desafio Hospedagem de Hotel\trilha-net-explorando-desafio-main\trilha-net-explorando-desafio-main\obj\Debug\net8.0\DesafioProjetoHospedagem.GeneratedMSBuildEditorConfig.editorconfig +C:\Users\Nyan\Documents\Program\Desafios DIO\Desafio Hospedagem de Hotel\trilha-net-explorando-desafio-main\trilha-net-explorando-desafio-main\obj\Debug\net8.0\DesafioProjetoHospedagem.AssemblyInfoInputs.cache +C:\Users\Nyan\Documents\Program\Desafios DIO\Desafio Hospedagem de Hotel\trilha-net-explorando-desafio-main\trilha-net-explorando-desafio-main\obj\Debug\net8.0\DesafioProjetoHospedagem.AssemblyInfo.cs +C:\Users\Nyan\Documents\Program\Desafios DIO\Desafio Hospedagem de Hotel\trilha-net-explorando-desafio-main\trilha-net-explorando-desafio-main\obj\Debug\net8.0\DesafioProjetoHospedagem.csproj.CoreCompileInputs.cache +C:\Users\Nyan\Documents\Program\Desafios DIO\Desafio Hospedagem de Hotel\trilha-net-explorando-desafio-main\trilha-net-explorando-desafio-main\obj\Debug\net8.0\DesafioProjetoHospedagem.dll +C:\Users\Nyan\Documents\Program\Desafios DIO\Desafio Hospedagem de Hotel\trilha-net-explorando-desafio-main\trilha-net-explorando-desafio-main\obj\Debug\net8.0\refint\DesafioProjetoHospedagem.dll +C:\Users\Nyan\Documents\Program\Desafios DIO\Desafio Hospedagem de Hotel\trilha-net-explorando-desafio-main\trilha-net-explorando-desafio-main\obj\Debug\net8.0\DesafioProjetoHospedagem.pdb +C:\Users\Nyan\Documents\Program\Desafios DIO\Desafio Hospedagem de Hotel\trilha-net-explorando-desafio-main\trilha-net-explorando-desafio-main\obj\Debug\net8.0\DesafioProjetoHospedagem.genruntimeconfig.cache +C:\Users\Nyan\Documents\Program\Desafios DIO\Desafio Hospedagem de Hotel\trilha-net-explorando-desafio-main\trilha-net-explorando-desafio-main\obj\Debug\net8.0\ref\DesafioProjetoHospedagem.dll +C:\Users\Nyan\Documents\Program\Desafios DIO\Desafio Hospedagem de Hotel\trilha-net-explorando-desafio-main\bin\Debug\net8.0\DesafioProjetoHospedagem.exe +C:\Users\Nyan\Documents\Program\Desafios DIO\Desafio Hospedagem de Hotel\trilha-net-explorando-desafio-main\bin\Debug\net8.0\DesafioProjetoHospedagem.deps.json +C:\Users\Nyan\Documents\Program\Desafios DIO\Desafio Hospedagem de Hotel\trilha-net-explorando-desafio-main\bin\Debug\net8.0\DesafioProjetoHospedagem.runtimeconfig.json +C:\Users\Nyan\Documents\Program\Desafios DIO\Desafio Hospedagem de Hotel\trilha-net-explorando-desafio-main\bin\Debug\net8.0\DesafioProjetoHospedagem.dll +C:\Users\Nyan\Documents\Program\Desafios DIO\Desafio Hospedagem de Hotel\trilha-net-explorando-desafio-main\bin\Debug\net8.0\DesafioProjetoHospedagem.pdb +C:\Users\Nyan\Documents\Program\Desafios DIO\Desafio Hospedagem de Hotel\trilha-net-explorando-desafio-main\obj\Debug\net8.0\DesafioProjetoHospedagem.GeneratedMSBuildEditorConfig.editorconfig +C:\Users\Nyan\Documents\Program\Desafios DIO\Desafio Hospedagem de Hotel\trilha-net-explorando-desafio-main\obj\Debug\net8.0\DesafioProjetoHospedagem.AssemblyInfoInputs.cache +C:\Users\Nyan\Documents\Program\Desafios DIO\Desafio Hospedagem de Hotel\trilha-net-explorando-desafio-main\obj\Debug\net8.0\DesafioProjetoHospedagem.AssemblyInfo.cs +C:\Users\Nyan\Documents\Program\Desafios DIO\Desafio Hospedagem de Hotel\trilha-net-explorando-desafio-main\obj\Debug\net8.0\DesafioProjetoHospedagem.csproj.CoreCompileInputs.cache +C:\Users\Nyan\Documents\Program\Desafios DIO\Desafio Hospedagem de Hotel\trilha-net-explorando-desafio-main\obj\Debug\net8.0\DesafioProjetoHospedagem.dll +C:\Users\Nyan\Documents\Program\Desafios DIO\Desafio Hospedagem de Hotel\trilha-net-explorando-desafio-main\obj\Debug\net8.0\refint\DesafioProjetoHospedagem.dll +C:\Users\Nyan\Documents\Program\Desafios DIO\Desafio Hospedagem de Hotel\trilha-net-explorando-desafio-main\obj\Debug\net8.0\DesafioProjetoHospedagem.pdb +C:\Users\Nyan\Documents\Program\Desafios DIO\Desafio Hospedagem de Hotel\trilha-net-explorando-desafio-main\obj\Debug\net8.0\DesafioProjetoHospedagem.genruntimeconfig.cache +C:\Users\Nyan\Documents\Program\Desafios DIO\Desafio Hospedagem de Hotel\trilha-net-explorando-desafio-main\obj\Debug\net8.0\ref\DesafioProjetoHospedagem.dll diff --git a/trilha-net-explorando-desafio-main/obj/Debug/net8.0/DesafioProjetoHospedagem.dll b/trilha-net-explorando-desafio-main/obj/Debug/net8.0/DesafioProjetoHospedagem.dll new file mode 100644 index 00000000..909c5af2 Binary files /dev/null and b/trilha-net-explorando-desafio-main/obj/Debug/net8.0/DesafioProjetoHospedagem.dll differ diff --git a/trilha-net-explorando-desafio-main/obj/Debug/net8.0/DesafioProjetoHospedagem.genruntimeconfig.cache b/trilha-net-explorando-desafio-main/obj/Debug/net8.0/DesafioProjetoHospedagem.genruntimeconfig.cache new file mode 100644 index 00000000..1962ab7a --- /dev/null +++ b/trilha-net-explorando-desafio-main/obj/Debug/net8.0/DesafioProjetoHospedagem.genruntimeconfig.cache @@ -0,0 +1 @@ +b2670e1af556a6205618b674388580e56c67ea4f087d7caf611f2407f4803022 diff --git a/trilha-net-explorando-desafio-main/obj/Debug/net8.0/DesafioProjetoHospedagem.pdb b/trilha-net-explorando-desafio-main/obj/Debug/net8.0/DesafioProjetoHospedagem.pdb new file mode 100644 index 00000000..f053c152 Binary files /dev/null and b/trilha-net-explorando-desafio-main/obj/Debug/net8.0/DesafioProjetoHospedagem.pdb differ diff --git a/trilha-net-explorando-desafio-main/obj/Debug/net8.0/apphost.exe b/trilha-net-explorando-desafio-main/obj/Debug/net8.0/apphost.exe new file mode 100644 index 00000000..611975ec Binary files /dev/null and b/trilha-net-explorando-desafio-main/obj/Debug/net8.0/apphost.exe differ diff --git a/trilha-net-explorando-desafio-main/obj/Debug/net8.0/ref/DesafioProjetoHospedagem.dll b/trilha-net-explorando-desafio-main/obj/Debug/net8.0/ref/DesafioProjetoHospedagem.dll new file mode 100644 index 00000000..10284d01 Binary files /dev/null and b/trilha-net-explorando-desafio-main/obj/Debug/net8.0/ref/DesafioProjetoHospedagem.dll differ diff --git a/trilha-net-explorando-desafio-main/obj/Debug/net8.0/refint/DesafioProjetoHospedagem.dll b/trilha-net-explorando-desafio-main/obj/Debug/net8.0/refint/DesafioProjetoHospedagem.dll new file mode 100644 index 00000000..10284d01 Binary files /dev/null and b/trilha-net-explorando-desafio-main/obj/Debug/net8.0/refint/DesafioProjetoHospedagem.dll differ diff --git a/trilha-net-explorando-desafio-main/obj/DesafioProjetoHospedagem.csproj.nuget.dgspec.json b/trilha-net-explorando-desafio-main/obj/DesafioProjetoHospedagem.csproj.nuget.dgspec.json new file mode 100644 index 00000000..34921836 --- /dev/null +++ b/trilha-net-explorando-desafio-main/obj/DesafioProjetoHospedagem.csproj.nuget.dgspec.json @@ -0,0 +1,66 @@ +{ + "format": 1, + "restore": { + "C:\\Users\\Nyan\\Documents\\Program\\Desafios DIO\\Desafio Hospedagem de Hotel\\trilha-net-explorando-desafio-main\\DesafioProjetoHospedagem.csproj": {} + }, + "projects": { + "C:\\Users\\Nyan\\Documents\\Program\\Desafios DIO\\Desafio Hospedagem de Hotel\\trilha-net-explorando-desafio-main\\DesafioProjetoHospedagem.csproj": { + "version": "1.0.0", + "restore": { + "projectUniqueName": "C:\\Users\\Nyan\\Documents\\Program\\Desafios DIO\\Desafio Hospedagem de Hotel\\trilha-net-explorando-desafio-main\\DesafioProjetoHospedagem.csproj", + "projectName": "DesafioProjetoHospedagem", + "projectPath": "C:\\Users\\Nyan\\Documents\\Program\\Desafios DIO\\Desafio Hospedagem de Hotel\\trilha-net-explorando-desafio-main\\DesafioProjetoHospedagem.csproj", + "packagesPath": "C:\\Users\\Nyan\\.nuget\\packages\\", + "outputPath": "C:\\Users\\Nyan\\Documents\\Program\\Desafios DIO\\Desafio Hospedagem de Hotel\\trilha-net-explorando-desafio-main\\obj\\", + "projectStyle": "PackageReference", + "configFilePaths": [ + "C:\\Users\\Nyan\\AppData\\Roaming\\NuGet\\NuGet.Config" + ], + "originalTargetFrameworks": [ + "net8.0" + ], + "sources": { + "https://api.nuget.org/v3/index.json": {} + }, + "frameworks": { + "net8.0": { + "targetAlias": "net8.0", + "projectReferences": {} + } + }, + "warningProperties": { + "warnAsError": [ + "NU1605" + ] + }, + "restoreAuditProperties": { + "enableAudit": "true", + "auditLevel": "low", + "auditMode": "direct" + } + }, + "frameworks": { + "net8.0": { + "targetAlias": "net8.0", + "imports": [ + "net461", + "net462", + "net47", + "net471", + "net472", + "net48", + "net481" + ], + "assetTargetFallback": true, + "warn": true, + "frameworkReferences": { + "Microsoft.NETCore.App": { + "privateAssets": "all" + } + }, + "runtimeIdentifierGraphPath": "C:\\Program Files\\dotnet\\sdk\\8.0.303/PortableRuntimeIdentifierGraph.json" + } + } + } + } +} \ No newline at end of file diff --git a/trilha-net-explorando-desafio-main/obj/DesafioProjetoHospedagem.csproj.nuget.g.props b/trilha-net-explorando-desafio-main/obj/DesafioProjetoHospedagem.csproj.nuget.g.props new file mode 100644 index 00000000..bcc245c9 --- /dev/null +++ b/trilha-net-explorando-desafio-main/obj/DesafioProjetoHospedagem.csproj.nuget.g.props @@ -0,0 +1,15 @@ + + + + True + NuGet + $(MSBuildThisFileDirectory)project.assets.json + $(UserProfile)\.nuget\packages\ + C:\Users\Nyan\.nuget\packages\ + PackageReference + 6.10.0 + + + + + \ No newline at end of file diff --git a/trilha-net-explorando-desafio-main/obj/DesafioProjetoHospedagem.csproj.nuget.g.targets b/trilha-net-explorando-desafio-main/obj/DesafioProjetoHospedagem.csproj.nuget.g.targets new file mode 100644 index 00000000..35a7576c --- /dev/null +++ b/trilha-net-explorando-desafio-main/obj/DesafioProjetoHospedagem.csproj.nuget.g.targets @@ -0,0 +1,2 @@ + + \ No newline at end of file diff --git a/trilha-net-explorando-desafio-main/obj/project.assets.json b/trilha-net-explorando-desafio-main/obj/project.assets.json new file mode 100644 index 00000000..127cc79b --- /dev/null +++ b/trilha-net-explorando-desafio-main/obj/project.assets.json @@ -0,0 +1,71 @@ +{ + "version": 3, + "targets": { + "net8.0": {} + }, + "libraries": {}, + "projectFileDependencyGroups": { + "net8.0": [] + }, + "packageFolders": { + "C:\\Users\\Nyan\\.nuget\\packages\\": {} + }, + "project": { + "version": "1.0.0", + "restore": { + "projectUniqueName": "C:\\Users\\Nyan\\Documents\\Program\\Desafios DIO\\Desafio Hospedagem de Hotel\\trilha-net-explorando-desafio-main\\DesafioProjetoHospedagem.csproj", + "projectName": "DesafioProjetoHospedagem", + "projectPath": "C:\\Users\\Nyan\\Documents\\Program\\Desafios DIO\\Desafio Hospedagem de Hotel\\trilha-net-explorando-desafio-main\\DesafioProjetoHospedagem.csproj", + "packagesPath": "C:\\Users\\Nyan\\.nuget\\packages\\", + "outputPath": "C:\\Users\\Nyan\\Documents\\Program\\Desafios DIO\\Desafio Hospedagem de Hotel\\trilha-net-explorando-desafio-main\\obj\\", + "projectStyle": "PackageReference", + "configFilePaths": [ + "C:\\Users\\Nyan\\AppData\\Roaming\\NuGet\\NuGet.Config" + ], + "originalTargetFrameworks": [ + "net8.0" + ], + "sources": { + "https://api.nuget.org/v3/index.json": {} + }, + "frameworks": { + "net8.0": { + "targetAlias": "net8.0", + "projectReferences": {} + } + }, + "warningProperties": { + "warnAsError": [ + "NU1605" + ] + }, + "restoreAuditProperties": { + "enableAudit": "true", + "auditLevel": "low", + "auditMode": "direct" + } + }, + "frameworks": { + "net8.0": { + "targetAlias": "net8.0", + "imports": [ + "net461", + "net462", + "net47", + "net471", + "net472", + "net48", + "net481" + ], + "assetTargetFallback": true, + "warn": true, + "frameworkReferences": { + "Microsoft.NETCore.App": { + "privateAssets": "all" + } + }, + "runtimeIdentifierGraphPath": "C:\\Program Files\\dotnet\\sdk\\8.0.303/PortableRuntimeIdentifierGraph.json" + } + } + } +} \ No newline at end of file diff --git a/trilha-net-explorando-desafio-main/obj/project.nuget.cache b/trilha-net-explorando-desafio-main/obj/project.nuget.cache new file mode 100644 index 00000000..bf0528f9 --- /dev/null +++ b/trilha-net-explorando-desafio-main/obj/project.nuget.cache @@ -0,0 +1,8 @@ +{ + "version": 2, + "dgSpecHash": "OhKP8nQxnzo=", + "success": true, + "projectFilePath": "C:\\Users\\Nyan\\Documents\\Program\\Desafios DIO\\Desafio Hospedagem de Hotel\\trilha-net-explorando-desafio-main\\DesafioProjetoHospedagem.csproj", + "expectedPackageFiles": [], + "logs": [] +} \ No newline at end of file