Skip to content

Commit c93d37d

Browse files
committed
removed empty lines
1 parent 6a05d15 commit c93d37d

10 files changed

Lines changed: 6 additions & 19 deletions

File tree

CometD.NetCore.Salesforce.sln

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,11 @@ EndProject
2020
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "AuthApp", "src\AuthApp\AuthApp.csproj", "{0AC0A8E4-AF3E-4078-A472-0D2DC1392C00}"
2121
EndProject
2222
Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "build", "build", "{DF67E08B-61B2-46CD-B3B0-56F6BDC4313E}"
23+
ProjectSection(SolutionItems) = preProject
24+
build\dependecies.props = build\dependecies.props
25+
build\settings.props = build\settings.props
26+
build\sources.props = build\sources.props
27+
EndProjectSection
2328
EndProject
2429
Global
2530
GlobalSection(SolutionConfigurationPlatforms) = preSolution

src/AuthApp/ConsoleHandler.cs

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,6 @@ namespace AuthApp
66
{
77
public class ConsoleHandler
88
{
9-
109
public static void ShowConsole()
1110
{
1211
var console = GetConsoleWindow();
@@ -29,7 +28,6 @@ public static void HideConsole()
2928

3029
#pragma warning restore IDE0040 // Add accessibility modifiers
3130

32-
3331
public static Process OpenBrowser(string url)
3432
{
3533
try

src/AuthApp/Host/CustomHost.cs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,6 @@ public CustomHost()
2727
config.AddJsonFile(
2828
$"appsettings.{hostContext.HostingEnvironment.EnvironmentName}.json",
2929
optional: true);
30-
3130
})
3231
.ConfigureServices((hostContext, services) =>
3332
{

src/AuthApp/Host/HttpServer.cs

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,6 @@ protected override async Task ExecuteAsync(CancellationToken stoppingToken)
5151

5252
responseOutput.Close();
5353

54-
5554
if (context.Request.QueryString.Get("error") != null)
5655
{
5756
Console.WriteLine(string.Format("OAuth authorization error: {0}.", context.Request.QueryString.Get("error")));
@@ -73,7 +72,6 @@ await auth.WebServerAsync(_config.ClientId,
7372
$"{_config.LoginUrl}/services/oauth2/token");
7473

7574

76-
7775
Console.WriteLine($"Your access_token is {auth.AccessInfo.AccessToken}");
7876
Console.WriteLine($"Your refresh_token is {auth.AccessInfo.RefreshToken}");
7977

src/AuthApp/Program.cs

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,6 @@ public class Program
1010
{
1111
public static async Task Main(string[] args)
1212
{
13-
1413
var host = new CustomHost();
1514

1615
Console.WriteLine("Starting!");
@@ -21,12 +20,7 @@ public static async Task Main(string[] args)
2120
Console.WriteLine("Stopping!");
2221
await host.StopAsync();
2322
Console.WriteLine("Stopped!");
24-
25-
2623
}
2724

28-
29-
3025
}
31-
3226
}

src/CometD.NetCore.Salesforce/ForceClient/AuthenticationClientProxy.cs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,6 @@ public class AuthenticationClientProxy : IAuthenticationClientProxy
1616
private readonly IAsyncPolicy _policy;
1717
private readonly AuthenticationClient _auth;
1818

19-
2019
/// <summary>
2120
/// Constructor <see cref="AuthenticationClientProxy"/> create instance of the class and authenticates the session.
2221
/// </summary>

src/CometD.NetCore.Salesforce/ForceClient/ForceClientProxy.cs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -131,6 +131,5 @@ public async Task<CreateResponse> CreateRecord<T>(string sObjectTypeName, T inst
131131
{
132132
return await _policy.ExecuteAsync(ctx => _forceClient.CreateRecord(sObjectTypeName, instance, headers), token);
133133
}
134-
135134
}
136135
}

src/TestApp/HostExtensions.cs

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,6 @@ public static class HostExtensions
1111
{
1212
public static IHostBuilder ConfigureHost(this IHostBuilder builder)
1313
{
14-
1514
return builder.ConfigureServices((bulderContext, services) =>
1615
{
1716
services.AddLogging();
@@ -27,7 +26,6 @@ public static IHostBuilder ConfigureHost(this IHostBuilder builder)
2726

2827
// no need to create instance = services.AddStreamingClient();
2928
services.AddSalesforceEventBus();
30-
3129
});
3230
}
3331
}

src/TestApp/Program.cs

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,6 @@ public class Program
1010
{
1111
public static async Task Main(string[] args)
1212
{
13-
1413
var host = new HostBuilder()
1514
.ConfigureHostConfiguration(configHost =>
1615
{
@@ -34,7 +33,6 @@ public static async Task Main(string[] args)
3433
// print out the environment
3534
var config = configBuilder.Build();
3635
config.DebugConfigurations();
37-
3836
})
3937
.ConfigureHost()
4038
.ConfigureLogging((hostContext, configLogging) =>
@@ -50,7 +48,5 @@ public static async Task Main(string[] args)
5048

5149
await host.RunAsync();
5250
}
53-
54-
5551
}
5652
}

src/TestApp/appsettings.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,7 @@
2525
}
2626
},
2727
"AllowedHosts": "*",
28+
2829
"Salesforce": {
2930
"ClientId": "",
3031
"ClientSecret": "",

0 commit comments

Comments
 (0)