Пример #1
0
        public void BindOptions()
        {
            var data  = new MyData();
            var found = false;

            _builder.Bind(new BindHandlerOptions <MyData>
            {
                ModifiedHandler = (x, y) => found = true,
                BindObject      = data
            });
            data.Counter = 15;
            Assert.True(found);
        }