Esempio n. 1
0
        public void XRunBindingToString()
        {
            var run = new XRun(new Binding("Foo"));

            var tostring = run.ToString();

            tostring.ShouldBe("{Foo}");
        }
Esempio n. 2
0
        public void XRunToString()
        {
            var run = new XRun("Foo");

            var tostring = run.ToString();

            tostring.ShouldBe("Foo");
        }
Esempio n. 3
0
        public void XRunBindingWithStringFormatToString()
        {
            var run = new XRun(new Binding("Foo")
            {
                StringFormat = "This is a {0}!"
            });

            var tostring = run.ToString();

            tostring.ShouldBe("This is a {Foo}!");
        }
Esempio n. 4
0
        public void XRunBindingToString()
        {
            var run = new XRun(new Binding("Foo"));

            var tostring = run.ToString();

            tostring.ShouldBe("{Foo}");
        }
Esempio n. 5
0
        public void XRunToString()
        {
            var run = new XRun("Foo");

            var tostring = run.ToString();

            tostring.ShouldBe("Foo");
        }
Esempio n. 6
0
        public void XRunBindingWithStringFormatToString()
        {
            var run = new XRun(new Binding("Foo")
            {
                StringFormat = "This is a {0}!"
            });

            var tostring = run.ToString();

            tostring.ShouldBe("This is a {Foo}!");
        }