Boo.Lang.Runtime.Tests.Foo.StaticEcho C# (CSharp) Method

StaticEcho() public static method

public static StaticEcho ( string value ) : string
value string
return string
        public static string StaticEcho(string value)
        {
            return "StaticEcho: " + value;
        }

Usage Example

        private void AssertStaticMethod(Foo target)
        {
            object result = Dispatch(target, typeof(Foo), "StaticEcho", "Hello");

            Assert.AreEqual(Foo.StaticEcho("Hello"), result);
        }