Apply VS' FormatDocument and RemoveAndSort to all *.cs files

- #EngineeringDay
- this repo was relatively clean
This commit is contained in:
Doug Bunting 2014-11-20 10:09:28 -08:00
parent 1a101d7815
commit 3b0e289387
4 changed files with 7 additions and 12 deletions

View File

@ -6,7 +6,6 @@ using System.Collections.Generic;
using System.Globalization; using System.Globalization;
using System.Linq; using System.Linq;
using System.Reflection; using System.Reflection;
using Microsoft.Framework.DependencyInjection;
using Microsoft.Framework.OptionsModel; using Microsoft.Framework.OptionsModel;
namespace Microsoft.AspNet.Routing namespace Microsoft.AspNet.Routing

View File

@ -2,12 +2,8 @@
// Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information. // Licensed under the Apache License, Version 2.0. See License.txt in the project root for license information.
using System.Collections.Generic; using System.Collections.Generic;
using System.Threading.Tasks;
using Microsoft.AspNet.Http;
using Microsoft.AspNet.Routing;
using Microsoft.Framework.ConfigurationModel; using Microsoft.Framework.ConfigurationModel;
using Microsoft.Framework.DependencyInjection; using Microsoft.Framework.DependencyInjection;
using Microsoft.Framework.DependencyInjection.NestedProviders;
namespace Microsoft.AspNet.Routing namespace Microsoft.AspNet.Routing
{ {

View File

@ -3,8 +3,8 @@
using System.Collections.Generic; using System.Collections.Generic;
using Microsoft.AspNet.Http; using Microsoft.AspNet.Http;
using Microsoft.AspNet.Routing.Logging;
#if ASPNET50 #if ASPNET50
using Microsoft.AspNet.Routing.Logging;
using Moq; using Moq;
#endif #endif
using Xunit; using Xunit;

View File

@ -47,7 +47,7 @@ namespace Microsoft.AspNet.Routing.Tests
public void CreateFromObject_CopiesPropertiesFromAnonymousType() public void CreateFromObject_CopiesPropertiesFromAnonymousType()
{ {
// Arrange // Arrange
var obj = new {cool = "beans", awesome = 123}; var obj = new { cool = "beans", awesome = 123 };
// Act // Act
var dict = new RouteValueDictionary(obj); var dict = new RouteValueDictionary(obj);
@ -62,7 +62,7 @@ namespace Microsoft.AspNet.Routing.Tests
public void CreateFromObject_CopiesPropertiesFromRegularType() public void CreateFromObject_CopiesPropertiesFromRegularType()
{ {
// Arrange // Arrange
var obj = new RegularType() { CoolnessFactor = 73}; var obj = new RegularType() { CoolnessFactor = 73 };
// Act // Act
var dict = new RouteValueDictionary(obj); var dict = new RouteValueDictionary(obj);
@ -104,7 +104,7 @@ namespace Microsoft.AspNet.Routing.Tests
public void CreateFromObject_CopiesPropertiesFromRegularType_IgnoresSetOnly() public void CreateFromObject_CopiesPropertiesFromRegularType_IgnoresSetOnly()
{ {
// Arrange // Arrange
var obj = new SetterOnly() {CoolSetOnly = false}; var obj = new SetterOnly() { CoolSetOnly = false };
// Act // Act
var dict = new RouteValueDictionary(obj); var dict = new RouteValueDictionary(obj);
@ -117,7 +117,7 @@ namespace Microsoft.AspNet.Routing.Tests
public void CreateFromObject_CopiesPropertiesFromRegularType_IncludesInherited() public void CreateFromObject_CopiesPropertiesFromRegularType_IncludesInherited()
{ {
// Arrange // Arrange
var obj = new Derived() {TotallySweetProperty = true, DerivedProperty = false}; var obj = new Derived() { TotallySweetProperty = true, DerivedProperty = false };
// Act // Act
var dict = new RouteValueDictionary(obj); var dict = new RouteValueDictionary(obj);
@ -207,7 +207,7 @@ namespace Microsoft.AspNet.Routing.Tests
{ {
private bool _coolSetOnly; private bool _coolSetOnly;
public bool CoolSetOnly { set { _coolSetOnly = value; }} public bool CoolSetOnly { set { _coolSetOnly = value; } }
} }
private class Base private class Base
@ -230,7 +230,7 @@ namespace Microsoft.AspNet.Routing.Tests
public bool this[string key] public bool this[string key]
{ {
get { return false; } get { return false; }
set {} set { }
} }
} }
} }