Skip to content

Commit 279e225

Browse files
committed
Fix pre-commit issues.
1 parent 35f4474 commit 279e225

File tree

14 files changed

+170
-170
lines changed

14 files changed

+170
-170
lines changed

.gitattributes

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
*.png binary
1414
*.gif binary
1515

16-
*.cs text=auto diff=csharp
16+
*.cs text=auto diff=csharp
1717
*.vb text=auto
1818
*.resx text=auto
1919
*.c text=auto

.github/workflows/dotnet-format.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,4 +11,4 @@ jobs:
1111
with:
1212
dotnet-version: 8.0.x
1313
- name: dotnet format
14-
run: dotnet format Autofac.sln --verify-no-changes
14+
run: dotnet format Autofac.Extensions.DependencyInjection.sln --verify-no-changes

.vscode/launch.json

Lines changed: 62 additions & 62 deletions
Original file line numberDiff line numberDiff line change
@@ -1,62 +1,62 @@
1-
{
2-
"configurations": [
3-
{
4-
"args": [
5-
],
6-
"cwd": "${workspaceFolder}/test/Integration.Net6",
7-
"env": {
8-
"ASPNETCORE_ENVIRONMENT": "Development"
9-
},
10-
"name": "Launch .NET 6 Integration Site",
11-
"preLaunchTask": "build",
12-
"program": "${workspaceFolder}/test/Integration.Net6/bin/Debug/net6.0/Integration.Net6.dll",
13-
"request": "launch",
14-
"serverReadyAction": {
15-
"action": "openExternally",
16-
"pattern": "\\bNow listening on:\\s+(https?://\\S+)",
17-
"uriFormat": "%s/date"
18-
},
19-
"stopAtEntry": false,
20-
"type": "coreclr"
21-
},
22-
{
23-
"args": [
24-
],
25-
"cwd": "${workspaceFolder}/test/Integration.Net7",
26-
"env": {
27-
"ASPNETCORE_ENVIRONMENT": "Development"
28-
},
29-
"name": "Launch .NET 7 Integration Site",
30-
"preLaunchTask": "build",
31-
"program": "${workspaceFolder}/test/Integration.Net7/bin/Debug/net7.0/Integration.Net7.dll",
32-
"request": "launch",
33-
"serverReadyAction": {
34-
"action": "openExternally",
35-
"pattern": "\\bNow listening on:\\s+(https?://\\S+)",
36-
"uriFormat": "%s/date"
37-
},
38-
"stopAtEntry": false,
39-
"type": "coreclr"
40-
},
41-
{
42-
"args": [
43-
],
44-
"cwd": "${workspaceFolder}/test/Integration.Net8",
45-
"env": {
46-
"ASPNETCORE_ENVIRONMENT": "Development"
47-
},
48-
"name": "Launch .NET 8 Integration Site",
49-
"preLaunchTask": "build",
50-
"program": "${workspaceFolder}/test/Integration.Net8/bin/Debug/net8.0/Integration.Net8.dll",
51-
"request": "launch",
52-
"serverReadyAction": {
53-
"action": "openExternally",
54-
"pattern": "\\bNow listening on:\\s+(https?://\\S+)",
55-
"uriFormat": "%s/date"
56-
},
57-
"stopAtEntry": false,
58-
"type": "coreclr"
59-
}
60-
],
61-
"version": "0.2.0"
62-
}
1+
{
2+
"configurations": [
3+
{
4+
"args": [
5+
],
6+
"cwd": "${workspaceFolder}/test/Integration.Net6",
7+
"env": {
8+
"ASPNETCORE_ENVIRONMENT": "Development"
9+
},
10+
"name": "Launch .NET 6 Integration Site",
11+
"preLaunchTask": "build",
12+
"program": "${workspaceFolder}/test/Integration.Net6/bin/Debug/net6.0/Integration.Net6.dll",
13+
"request": "launch",
14+
"serverReadyAction": {
15+
"action": "openExternally",
16+
"pattern": "\\bNow listening on:\\s+(https?://\\S+)",
17+
"uriFormat": "%s/date"
18+
},
19+
"stopAtEntry": false,
20+
"type": "coreclr"
21+
},
22+
{
23+
"args": [
24+
],
25+
"cwd": "${workspaceFolder}/test/Integration.Net7",
26+
"env": {
27+
"ASPNETCORE_ENVIRONMENT": "Development"
28+
},
29+
"name": "Launch .NET 7 Integration Site",
30+
"preLaunchTask": "build",
31+
"program": "${workspaceFolder}/test/Integration.Net7/bin/Debug/net7.0/Integration.Net7.dll",
32+
"request": "launch",
33+
"serverReadyAction": {
34+
"action": "openExternally",
35+
"pattern": "\\bNow listening on:\\s+(https?://\\S+)",
36+
"uriFormat": "%s/date"
37+
},
38+
"stopAtEntry": false,
39+
"type": "coreclr"
40+
},
41+
{
42+
"args": [
43+
],
44+
"cwd": "${workspaceFolder}/test/Integration.Net8",
45+
"env": {
46+
"ASPNETCORE_ENVIRONMENT": "Development"
47+
},
48+
"name": "Launch .NET 8 Integration Site",
49+
"preLaunchTask": "build",
50+
"program": "${workspaceFolder}/test/Integration.Net8/bin/Debug/net8.0/Integration.Net8.dll",
51+
"request": "launch",
52+
"serverReadyAction": {
53+
"action": "openExternally",
54+
"pattern": "\\bNow listening on:\\s+(https?://\\S+)",
55+
"uriFormat": "%s/date"
56+
},
57+
"stopAtEntry": false,
58+
"type": "coreclr"
59+
}
60+
],
61+
"version": "0.2.0"
62+
}
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
11
<wpf:ResourceDictionary xml:space="preserve" xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" xmlns:s="clr-namespace:System;assembly=mscorlib" xmlns:ss="urn:shemas-jetbrains-com:settings-storage-xaml" xmlns:wpf="http://schemas.microsoft.com/winfx/2006/xaml/presentation">
2-
<s:Boolean x:Key="/Default/UserDictionary/Words/=Autofac/@EntryIndexedValue">True</s:Boolean></wpf:ResourceDictionary>
2+
<s:Boolean x:Key="/Default/UserDictionary/Words/=Autofac/@EntryIndexedValue">True</s:Boolean></wpf:ResourceDictionary>
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
{
22
"shadowCopy": false
3-
}
3+
}
Lines changed: 14 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -1,30 +1,30 @@
1-
{
1+
{
22
"$schema": "http://json.schemastore.org/launchsettings.json",
33
"iisSettings": {
4-
"windowsAuthentication": false,
54
"anonymousAuthentication": true,
65
"iisExpress": {
76
"applicationUrl": "http://localhost:55009",
87
"sslPort": 0
9-
}
8+
},
9+
"windowsAuthentication": false
1010
},
1111
"profiles": {
12-
"IIS Express": {
13-
"commandName": "IISExpress",
14-
"launchBrowser": true,
15-
"launchUrl": "weatherforecast",
16-
"environmentVariables": {
17-
"ASPNETCORE_ENVIRONMENT": "Development"
18-
}
19-
},
2012
"Bench.AutofacApiServer": {
13+
"applicationUrl": "http://localhost:5000",
2114
"commandName": "Project",
15+
"environmentVariables": {
16+
"ASPNETCORE_ENVIRONMENT": "Development"
17+
},
2218
"launchBrowser": true,
23-
"launchUrl": "weatherforecast",
24-
"applicationUrl": "http://localhost:5000",
19+
"launchUrl": "weatherforecast"
20+
},
21+
"IIS Express": {
22+
"commandName": "IISExpress",
2523
"environmentVariables": {
2624
"ASPNETCORE_ENVIRONMENT": "Development"
27-
}
25+
},
26+
"launchBrowser": true,
27+
"launchUrl": "weatherforecast"
2828
}
2929
}
3030
}
Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
11
{
2+
"AllowedHosts": "*",
23
"Logging": {
34
"LogLevel": {
45
"Default": "Information",
56
"Microsoft": "Warning",
67
"Microsoft.Hosting.Lifetime": "Information"
78
}
8-
},
9-
"AllowedHosts": "*"
9+
}
1010
}

