summaryrefslogtreecommitdiffstats
path: root/Tests/CSharpLinkFromCxx/UsefulManagedCppClass.cpp
blob: 94688125b4fb0d0d9256c78cb6c998375d6914f4 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
#include "UsefulManagedCppClass.hpp"

namespace CSharpLibrary
{
    UsefulManagedCppClass::UsefulManagedCppClass()
    {
        auto useful = gcnew UsefulCSharpClass();
        m_usefulString = useful->GetSomethingUseful();
    }

    void UsefulManagedCppClass::RunTest()
    {
        Console::WriteLine("Printing from Managed CPP Class: " + m_usefulString);
    }
}