Reposfix: correjido gitignore

This commit is contained in:
2024-04-01 17:50:28 -03:00
committed by Nacho
parent 6a21854822
commit 6f63c32800
58 changed files with 14689 additions and 186 deletions

View File

@@ -9,26 +9,27 @@ namespace Entidades
{
public class Factura
{
public double Total { get; set; }
public DateTime Fecha { get; set; }
public Cliente Cliente { get; set; }
private List<DetalleFactura> detalles = new List<DetalleFactura>();
public int Id { get; set; }
public double Total { get; set; }
public DateTime Fecha { get; set; }
public Cliente Cliente { get; set; }
private List<DetalleFactura> detalles = new List<DetalleFactura>();
public void AñadirDetalle(DetalleFactura detalle)
{
detalles.Add(detalle);
}
public void AñadirDetalle(DetalleFactura detalle)
{
detalles.Add(detalle);
}
public bool EliminarDetalle(DetalleFactura detalle)
{
var aeliminar = detalles.Find(x => x.Id == detalle.Id);
if (aeliminar == null) return false;
return detalles.Remove(aeliminar);
}
public bool EliminarDetalle(DetalleFactura detalle)
{
var aeliminar = detalles.Find(x => x.Id == detalle.Id);
if (aeliminar == null) return false;
return detalles.Remove(aeliminar);
}
public ReadOnlyCollection<DetalleFactura> MostrarDetalles()
{
return detalles.AsReadOnly();
public ReadOnlyCollection<DetalleFactura> MostrarDetalles()
{
return detalles.AsReadOnly();
}
}
}
}

View File

@@ -14,7 +14,7 @@ using System.Reflection;
[assembly: System.Reflection.AssemblyCompanyAttribute("Entidades")]
[assembly: System.Reflection.AssemblyConfigurationAttribute("Debug")]
[assembly: System.Reflection.AssemblyFileVersionAttribute("1.0.0.0")]
[assembly: System.Reflection.AssemblyInformationalVersionAttribute("1.0.0")]
[assembly: System.Reflection.AssemblyInformationalVersionAttribute("1.0.0+6a218548227333b04bf755c7f03cf40b2885af7b")]
[assembly: System.Reflection.AssemblyProductAttribute("Entidades")]
[assembly: System.Reflection.AssemblyTitleAttribute("Entidades")]
[assembly: System.Reflection.AssemblyVersionAttribute("1.0.0.0")]

View File

@@ -1 +1 @@
1589bc3738d4d92e8df1687e356ae3d2c87cb333
e30c2a391d9a5e8df34f82bfacc5d302fd36addb94d71e5447e13f6cb8e449b2

View File

@@ -8,4 +8,6 @@ build_property.PlatformNeutralAssembly =
build_property.EnforceExtendedAnalyzerRules =
build_property._SupportedPlatformList = Linux,macOS,Windows
build_property.RootNamespace = Entidades
build_property.ProjectDir = C:\Users\Nacho\Desktop\verdadero\Entidades\
build_property.ProjectDir = C:\Users\Nacho\Desktop\Final\Entidades\
build_property.EnableComHosting =
build_property.EnableGeneratedComInterfaceComImportInterop =

View File

