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

            var tostring = run.ToString();

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

            var tostring = run.ToString();

            tostring.ShouldBe("Foo");
        }
Exemplo 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}!");
        }
Exemplo n.º 4
0
        public void XRunBindingToString()
        {
            var run = new XRun(new Binding("Foo"));

            var tostring = run.ToString();

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

            var tostring = run.ToString();

            tostring.ShouldBe("Foo");
        }
Exemplo 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}!");
        }