[lnkForumImage]
TotalShareware - Download Free Software

Confronta i prezzi di migliaia di prodotti.
Asp Forum
 Home | Login | Register | Search 


 

Forums >

comp.lang.ruby

How to use a template library class using rubyclr

Harshad Wankhede

9/5/2008 1:15:00 PM

Hi,
I have a created a dll using c# .net. The dll contains a few function
with accept template while execution.
window.Get<Button>(SearchCriteria.ByText("buttonname"))
Where Button is the template which is to be passed to get the button object
Following is the button definition

public virtual T Get<T>(SearchCriteria searchCriteria) where T : UIItem
{
return (T) Get(searchCriteria.AndControlType(typeof (T)));
}


Where T is the template.

Does anyone know how to pass this template Button using ruby so that i
can access the dll using ruby.

-Harshad