@@ -1,24 +1,20 @@
{
"format": 1,
"restore": {
"C:\\Users\\Nacho\\Desktop\\verdadero\\Entidades\\Entidades.csproj": {}
"C:\\Users\\Nacho\\Desktop\\Final\\Entidades\\Entidades.csproj": {}
},
"projects": {
"C:\\Users\\Nacho\\Desktop\\verdadero\\Entidades\\Entidades.csproj": {
"C:\\Users\\Nacho\\Desktop\\Final\\Entidades\\Entidades.csproj": {
"version": "1.0.0",
"restore": {
"projectUniqueName": "C:\\Users\\Nacho\\Desktop\\verdadero\\Entidades\\Entidades.csproj",
"projectUniqueName": "C:\\Users\\Nacho\\Desktop\\Final\\Entidades\\Entidades.csproj",
"projectName": "Entidades",
"projectPath": "C:\\Users\\Nacho\\Desktop\\verdadero\\Entidades\\Entidades.csproj",
"projectPath": "C:\\Users\\Nacho\\Desktop\\Final\\Entidades\\Entidades.csproj",
"packagesPath": "C:\\Users\\Nacho\\.nuget\\packages\\",
"outputPath": "C:\\Users\\Nacho\\Desktop\\verdadero\\Entidades\\obj\\",
"outputPath": "C:\\Users\\Nacho\\Desktop\\Final\\Entidades\\obj\\",
"projectStyle": "PackageReference",
"fallbackFolders": [
"C:\\Program Files (x86)\\Microsoft Visual Studio\\Shared\\NuGetPackages"
],
"configFilePaths": [
"C:\\Users\\Nacho\\AppData\\Roaming\\NuGet\\NuGet.Config",
"C:\\Program Files (x86)\\NuGet\\Config\\Microsoft.VisualStudio.FallbackLocation.config",
"C:\\Program Files (x86)\\NuGet\\Config\\Microsoft.VisualStudio.Offline.config"
],
"originalTargetFrameworks": [
@@ -38,6 +34,11 @@
"warnAsError": [
"NU1605"
]
},
"restoreAuditProperties": {
"enableAudit": "true",
"auditLevel": "low",
"auditMode": "direct"
}
},
"frameworks": {
@@ -54,12 +55,26 @@
],
"assetTargetFallback": true,
"warn": true,
"downloadDependencies": [
{
"name": "Microsoft.AspNetCore.App.Ref",
"version": "[6.0.28, 6.0.28]"
},
{
"name": "Microsoft.NETCore.App.Ref",
"version": "[6.0.28, 6.0.28]"
},
{
"name": "Microsoft.WindowsDesktop.App.Ref",
"version": "[6.0.28, 6.0.28]"
}
],
"frameworkReferences": {
"Microsoft.NETCore.App": {
"privateAssets": "all"
}
},
"runtimeIdentifierGraphPath": "C:\\Program Files\\dotnet\\sdk\\7.0.100\\RuntimeIdentifierGraph.json"
"runtimeIdentifierGraphPath": "C:\\Program Files\\dotnet\\sdk\\8.0.202\\RuntimeIdentifierGraph.json"
}
}
}

View File

@@ -5,12 +5,11 @@
<RestoreTool Condition=" '$(RestoreTool)' == '' ">NuGet</RestoreTool>
<ProjectAssetsFile Condition=" '$(ProjectAssetsFile)' == '' ">$(MSBuildThisFileDirectory)project.assets.json</ProjectAssetsFile>
<NuGetPackageRoot Condition=" '$(NuGetPackageRoot)' == '' ">$(UserProfile)\.nuget\packages\</NuGetPackageRoot>
<NuGetPackageFolders Condition=" '$(NuGetPackageFolders)' == '' ">C:\Users\Nacho\.nuget\packages\;C:\Program Files (x86)\Microsoft Visual Studio\Shared\NuGetPackages</NuGetPackageFolders>
<NuGetPackageFolders Condition=" '$(NuGetPackageFolders)' == '' ">C:\Users\Nacho\.nuget\packages\</NuGetPackageFolders>
<NuGetProjectStyle Condition=" '$(NuGetProjectStyle)' == '' ">PackageReference</NuGetProjectStyle>
<NuGetToolVersion Condition=" '$(NuGetToolVersion)' == '' ">6.4.0</NuGetToolVersion>
<NuGetToolVersion Condition=" '$(NuGetToolVersion)' == '' ">6.9.2</NuGetToolVersion>
</PropertyGroup>
<ItemGroup Condition=" '$(ExcludeRestorePackageImports)' != 'true' ">
<SourceRoot Include="C:\Users\Nacho\.nuget\packages\" />
<SourceRoot Include="C:\Program Files (x86)\Microsoft Visual Studio\Shared\NuGetPackages\" />
</ItemGroup>
</Project>

View File

@@ -8,24 +8,19 @@
"net6.0": []
},
"packageFolders": {
"C:\\Users\\Nacho\\.nuget\\packages\\": {},
"C:\\Program Files (x86)\\Microsoft Visual Studio\\Shared\\NuGetPackages": {}
"C:\\Users\\Nacho\\.nuget\\packages\\": {}
},
"project": {
"version": "1.0.0",
"restore": {
"projectUniqueName": "C:\\Users\\Nacho\\Desktop\\verdadero\\Entidades\\Entidades.csproj",
"projectUniqueName": "C:\\Users\\Nacho\\Desktop\\Final\\Entidades\\Entidades.csproj",
"projectName": "Entidades",
"projectPath": "C:\\Users\\Nacho\\Desktop\\verdadero\\Entidades\\Entidades.csproj",
"projectPath": "C:\\Users\\Nacho\\Desktop\\Final\\Entidades\\Entidades.csproj",
"packagesPath": "C:\\Users\\Nacho\\.nuget\\packages\\",
"outputPath": "C:\\Users\\Nacho\\Desktop\\verdadero\\Entidades\\obj\\",
"outputPath": "C:\\Users\\Nacho\\Desktop\\Final\\Entidades\\obj\\",
"projectStyle": "PackageReference",
"fallbackFolders": [
"C:\\Program Files (x86)\\Microsoft Visual Studio\\Shared\\NuGetPackages"
],
"configFilePaths": [
"C:\\Users\\Nacho\\AppData\\Roaming\\NuGet\\NuGet.Config",
"C:\\Program Files (x86)\\NuGet\\Config\\Microsoft.VisualStudio.FallbackLocation.config",
"C:\\Program Files (x86)\\NuGet\\Config\\Microsoft.VisualStudio.Offline.config"
],
"originalTargetFrameworks": [
@@ -45,6 +40,11 @@
"warnAsError": [
"NU1605"
]
},
"restoreAuditProperties": {
"enableAudit": "true",
"auditLevel": "low",
"auditMode": "direct"
}
},
"frameworks": {
@@ -61,12 +61,26 @@
],
"assetTargetFallback": true,
"warn": true,
"downloadDependencies": [
{
"name": "Microsoft.AspNetCore.App.Ref",
"version": "[6.0.28, 6.0.28]"
},
{
"name": "Microsoft.NETCore.App.Ref",
"version": "[6.0.28, 6.0.28]"
},
{
"name": "Microsoft.WindowsDesktop.App.Ref",
"version": "[6.0.28, 6.0.28]"
}
],
"frameworkReferences": {
"Microsoft.NETCore.App": {
"privateAssets": "all"
}
},
"runtimeIdentifierGraphPath": "C:\\Program Files\\dotnet\\sdk\\7.0.100\\RuntimeIdentifierGraph.json"
"runtimeIdentifierGraphPath": "C:\\Program Files\\dotnet\\sdk\\8.0.202\\RuntimeIdentifierGraph.json"
}
}
}

