1 using System;
2 using System.Collections.Generic;
3 using System.Linq;
4 using System.Reactive.Linq;
5 using System.Text;
6 
7 namespace PortableLibraryProfile78_NuGet
8 {
9     public class MyExtensions
10     {
GetClock()11         public static IObservable<DateTime> GetClock()
12         {
13             return Observable.Interval(TimeSpan.FromSeconds(1)).Select(_ => DateTime.Now);
14         }
15     }
16 }
17