[402] Reorder Members

3.0 is looking good! I love the ToDo browser and the code reordering. However, I'm having a few problems with the re-order type members. Attached files show before and after shots. Also, when using it on this:


/// /// Factory for use case actions. /// public static class UseCaseActionFactory { public delegate void ActionFactoryConstructorRegistration(Guid context, IUseCaseAction action); private static MultiDictionary actionsByContext = new MultiDictionary(false); private static void Register(Guid context, IUseCaseAction action) { actionsByContext.Add(context, action); } public static void RegisterActions() { } ///

/// Gets registered s by context. /// /// /// public static IEnumerable Get(Guid context) { ICollection actions = actionsByContext[context]; foreach (IUseCaseAction action in actions) { yield return action; } } } gives: /// /// Factory for use case actions. /// public static class UseCaseActionFactory { #region Delegates public delegate void ActionFactoryConstructorRegistration(Guid context, IUseCaseAction action); #endregion private static MultiDictionary #region Fields actionsByContext = new MultiDictionary(false) #endregion ; private static void Register(Guid context, IUseCaseAction action) { actionsByContext.Add(context, action); } public static void RegisterActions() { } /// /// Gets registered s by context. /// /// /// public static IEnumerable Get(Guid context) { ICollection actions = actionsByContext[context]; foreach (IUseCaseAction action in actions) { yield return action; } } } Note that the region breaks apart the first field. These are the setting I'm using: ]]>
<Entry Criteria="implement" RegionName=" Members" Sort="immediate-interface" /> <Entry Criteria="" RegionName="" /> <Entry Criteria="unittest" RegionName="Tests" Sort="alpha" /> <Entry Criteria="type" RegionName="" />
</MemberOrderPattern>

Attachment not added (general error): "Before.JPG"



Attachment(s):
After.JPG
1 comment
Comment actions Permalink

Thank you for the feedback!
Issue is fixed.

--
Eugene Pasynkov
Developer
JetBrains, Inc
http://www.jetbrains.com
"Develop with pleasure!"
"Sean Kearon" wrote in message news:40d4dfe5128a68c933acdc629249@news.jetbrains.com... 3.0 is looking good! I love the ToDo browser and the code reordering. However, I'm having a few problems with the re-order type members. Attached files show before and after shots. Also, when using it on this: ///

/// Factory for use case actions. /// public static class UseCaseActionFactory { public delegate void ActionFactoryConstructorRegistration(Guid context, IUseCaseAction action); private static MultiDictionary actionsByContext = new MultiDictionary(false); private static void Register(Guid context, IUseCaseAction action) { actionsByContext.Add(context, action); } public static void RegisterActions() { } /// /// Gets registered s by context. /// /// /// public static IEnumerable Get(Guid context) { ICollection actions = actionsByContext[context]; foreach (IUseCaseAction action in actions) { yield return action; } } } gives: /// /// Factory for use case actions. /// public static class UseCaseActionFactory { #region Delegates public delegate void ActionFactoryConstructorRegistration(Guid context, IUseCaseAction action); #endregion private static MultiDictionary #region Fields actionsByContext = new MultiDictionary(false) #endregion ; private static void Register(Guid context, IUseCaseAction action) { actionsByContext.Add(context, action); } public static void RegisterActions() { } /// /// Gets registered s by context. /// /// /// public static IEnumerable Get(Guid context) { ICollection actions = actionsByContext[context]; foreach (IUseCaseAction action in actions) { yield return action; } } } Note that the region breaks apart the first field. These are the setting I'm using: ]]>
<Entry Criteria="implement" RegionName=" Members" Sort="immediate-interface" /> <Entry Criteria="" RegionName="" /> <Entry Criteria="unittest" RegionName="Tests" Sort="alpha" /> <Entry Criteria="type" RegionName="" />
</MemberOrderPattern>


0

Please sign in to leave a comment.