View File

@@ -1,8 +1,12 @@
{
"version": 2,
"dgSpecHash": "EfKv1rzAP1O64kLam1piP0r6XmMQp58hllO9EbJzCiEt9P6u3A0JBGuj+WL6esbN+qeMKjy+GNcUs/OIe7UhTQ==",
"dgSpecHash": "qfawkzUVzrK88T2DXN9ure9hzZMUTTTbjyeUdWijGMrVld1AvoF+DBM347ICdTUtd850J84xgLSH3DZZk0x8Ww==",
"success": true,
"projectFilePath": "C:\\Users\\Nacho\\Desktop\\verdadero\\Entidades\\Entidades.csproj",
"expectedPackageFiles": [],
"projectFilePath": "C:\\Users\\Nacho\\Desktop\\Final\\Entidades\\Entidades.csproj",
"expectedPackageFiles": [
"C:\\Users\\Nacho\\.nuget\\packages\\microsoft.windowsdesktop.app.ref\\6.0.28\\microsoft.windowsdesktop.app.ref.6.0.28.nupkg.sha512",
"C:\\Users\\Nacho\\.nuget\\packages\\microsoft.netcore.app.ref\\6.0.28\\microsoft.netcore.app.ref.6.0.28.nupkg.sha512",
"C:\\Users\\Nacho\\.nuget\\packages\\microsoft.aspnetcore.app.ref\\6.0.28\\microsoft.aspnetcore.app.ref.6.0.28.nupkg.sha512"
],
"logs": []
}