Boo.Lang.Runtime.Tests.MethodDispatcherFactoryTestCase.AssertStaticMethod C# (CSharp) Méthode

AssertStaticMethod() private méthode

private AssertStaticMethod ( Foo target ) : void
target Foo
Résultat void
        private void AssertStaticMethod(Foo target)
        {
            object result = Dispatch(target, typeof(Foo), "StaticEcho", "Hello");
            Assert.AreEqual(Foo.StaticEcho("Hello"), result);
        }