public void Update()
        {
            // Get subject data
            SubjectData newData = mySubject.GetState();

            // Handle new value of subject data
            Console.WriteLine($"Received new subject value: {newData.Measurement}");
        }
Beispiel #2
0
 public void Update(SubjectData subjectData)
 {
     // Handle new value of subject data
     Console.WriteLine($"Received new subject value: {subjectData.Measurement}");
 }