[Accelo]use of @code-explicit [message #512301] |
Thu, 04 February 2010 15:40 |
Eclipse User |
|
|
|
Originally posted by: koos.waytostay.com
Hi All,
I have to generate code from UML getting the following result for c-sharp
like
[ServiceContract]
public interface IBookingService
{
[OperationContract]
BookingContract getBookingContract();
}
I tried using @code-explicit according the standard but this does not work.
Is this not implemented and if not is there another way to generate the []
maybe using an excape character?
Koos
|
|
|
|
Re: [Accelo]use of @code-explicit [message #512450 is a reply to message #512309] |
Fri, 05 February 2010 08:25 |
|
This is a multi-part message in MIME format.
--------------070208020100060409090801
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit
Hi Sebastien, Koos,
Sebastien's answer is exactly right, just wanted to mention that the
closing bracket ']' doesn't need to be escaped.
Laurent Goubet
Obeo
Sebastien Roy wrote:
> According to Accelo documentation, the code explicit syntax is not
> implemented yet.
> But you can escape bracket characters like that :
>
>
> ['['/]ServiceContract[']'/]
> public interface IBookingService
> {
> ['['/]OperationContract[']'/]
> BookingContract getBookingContract();
> }
>
>
> Regards
>
> Sebastien
>
--------------070208020100060409090801
Content-Type: text/x-vcard; charset=utf-8;
name="laurent_goubet.vcf"
Content-Transfer-Encoding: base64
Content-Disposition: attachment;
filename="laurent_goubet.vcf"
YmVnaW46dmNhcmQNCmZuOkxhdXJlbnQgR291YmV0DQpuOkdvdWJldDtMYXVy ZW50DQpvcmc6
PGEgaHJlZj0iaHR0cDovL3d3dy5vYmVvLmZyIj5PYmVvPC9hPg0KZW1haWw7 aW50ZXJuZXQ6
bGF1cmVudC5nb3ViZXRAb2Jlby5mcg0KdXJsOmh0dHA6Ly93d3cub2Jlby5m cg0KdmVyc2lv
bjoyLjENCmVuZDp2Y2FyZA0KDQo=
--------------070208020100060409090801--
|
|
|
Powered by
FUDForum. Page generated in 0.06592 seconds