Hi,
I would like to be able to apply attributes to properties in my generated class.
// Foo.ice
["clrroperty"]
class Foo
{
["cs:attribute:MyLibrary.MyOtherNameSpace.MyAtt rib"]
int X;
}
This results in the following C# code:
//Foo.cs
class Foo
{
[MyLibrary.MyOtherNameSpace.MyAttrib]
private int X_prop;
public X
{
...getter + setter ...
}
}
The first problem is that the attribute is being applied on the private member instead of the property. Is there any way around this?
Is their any way to include the namespace so I do not have to fully qualify each attribute?
Thanks
Johan

roperty"]
Reply With Quote
