Single OrderBy clause for multiple where statement

Post your ideas and requests here.

Single OrderBy clause for multiple where statement

Postby jesuissur » Mon Jul 23, 2007 1:54 pm

It would be very usefull to have a single orderBy clause applying to multiple where statements.

This way, it would be possible to create a region with, for example, all private and protected methods, ordered by name. The ordering would apply either the method is private or protected.

Code: Select all

#region [rgn] Private and Protected members (4)

     private void methodA(){};

     protected void methodB(){};

     private void methodC(){};

     prtotected void methodD(){};

#endregion [rgn]


Thank you very much for this great and very usefull add-in.
Good work
Phil
jesuissur
 
Posts: 4
Joined: Mon Jul 09, 2007 5:26 pm

Re: Single OrderBy clause for multiple where statement

Postby rauchy » Mon Jul 23, 2007 2:04 pm

jesuissur,

Thank you, I'm glad you find Regionerate useful.

Just a small clarification and please correct me if I'm wrong. What you mean is a single OrderBy statement that will span multiple Put statements, not multiple Where statements.
This sounds like a useful feature, but it will force a change in the Code Layout structure (make OrderBy a direct child of CreateRegion, instead of Put)
I will write this down and put it in the next survey.

Thank you very much.
-- rauchy.
rauchy
Site Admin
 
Posts: 268
Joined: Wed May 09, 2007 2:39 am
Location: Israel

Re: Single OrderBy clause for multiple where statement

Postby jesuissur » Mon Jul 23, 2007 6:53 pm

Exactly what i meant.

Thank you again

rauchy wrote:jesuissur,

Thank you, I'm glad you find Regionerate useful.

Just a small clarification and please correct me if I'm wrong. What you mean is a single OrderBy statement that will span multiple Put statements, not multiple Where statements.
This sounds like a useful feature, but it will force a change in the Code Layout structure (make OrderBy a direct child of CreateRegion, instead of Put)
I will write this down and put it in the next survey.

Thank you very much.
jesuissur
 
Posts: 4
Joined: Mon Jul 09, 2007 5:26 pm


Return to Feature Requests

Who is online

Users browsing this forum: No registered users and 1 guest

cron