[Mono-list] Making templates

Rodrigo Moya rodrigo@ximian.com
19 Apr 2002 01:31:34 +0200


tOn Fri, 2002-04-19 at 01:00, Daniel Carrera wrote:
> 
> I'm confused by the documentation.  The documentation says:
> 
> Public Properties:
> Item
> 
> When I click on 'Item' I get:
> 
> 
> [C#] public DataGridTableStyle this[int] {get;}
> [C#] public DataGridTableStyle this[string] {get;}
> 
> 
> How should I make the template?  Should it be this?:
> 
> 	public DataGridTableStyle Item
> 	{
> 		get { trhow ... }
> 	}
> 
that's what I've been doing myself. So I hope that's correct. One thing
I add myself is a [MonoTODO] attribute at the top of the method. I hope
this is also the right way.

cheers
-- 
Rodrigo Moya <rodrigo@gnome-db.org> - <rodrigo@ximian.com>
http://www.gnome-db.org/ - http://www.ximian.com/