Boo.Lang.Runtime.Tests.Foo.StaticEcho C# (CSharp) Метод

StaticEcho() публичный статический Метод

public static StaticEcho ( string value ) : string
value string
Результат 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);
        }