[ Web Proxy ]
URL:
Viewing: https://raw.githubusercontent.com/attackgithub/pythonnet/v2.2.0-dev1/src/testing/interfacetest.cs [Back]  [Original]

using System;

namespace Python.Test
{
    //========================================================================
    // Supports CLR class unit tests.
    //========================================================================

    public interface IPublicInterface
    {
    }

    internal interface IInternalInterface
    {
    }


    public interface ISayHello1
    {
        string SayHello();
    }

    public interface ISayHello2
    {
        string SayHello();
    }

    public class InterfaceTest : ISayHello1, ISayHello2
    {
        public InterfaceTest()
        {
        }

        public string HelloProperty
        {
            get { return "hello"; }
        }

        string ISayHello1.SayHello()
        {
            return "hello 1";
        }

        string ISayHello2.SayHello()
        {
            return "hello 2";
        }

        public interface IPublic
        {
        }

        protected interface IProtected
        {
        }

        internal interface IInternal
        {
        }

        private interface IPrivate
        {
        }
    }
}

Web Proxy Viewer  |  New URL  |  Original Page