using System; using System.Collections.Generic; using System.Collections.ObjectModel; using System.Linq; using System.Reactive.Linq; using System.Text; using System.Threading.Tasks; using Perspex; using Perspex.Controls; using Perspex.Media; using Perspex.Windows; using Perspex.Windows.Media; using Perspex.Windows.Threading; namespace TestApplication { class Program { static void Main(string[] args) { ServiceLocator.Register(() => new TextService(new SharpDX.DirectWrite.Factory())); Application application = new Application { Styles = new Styles { new Style(x => x.Select