ライブラリに小さなC#クラスを作成しました。
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace helloWorldLib
{
public class Greeter
{
public string SayHelloWorld(string name)
{
return "Hello world " + name;
}
}
}
ライブラリはにあります
C:\ Documents and Settings \ myUser \ My Documents \ Visual Studio 2008 \ Projects \ Project1 \ helloWorldLib \ bin \ Debug \ helloWorldLib.dll
IronRubyスクリプトからSayHelloWorldをどのように呼び出しますか?
これは非常に単純に思えますが、多くの調査の結果、一貫したコード例を見つけることができないようです。
本当にありがとう!