File tree 3 files changed +11
-9
lines changed
backend/src/Examples/ExampleApp.Examples
3 files changed +11
-9
lines changed Original file line number Diff line number Diff line change 1
- using LeanCode . AppRating . Configuration ;
2
- using LeanCode . Firebase ;
3
1
using Microsoft . AspNetCore . Hosting ;
4
2
using Microsoft . Extensions . Configuration ;
5
3
using Microsoft . Extensions . DependencyInjection ;
6
4
using Serilog . Events ;
5
+ #if Example
6
+ using LeanCode . Firebase ;
7
+ using LeanCode . AppRating . Configuration ;
8
+ #endif
7
9
8
10
namespace ExampleApp . Examples . Configuration ;
9
11
Original file line number Diff line number Diff line change 2
2
using Azure . Core ;
3
3
using ExampleApp . Examples . Configuration ;
4
4
using ExampleApp . Examples . DataAccess ;
5
- using ExampleApp . Examples . DataAccess . Queries ;
6
- using ExampleApp . Examples . DataAccess . Repositories ;
7
5
using ExampleApp . Examples . DataAccess . Serialization ;
8
6
using ExampleApp . Examples . Handlers . Identities ;
9
7
using LeanCode . AuditLogs ;
31
29
using OpenTelemetry . Trace ;
32
30
using static ExampleApp . Examples . Contracts . Auth ;
33
31
#if Example
32
+ using ExampleApp . Examples . DataAccess . Queries ;
33
+ using ExampleApp . Examples . DataAccess . Repositories ;
34
34
using ExampleApp . Examples . Domain . Booking ;
35
35
using ExampleApp . Examples . Domain . Employees ;
36
36
using ExampleApp . Examples . Domain . Projects ;
@@ -107,9 +107,7 @@ IWebHostEnvironment hostEnv
107
107
{
108
108
services
109
109
. AddOpenTelemetry ( )
110
- . ConfigureResource ( r =>
111
- r . AddService ( "ExampleApp.Examples" , serviceInstanceId : Environment . MachineName )
112
- )
110
+ . ConfigureResource ( r => r . AddService ( "ExampleApp.Examples" , serviceInstanceId : Environment . MachineName ) )
113
111
. WithTracing ( builder =>
114
112
{
115
113
builder
Original file line number Diff line number Diff line change 4
4
using ExampleApp . Examples . DataAccess . Serialization ;
5
5
using ExampleApp . Examples . Handlers . HealthCheck ;
6
6
using ExampleApp . Examples . Handlers . Identities ;
7
- using LeanCode . AppRating ;
8
7
using LeanCode . AuditLogs ;
9
8
using LeanCode . AzureIdentity ;
10
9
using LeanCode . Components ;
11
10
using LeanCode . CQRS . AspNetCore ;
12
11
using LeanCode . CQRS . MassTransitRelay ;
13
12
using LeanCode . CQRS . MassTransitRelay . Middleware ;
14
13
using LeanCode . CQRS . Validation . Fluent ;
15
- using LeanCode . Firebase . FCM ;
16
14
using LeanCode . ForceUpdate ;
17
15
using LeanCode . Localization ;
18
16
using LeanCode . OpenTelemetry ;
30
28
using Microsoft . Extensions . FileProviders . Physical ;
31
29
using Microsoft . Extensions . Hosting ;
32
30
using SendGrid ;
31
+ #if Example
32
+ using LeanCode . AppRating ;
33
+ using LeanCode . Firebase . FCM ;
34
+ #endif
33
35
34
36
namespace ExampleApp . Examples ;
35
37
You can’t perform that action at this time.
0 commit comments