示例#1
0
        public void CheckLibraryB()
        {
            ClassBImpl impl = new ClassBImpl();

            Console.WriteLine(impl.GetIntValue());
            Console.WriteLine(impl.GetStringValue());
        }
示例#2
0
        public static void Main(string[] args)
        {
            ClassAImpl aImpl = new ClassAImpl();
            ClassBImpl bImpl = new ClassBImpl();

            Console.WriteLine(aImpl.GetIntValue());
            Console.WriteLine(aImpl.GetStringValue());
            Console.WriteLine(bImpl.GetIntValue());
            Console.WriteLine(bImpl.GetStringValue());
        }
示例#3
0
 public int GetIntValue()
 {
     return(mAImpl.GetIntValue() + mBImpl.GetIntValue());
 }