Commit 59872e26 authored by Uwe Wienkop's avatar Uwe Wienkop
Browse files

2020-05-29

parent 827d0aab
{
"runtimeOptions": {
"additionalProbingPaths": [
"C:\\Users\\wienkop\\.dotnet\\store\\|arch|\\|tfm|",
"C:\\Users\\wienkop\\.nuget\\packages"
]
}
}
\ No newline at end of file
{
"runtimeOptions": {
"tfm": "netcoreapp3.1",
"framework": {
"name": "Microsoft.NETCore.App",
"version": "3.1.0"
}
}
}
\ No newline at end of file
{
"format": 1,
"restore": {
"C:\\Users\\wienkop\\source\\repos\\prog2-ss2020-wienkop\\06 UebgSaGenerics\\06 UebgSaGenerics.csproj": {}
},
"projects": {
"C:\\Users\\wienkop\\source\\repos\\prog2-ss2020-wienkop\\06 UebgSaGenerics\\06 UebgSaGenerics.csproj": {
"version": "1.0.0",
"restore": {
"projectUniqueName": "C:\\Users\\wienkop\\source\\repos\\prog2-ss2020-wienkop\\06 UebgSaGenerics\\06 UebgSaGenerics.csproj",
"projectName": "06 UebgSaGenerics",
"projectPath": "C:\\Users\\wienkop\\source\\repos\\prog2-ss2020-wienkop\\06 UebgSaGenerics\\06 UebgSaGenerics.csproj",
"packagesPath": "C:\\Users\\wienkop\\.nuget\\packages\\",
"outputPath": "C:\\Users\\wienkop\\source\\repos\\prog2-ss2020-wienkop\\06 UebgSaGenerics\\obj\\",
"projectStyle": "PackageReference",
"configFilePaths": [
"C:\\Users\\wienkop\\AppData\\Roaming\\NuGet\\NuGet.Config",
"C:\\Program Files (x86)\\NuGet\\Config\\Microsoft.VisualStudio.Offline.config"
],
"originalTargetFrameworks": [
"netcoreapp3.1"
],
"sources": {
"C:\\Program Files (x86)\\Microsoft SDKs\\NuGetPackages\\": {},
"https://api.nuget.org/v3/index.json": {}
},
"frameworks": {
"netcoreapp3.1": {
"projectReferences": {}
}
},
"warningProperties": {
"warnAsError": [
"NU1605"
]
}
},
"frameworks": {
"netcoreapp3.1": {
"imports": [
"net461",
"net462",
"net47",
"net471",
"net472",
"net48"
],
"assetTargetFallback": true,
"warn": true,
"downloadDependencies": [
{
"name": "Microsoft.AspNetCore.App.Ref",
"version": "[3.1.2, 3.1.2]"
}
],
"frameworkReferences": {
"Microsoft.NETCore.App": {
"privateAssets": "all"
}
},
"runtimeIdentifierGraphPath": "C:\\Program Files\\dotnet\\sdk\\3.1.300\\RuntimeIdentifierGraph.json"
}
}
}
}
}
\ No newline at end of file
<?xml version="1.0" encoding="utf-8" standalone="no"?>
<Project ToolsVersion="14.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<PropertyGroup Condition=" '$(ExcludeRestorePackageImports)' != 'true' ">
<RestoreSuccess Condition=" '$(RestoreSuccess)' == '' ">True</RestoreSuccess>
<RestoreTool Condition=" '$(RestoreTool)' == '' ">NuGet</RestoreTool>
<ProjectAssetsFile Condition=" '$(ProjectAssetsFile)' == '' ">$(MSBuildThisFileDirectory)project.assets.json</ProjectAssetsFile>
<NuGetPackageRoot Condition=" '$(NuGetPackageRoot)' == '' ">$(UserProfile)\.nuget\packages\</NuGetPackageRoot>
<NuGetPackageFolders Condition=" '$(NuGetPackageFolders)' == '' ">C:\Users\wienkop\.nuget\packages\</NuGetPackageFolders>
<NuGetProjectStyle Condition=" '$(NuGetProjectStyle)' == '' ">PackageReference</NuGetProjectStyle>
<NuGetToolVersion Condition=" '$(NuGetToolVersion)' == '' ">5.6.0</NuGetToolVersion>
</PropertyGroup>
<PropertyGroup>
<MSBuildAllProjects>$(MSBuildAllProjects);$(MSBuildThisFileFullPath)</MSBuildAllProjects>
</PropertyGroup>
</Project>
\ No newline at end of file
<?xml version="1.0" encoding="utf-8" standalone="no"?>
<Project ToolsVersion="14.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<PropertyGroup>
<MSBuildAllProjects>$(MSBuildAllProjects);$(MSBuildThisFileFullPath)</MSBuildAllProjects>
</PropertyGroup>
</Project>
\ No newline at end of file
// <autogenerated />
using System;
using System.Reflection;
[assembly: global::System.Runtime.Versioning.TargetFrameworkAttribute(".NETCoreApp,Version=v3.1", FrameworkDisplayName = "")]
//------------------------------------------------------------------------------
// <auto-generated>
// Dieser Code wurde von einem Tool generiert.
// Laufzeitversion:4.0.30319.42000
//
// Änderungen an dieser Datei können falsches Verhalten verursachen und gehen verloren, wenn
// der Code erneut generiert wird.
// </auto-generated>
//------------------------------------------------------------------------------
using System;
using System.Reflection;
[assembly: System.Reflection.AssemblyCompanyAttribute("06 UebgSaGenerics")]
[assembly: System.Reflection.AssemblyConfigurationAttribute("Debug")]
[assembly: System.Reflection.AssemblyFileVersionAttribute("1.0.0.0")]
[assembly: System.Reflection.AssemblyInformationalVersionAttribute("1.0.0")]
[assembly: System.Reflection.AssemblyProductAttribute("06 UebgSaGenerics")]
[assembly: System.Reflection.AssemblyTitleAttribute("06 UebgSaGenerics")]
[assembly: System.Reflection.AssemblyVersionAttribute("1.0.0.0")]
// Von der MSBuild WriteCodeFragment-Klasse generiert.
C:\Users\wienkop\source\repos\prog2-ss2020-wienkop\06 UebgSaGenerics\bin\Debug\netcoreapp3.1\06 UebgSaGenerics.exe
C:\Users\wienkop\source\repos\prog2-ss2020-wienkop\06 UebgSaGenerics\bin\Debug\netcoreapp3.1\06 UebgSaGenerics.deps.json
C:\Users\wienkop\source\repos\prog2-ss2020-wienkop\06 UebgSaGenerics\bin\Debug\netcoreapp3.1\06 UebgSaGenerics.runtimeconfig.json
C:\Users\wienkop\source\repos\prog2-ss2020-wienkop\06 UebgSaGenerics\bin\Debug\netcoreapp3.1\06 UebgSaGenerics.runtimeconfig.dev.json
C:\Users\wienkop\source\repos\prog2-ss2020-wienkop\06 UebgSaGenerics\bin\Debug\netcoreapp3.1\06 UebgSaGenerics.dll
C:\Users\wienkop\source\repos\prog2-ss2020-wienkop\06 UebgSaGenerics\bin\Debug\netcoreapp3.1\06 UebgSaGenerics.pdb
C:\Users\wienkop\source\repos\prog2-ss2020-wienkop\06 UebgSaGenerics\obj\Debug\netcoreapp3.1\06 UebgSaGenerics.AssemblyInfoInputs.cache
C:\Users\wienkop\source\repos\prog2-ss2020-wienkop\06 UebgSaGenerics\obj\Debug\netcoreapp3.1\06 UebgSaGenerics.AssemblyInfo.cs
C:\Users\wienkop\source\repos\prog2-ss2020-wienkop\06 UebgSaGenerics\obj\Debug\netcoreapp3.1\06 UebgSaGenerics.csproj.CoreCompileInputs.cache
C:\Users\wienkop\source\repos\prog2-ss2020-wienkop\06 UebgSaGenerics\obj\Debug\netcoreapp3.1\06 UebgSaGenerics.dll
C:\Users\wienkop\source\repos\prog2-ss2020-wienkop\06 UebgSaGenerics\obj\Debug\netcoreapp3.1\06 UebgSaGenerics.pdb
C:\Users\wienkop\source\repos\prog2-ss2020-wienkop\06 UebgSaGenerics\obj\Debug\netcoreapp3.1\06 UebgSaGenerics.genruntimeconfig.cache
{
"version": 3,
"targets": {
".NETCoreApp,Version=v3.1": {}
},
"libraries": {},
"projectFileDependencyGroups": {
".NETCoreApp,Version=v3.1": []
},
"packageFolders": {
"C:\\Users\\wienkop\\.nuget\\packages\\": {}
},
"project": {
"version": "1.0.0",
"restore": {
"projectUniqueName": "C:\\Users\\wienkop\\source\\repos\\prog2-ss2020-wienkop\\06 UebgSaGenerics\\06 UebgSaGenerics.csproj",
"projectName": "06 UebgSaGenerics",
"projectPath": "C:\\Users\\wienkop\\source\\repos\\prog2-ss2020-wienkop\\06 UebgSaGenerics\\06 UebgSaGenerics.csproj",
"packagesPath": "C:\\Users\\wienkop\\.nuget\\packages\\",
"outputPath": "C:\\Users\\wienkop\\source\\repos\\prog2-ss2020-wienkop\\06 UebgSaGenerics\\obj\\",
"projectStyle": "PackageReference",
"configFilePaths": [
"C:\\Users\\wienkop\\AppData\\Roaming\\NuGet\\NuGet.Config",
"C:\\Program Files (x86)\\NuGet\\Config\\Microsoft.VisualStudio.Offline.config"
],
"originalTargetFrameworks": [
"netcoreapp3.1"
],
"sources": {
"C:\\Program Files (x86)\\Microsoft SDKs\\NuGetPackages\\": {},
"https://api.nuget.org/v3/index.json": {}
},
"frameworks": {
"netcoreapp3.1": {
"projectReferences": {}
}
},
"warningProperties": {
"warnAsError": [
"NU1605"
]
}
},
"frameworks": {
"netcoreapp3.1": {
"imports": [
"net461",
"net462",
"net47",
"net471",
"net472",
"net48"
],
"assetTargetFallback": true,
"warn": true,
"downloadDependencies": [
{
"name": "Microsoft.AspNetCore.App.Ref",
"version": "[3.1.2, 3.1.2]"
}
],
"frameworkReferences": {
"Microsoft.NETCore.App": {
"privateAssets": "all"
}
},
"runtimeIdentifierGraphPath": "C:\\Program Files\\dotnet\\sdk\\3.1.300\\RuntimeIdentifierGraph.json"
}
}
}
}
\ No newline at end of file
{
"version": 2,
"dgSpecHash": "CnyHuTUa6kPjGZSsDNgpobujNT3N5nBqzHFMIU2RKJvGM1PqAXtaXfKRm9c2Qf4RNbW3LFU1qBealLnJkKXhSg==",
"success": true,
"projectFilePath": "C:\\Users\\wienkop\\source\\repos\\prog2-ss2020-wienkop\\06 UebgSaGenerics\\06 UebgSaGenerics.csproj",
"expectedPackageFiles": [
"C:\\Users\\wienkop\\.nuget\\packages\\microsoft.aspnetcore.app.ref\\3.1.2\\microsoft.aspnetcore.app.ref.3.1.2.nupkg.sha512"
],
"logs": []
}
\ No newline at end of file
......@@ -5,7 +5,7 @@ using System.Text;
namespace _06GenericList
{
class Liste<T> : IComparable<Liste<T>> where T:IComparable<T>
class Liste<T> : IComparable<Liste<T>> where T:IComparable<T>
{
// Die Klasse Element ist nun eine *private* Klasse der Klasse StringListe
// Die Methoden von StringListe dürfen auf private Member zugreifen
......@@ -237,9 +237,7 @@ namespace _06GenericList
return neueListe;
}
public int CompareTo([AllowNull] Liste<T> other)
{
return (anz < other.anz) ? -1 : 1;
}
public int CompareTo(Liste<T> other) => anz - other.anz;
}
}
......@@ -37,6 +37,7 @@ namespace _06GenericList
pl.Print();
Liste<Liste<Person>> pll = new Liste<Liste<Person>>();
pll.AddSorted(pl);
}
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment