logo       

Re: [jira] Updated: (BOO-495) ProtectedProperty Attribute: msg#00119

lang.boo.devel

Subject: Re: [jira] Updated: (BOO-495) ProtectedProperty Attribute

It will be cool if it supported the accessor name directly:
[property(Name, protected)]

On 26/09/05, Doug Holton (JIRA) <jira-yCVjj/EcxBJg9hUCZPvPmw@xxxxxxxxxxxxxxxx>
wrote:
> [ http://jira.codehaus.org/browse/BOO-495?page=all ]
>
> Doug Holton updated BOO-495:
> ----------------------------
>
> Attachment: PropertyAttribute.cs
>
> This version of propertyattribute.cs adds a "Protected" property, so you can
> do:
>
> [property(Name, Protected:true)] _name = "bill"
>
> Please do a diff on the cs file to see the changes or to create a patch.
>
>
> > ProtectedProperty Attribute
> > ---------------------------
> >
> > Key: BOO-495
> > URL: http://jira.codehaus.org/browse/BOO-495
> > Project: Boo
> > Type: New Feature
> > Reporter: Cameron Kenneth Knight
> > Priority: Minor
> > Attachments: PropertyAttribute.cs
> >
> >
> > [Property] by default creates a public property, but [ProtectedProperty]
> > would be handy if you needed a protected property wrapping a private field.
>
> --
> This message is automatically generated by JIRA.
> -
> If you think it was sent incorrectly contact one of the administrators:
> http://jira.codehaus.org/secure/Administrators.jspa
> -
> For more information on JIRA, see:
> http://www.atlassian.com/software/jira
>
>



<Prev in Thread] Current Thread [Next in Thread>
Google Custom Search

News | FAQ | advertise