0

C++ コードから C# コードを生成する必要があります。

クラスと関数を抽出して、notimplementedexception に入れるだけです。以下に欲しいものの例:

c++:

namespace TestNamespace
{
    public class TestClass
    {
        private:
        TestMethodA();

        public:
        TestMethodB(int i);
    }
}

C#に

namespace TestNamespace
{
    public class TestClass
    {
        private void TestMethodA()
        {
            throw new NotImplementedException()
        }

        public bool TestMethodB(int i)
        {
            throw new NotImplementedException()
        }
    }
}

これを生成するためのツールはありますか? ありがとう!

4

0 に答える 0