Reporter | Alexander Groß (alexandergross) |
---|---|
Created | Sep 30, 2012 1:48:31 AM |
Updated | Apr 23, 2018 12:55:58 PM |
Resolved | Sep 30, 2012 6:05:56 AM |
Subsystem | Code Style - Formatter |
Assignee | Dmitry Osinovsky (Dmitry.Osinovsky) |
Priority | Normal |
State | Duplicate |
Type | Usability Problem |
Fix version | No Fix versions |
Affected versions | 7.1 |
Fixed In Version ReSharper | Undefined |
VsVersion | All Versions |
Consider a fluent API like the one NServiceBus for its initialization:
Reformat code will re-indent lines that belong to a specific API like the one invoked by MsMqTransport():
Please add settings or logic to prevent that. Thank you.
Bus = Configure.With()
.Log4Net()
.DefaultBuilder()
.XmlSerializer()
.MsmqTransport()
.IsTransactional(false)
.PurgeOnStartup(false)
.UnicastBus()
.ImpersonateSender(false)
.CreateBus()
.Start(() => Configure.Instance.ForInstallationOn<NServiceBus.Installation.Environments.Windows>().Install());
Reformat code will re-indent lines that belong to a specific API like the one invoked by MsMqTransport():
Bus = Configure.With()
.Log4Net()
.DefaultBuilder()
.XmlSerializer()
.MsmqTransport()
.IsTransactional(false)
.PurgeOnStartup(false)
.UnicastBus()
.ImpersonateSender(false)
.CreateBus()
.Start(() => Configure.Instance.ForInstallationOn<Windows>().Install());
Please add settings or logic to prevent that. Thank you.