Browse Source

Updated Program class

pull/1785/head
Sumit Ghosh 3 years ago
parent
commit
3fb1c1aca5
6 changed files with 6 additions and 6 deletions
  1. +1
    -1
      src/Services/Basket/Basket.API/Program.cs
  2. +1
    -1
      src/Services/Catalog/Catalog.API/Program.cs
  3. +1
    -1
      src/Services/Ordering/Ordering.API/Program.cs
  4. +1
    -1
      src/Services/Ordering/Ordering.SignalrHub/Program.cs
  5. +1
    -1
      src/Services/Payment/Payment.API/Program.cs
  6. +1
    -1
      src/Web/WebMVC/Program.cs

+ 1
- 1
src/Services/Basket/Basket.API/Program.cs View File

@ -93,7 +93,7 @@ IConfiguration GetConfiguration()
return (port, grpcPort);
}
public class Program
public partial class Program
{
public static string Namespace = typeof(Startup).Namespace;


+ 1
- 1
src/Services/Catalog/Catalog.API/Program.cs View File

@ -99,7 +99,7 @@ IConfiguration GetConfiguration()
return builder.Build();
}
public static class Program
public partial class Program
{
public static string Namespace = typeof(Startup).Namespace;
public static string AppName = Namespace.Substring(Namespace.LastIndexOf('.', Namespace.LastIndexOf('.') - 1) + 1);

+ 1
- 1
src/Services/Ordering/Ordering.API/Program.cs View File

@ -101,7 +101,7 @@ IConfiguration GetConfiguration()
return (port, grpcPort);
}
public class Program
public partial class Program
{
public static string Namespace = typeof(Startup).Namespace;


+ 1
- 1
src/Services/Ordering/Ordering.SignalrHub/Program.cs View File

@ -56,7 +56,7 @@ static IConfiguration GetConfiguration()
return builder.Build();
}
public class Program
public partial class Program
{
public static string Namespace = typeof(Startup).Namespace;
public static string AppName = Namespace.Substring(Namespace.LastIndexOf('.', Namespace.LastIndexOf('.') - 1) + 1);

+ 1
- 1
src/Services/Payment/Payment.API/Program.cs View File

@ -68,7 +68,7 @@ IConfiguration GetConfiguration()
return builder.Build();
}
public class Program
public partial class Program
{
public static string Namespace = typeof(Startup).Namespace;
public static string AppName = Namespace.Substring(Namespace.LastIndexOf('.', Namespace.LastIndexOf('.') - 1) + 1);

+ 1
- 1
src/Web/WebMVC/Program.cs View File

@ -61,7 +61,7 @@ IConfiguration GetConfiguration()
}
public class Program
public partial class Program
{
private static readonly string _namespace = typeof(Startup).Namespace;
public static readonly string AppName = _namespace.Substring(_namespace.LastIndexOf('.', _namespace.LastIndexOf('.') - 1) + 1);

Loading…
Cancel
Save