src/Autofac.Extensions.DependencyInjection/ServiceProviderExtensionsResources.resx

Lines changed: 28 additions & 28 deletions
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,17 @@
11
<?xml version="1.0" encoding="utf-8"?>
22
<root>
3-
<!--
4-
Microsoft ResX Schema
5-
3+
<!--
4+
Microsoft ResX Schema
5+
66
Version 2.0
7-
8-
The primary goals of this format is to allow a simple XML format
9-
that is mostly human readable. The generation and parsing of the
10-
various data types are done through the TypeConverter classes
7+
8+
The primary goals of this format is to allow a simple XML format
9+
that is mostly human readable. The generation and parsing of the
10+
various data types are done through the TypeConverter classes
1111
associated with the data types.
12-
12+
1313
Example:
14-
14+
1515
... ado.net/XML headers & schema ...
1616
<resheader name="resmimetype">text/microsoft-resx</resheader>
1717
<resheader name="version">2.0</resheader>
@@ -26,36 +26,36 @@
2626
<value>[base64 mime encoded string representing a byte array form of the .NET Framework object]</value>
2727
<comment>This is a comment</comment>
2828
</data>
29-
30-
There are any number of "resheader" rows that contain simple
29+
30+
There are any number of "resheader" rows that contain simple
3131
name/value pairs.
32-
33-
Each data row contains a name, and value. The row also contains a
34-
type or mimetype. Type corresponds to a .NET class that support
35-
text/value conversion through the TypeConverter architecture.
36-
Classes that don't support this are serialized and stored with the
32+
33+
Each data row contains a name, and value. The row also contains a
34+
type or mimetype. Type corresponds to a .NET class that support
35+
text/value conversion through the TypeConverter architecture.
36+
Classes that don't support this are serialized and stored with the
3737
mimetype set.
38-
39-
The mimetype is used for serialized objects, and tells the
40-
ResXResourceReader how to depersist the object. This is currently not
38+
39+
The mimetype is used for serialized objects, and tells the
40+
ResXResourceReader how to depersist the object. This is currently not
4141
extensible. For a given mimetype the value must be set accordingly:
42-
43-
Note - application/x-microsoft.net.object.binary.base64 is the format
44-
that the ResXResourceWriter will generate, however the reader can
42+
43+
Note - application/x-microsoft.net.object.binary.base64 is the format
44+
that the ResXResourceWriter will generate, however the reader can
4545
read any of the formats listed below.
46-
46+
4747
mimetype: application/x-microsoft.net.object.binary.base64
48-
value : The object must be serialized with
48+
value : The object must be serialized with
4949
: System.Runtime.Serialization.Formatters.Binary.BinaryFormatter
5050
: and then encoded with base64 encoding.
51-
51+
5252
mimetype: application/x-microsoft.net.object.soap.base64
53-
value : The object must be serialized with
53+
value : The object must be serialized with
5454
: System.Runtime.Serialization.Formatters.Soap.SoapFormatter
5555
: and then encoded with base64 encoding.
5656
5757
mimetype: application/x-microsoft.net.object.bytearray.base64
58-
value : The object must be serialized into a byte array
58+
value : The object must be serialized into a byte array
5959
: using a System.ComponentModel.TypeConverter
6060
: and then encoded with base64 encoding.
6161
-->
@@ -120,4 +120,4 @@
120120
<data name="WrongProviderType" xml:space="preserve">
121121
<value>Unable to retrieve Autofac root lifetime scope from service provider of type {0}.</value>
122122
</data>
123-
</root>
123+
</root>
Lines changed: 13 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,13 @@
1-
{
2-
"profiles": {
3-
"Integration.Net6": {
4-
"applicationUrl": "https://localhost:7154;http://localhost:7155",
5-
"commandName": "Project",
6-
"dotnetRunMessages": true,
7-
"environmentVariables": {
8-
"ASPNETCORE_ENVIRONMENT": "Development"
9-
},
10-
"launchBrowser": true
11-
}
12-
}
13-
}
1+
{
2+
"profiles": {
3+
"Integration.Net6": {
4+
"applicationUrl": "https://localhost:7154;http://localhost:7155",
5+
"commandName": "Project",
6+
"dotnetRunMessages": true,
7+
"environmentVariables": {
8+
"ASPNETCORE_ENVIRONMENT": "Development"
9+
},
10+
"launchBrowser": true
11+
}
12+
}
13+
}
Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
1-
{
2-
"Logging": {
3-
"LogLevel": {
4-
"Default": "None"
5-
}
6-
}
7-
}
1+
{
2+
"Logging": {
3+
"LogLevel": {
4+
"Default": "None"
5+
}
6+
}
7+
}

0 commit comments

Comments
 (0)