File Layout Order by...

Hi,

i want to order my code that at the first entries are public methods, and afterwards come the private methods.

I have put an entry item in the chain, with kind Methods. I have selected Sort by "DP Name" and then by "Name".

But it produce the private methods first and then the publics...

 

1 comment

Hello Brian! Please, switch the presentation mode of File Layout to "XAML" (XAML link at the right top of the settings page) and try this 

  <Entry DisplayName="Methods">
    <Entry.Match>
      <Kind Is="Method" />
    </Entry.Match>
    <Entry.SortBy>
      <Access Order="Public Internal Protectedinternal Protected Private" />
    </Entry.SortBy>
  </Entry>

 

0

Please sign in to leave a comment.