You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
cmake/Tests/CSharpLinkFromCxx/UsefulManagedCppClass.cpp

16 lines
370 B

#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);
}
}