diff --git a/ClassLibraryStandard/ClassLibraryStandard.sln b/ClassLibraryStandard/ClassLibraryStandard.sln
new file mode 100644
index 0000000..3862901
--- /dev/null
+++ b/ClassLibraryStandard/ClassLibraryStandard.sln
@@ -0,0 +1,37 @@
+
+Microsoft Visual Studio Solution File, Format Version 12.00
+# Visual Studio Version 16
+VisualStudioVersion = 16.0.28803.352
+MinimumVisualStudioVersion = 10.0.40219.1
+Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "EntitiesStandard", "ClassLibraryStandard\EntitiesStandard.csproj", "{7EBB020C-61AF-4B22-BE7D-288883B62A3C}"
+EndProject
+Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "UI", "UI\UI.csproj", "{AE1BA313-3538-4C80-82FB-5D6B2DF29FF2}"
+EndProject
+Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "Service", "Service\Service.csproj", "{9656A0D3-142D-4CF6-80D3-44FB0F094ABE}"
+EndProject
+Global
+ GlobalSection(SolutionConfigurationPlatforms) = preSolution
+ Debug|Any CPU = Debug|Any CPU
+ Release|Any CPU = Release|Any CPU
+ EndGlobalSection
+ GlobalSection(ProjectConfigurationPlatforms) = postSolution
+ {7EBB020C-61AF-4B22-BE7D-288883B62A3C}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
+ {7EBB020C-61AF-4B22-BE7D-288883B62A3C}.Debug|Any CPU.Build.0 = Debug|Any CPU
+ {7EBB020C-61AF-4B22-BE7D-288883B62A3C}.Release|Any CPU.ActiveCfg = Release|Any CPU
+ {7EBB020C-61AF-4B22-BE7D-288883B62A3C}.Release|Any CPU.Build.0 = Release|Any CPU
+ {AE1BA313-3538-4C80-82FB-5D6B2DF29FF2}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
+ {AE1BA313-3538-4C80-82FB-5D6B2DF29FF2}.Debug|Any CPU.Build.0 = Debug|Any CPU
+ {AE1BA313-3538-4C80-82FB-5D6B2DF29FF2}.Release|Any CPU.ActiveCfg = Release|Any CPU
+ {AE1BA313-3538-4C80-82FB-5D6B2DF29FF2}.Release|Any CPU.Build.0 = Release|Any CPU
+ {9656A0D3-142D-4CF6-80D3-44FB0F094ABE}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
+ {9656A0D3-142D-4CF6-80D3-44FB0F094ABE}.Debug|Any CPU.Build.0 = Debug|Any CPU
+ {9656A0D3-142D-4CF6-80D3-44FB0F094ABE}.Release|Any CPU.ActiveCfg = Release|Any CPU
+ {9656A0D3-142D-4CF6-80D3-44FB0F094ABE}.Release|Any CPU.Build.0 = Release|Any CPU
+ EndGlobalSection
+ GlobalSection(SolutionProperties) = preSolution
+ HideSolutionNode = FALSE
+ EndGlobalSection
+ GlobalSection(ExtensibilityGlobals) = postSolution
+ SolutionGuid = {C416241B-56B9-4B40-815B-13E67C2B7285}
+ EndGlobalSection
+EndGlobal
diff --git a/ClassLibraryStandard/ClassLibraryStandard/EntitiesStandard.csproj b/ClassLibraryStandard/ClassLibraryStandard/EntitiesStandard.csproj
new file mode 100644
index 0000000..9f5c4f4
--- /dev/null
+++ b/ClassLibraryStandard/ClassLibraryStandard/EntitiesStandard.csproj
@@ -0,0 +1,7 @@
+
+
+
+ netstandard2.0
+
+
+
diff --git a/ClassLibraryStandard/ClassLibraryStandard/Partisipant.cs b/ClassLibraryStandard/ClassLibraryStandard/Partisipant.cs
new file mode 100644
index 0000000..045b161
--- /dev/null
+++ b/ClassLibraryStandard/ClassLibraryStandard/Partisipant.cs
@@ -0,0 +1,23 @@
+using System;
+
+namespace ClassLibraryStandard
+{
+ public class Participant
+ {
+
+
+ public string name { get; set; }
+ public string lastname { get; set; }
+ public string geburtstag { get; set; }
+
+ public Participant()
+ {
+ geburtstag = DateTime.Today.ToString();
+ }
+
+ public override string ToString()
+ {
+ return name.ToString() + " " + lastname.ToString();
+ }
+ }
+}
diff --git a/ClassLibraryStandard/Service/Program.cs b/ClassLibraryStandard/Service/Program.cs
new file mode 100644
index 0000000..cbfe0bb
--- /dev/null
+++ b/ClassLibraryStandard/Service/Program.cs
@@ -0,0 +1,49 @@
+using System;
+using System.Collections.Generic;
+using System.Threading;
+using ClassLibraryStandard;
+
+namespace Service
+{
+ class Program
+ {
+ static void Main(string[] args)
+ {
+ Console.WriteLine("Hello World");
+
+ List parlis = new List();
+
+ Participant pr1 = new Participant();
+ pr1.name = "Hans1";
+ pr1.lastname = "Wurst1";
+ parlis.Add(pr1);
+
+ Participant pr2 = new Participant();
+ pr2.name = "Hans2";
+ pr2.lastname = "Wurst2";
+ parlis.Add(pr2);
+
+ Participant pr3 = new Participant();
+ pr3.name = "Hans3";
+ pr3.lastname = "Wurst3";
+ parlis.Add(pr3);
+
+ Participant pr4 = new Participant();
+ pr4.name = "Hans4";
+ pr4.lastname = "Wurst4";
+ parlis.Add(pr4);
+
+
+ while (true)
+ {
+ Thread.Sleep(500);
+
+
+ Random ran = new Random();
+ int tmp = ran.Next(0, 3);
+
+ Console.WriteLine(parlis[tmp]);
+ }
+ }
+ }
+}
\ No newline at end of file
diff --git a/ClassLibraryStandard/Service/Service.csproj b/ClassLibraryStandard/Service/Service.csproj
new file mode 100644
index 0000000..e9c91e5
--- /dev/null
+++ b/ClassLibraryStandard/Service/Service.csproj
@@ -0,0 +1,12 @@
+
+
+
+ Exe
+ netcoreapp2.2
+
+
+
+
+
+
+
diff --git a/ClassLibraryStandard/UI/Program.cs b/ClassLibraryStandard/UI/Program.cs
new file mode 100644
index 0000000..0919ce2
--- /dev/null
+++ b/ClassLibraryStandard/UI/Program.cs
@@ -0,0 +1,12 @@
+using System;
+
+namespace UI
+{
+ class Program
+ {
+ static void Main(string[] args)
+ {
+ Console.WriteLine("service");
+ }
+ }
+}
diff --git a/ClassLibraryStandard/UI/UI.csproj b/ClassLibraryStandard/UI/UI.csproj
new file mode 100644
index 0000000..e9c91e5
--- /dev/null
+++ b/ClassLibraryStandard/UI/UI.csproj
@@ -0,0 +1,12 @@
+
+
+
+ Exe
+ netcoreapp2.2
+
+
+
+
+
+
+
diff --git a/WindowsFormsAppReact/WindowsFormsAppReact/Form1.cs b/WindowsFormsAppReact/WindowsFormsAppReact/Form1.cs
index 6bde194..5a12ae2 100644
--- a/WindowsFormsAppReact/WindowsFormsAppReact/Form1.cs
+++ b/WindowsFormsAppReact/WindowsFormsAppReact/Form1.cs
@@ -22,7 +22,7 @@ namespace WindowsFormsAppReact
private void Button1_Click(object sender, EventArgs e)
{
- Subject.ObserveOn(SynchronizationContext.Current).Subscribe((i) =>
+ Subject.Sample(TimeSpan.FromMilliseconds(20)).ObserveOn(SynchronizationContext.Current).Subscribe((i) =>
{
label1.Text = i.ToString();
});
@@ -36,7 +36,7 @@ namespace WindowsFormsAppReact
{
Task.Run(() =>
{
- for (int i = 0; i < 100; i++)
+ for (int i = 0; i < 10000000000; i++)
{
Subject.OnNext(i);
}