Avalonia.Benchmarks.Styling.StyleAttachBenchmark.StyleAttachBenchmark C# (CSharp) Method

StyleAttachBenchmark() public method

public StyleAttachBenchmark ( ) : System
return System
        public StyleAttachBenchmark()
        {
            _app = UnitTestApplication.Start(
                TestServices.StyledWindow.With(
                    renderInterface: new NullRenderingPlatform(),
                    threadingInterface: new NullThreadingPlatform()));

            _root = new TestRoot(true, null)
            {
                Renderer = new NullRenderer(),
            };

            _control = new TextBox();
        }