add == != oprator
This commit is contained in:
parent
46219957ef
commit
61ec256e07
@ -107,7 +107,7 @@ IConfiguration GetConfiguration()
|
|||||||
return (port, grpcPort);
|
return (port, grpcPort);
|
||||||
}
|
}
|
||||||
|
|
||||||
public class Program
|
public partial class Program
|
||||||
{
|
{
|
||||||
|
|
||||||
public static string Namespace = typeof(Startup).Namespace;
|
public static string Namespace = typeof(Startup).Namespace;
|
||||||
|
@ -120,7 +120,7 @@ IConfiguration GetConfiguration()
|
|||||||
return builder.Build();
|
return builder.Build();
|
||||||
}
|
}
|
||||||
|
|
||||||
public static class Program
|
public partial class Program
|
||||||
{
|
{
|
||||||
public static string Namespace = typeof(Startup).Namespace;
|
public static string Namespace = typeof(Startup).Namespace;
|
||||||
public static string AppName = Namespace.Substring(Namespace.LastIndexOf('.', Namespace.LastIndexOf('.') - 1) + 1);
|
public static string AppName = Namespace.Substring(Namespace.LastIndexOf('.', Namespace.LastIndexOf('.') - 1) + 1);
|
||||||
|
@ -119,7 +119,7 @@ IConfiguration GetConfiguration()
|
|||||||
return (port, grpcPort);
|
return (port, grpcPort);
|
||||||
}
|
}
|
||||||
|
|
||||||
public class Program
|
public partial class Program
|
||||||
{
|
{
|
||||||
|
|
||||||
public static string Namespace = typeof(Startup).Namespace;
|
public static string Namespace = typeof(Startup).Namespace;
|
||||||
|
@ -44,5 +44,8 @@ namespace Microsoft.eShopOnContainers.Services.Ordering.Domain.SeedWork
|
|||||||
{
|
{
|
||||||
return this.MemberwiseClone() as ValueObject;
|
return this.MemberwiseClone() as ValueObject;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
public static bool operator ==(ValueObject one, ValueObject two) { return one?.Equals(two) ?? false; }
|
||||||
|
public static bool operator !=(ValueObject one, ValueObject two) { return !(one?.Equals(two) ?? false); }
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -64,7 +64,7 @@ static IConfiguration GetConfiguration()
|
|||||||
return builder.Build();
|
return builder.Build();
|
||||||
}
|
}
|
||||||
|
|
||||||
public class Program
|
public partial class Program
|
||||||
{
|
{
|
||||||
public static string Namespace = typeof(Startup).Namespace;
|
public static string Namespace = typeof(Startup).Namespace;
|
||||||
public static string AppName = Namespace.Substring(Namespace.LastIndexOf('.', Namespace.LastIndexOf('.') - 1) + 1);
|
public static string AppName = Namespace.Substring(Namespace.LastIndexOf('.', Namespace.LastIndexOf('.') - 1) + 1);
|
||||||
|
@ -80,7 +80,7 @@ IConfiguration GetConfiguration()
|
|||||||
return builder.Build();
|
return builder.Build();
|
||||||
}
|
}
|
||||||
|
|
||||||
public class Program
|
public partial class Program
|
||||||
{
|
{
|
||||||
public static string Namespace = typeof(Startup).Namespace;
|
public static string Namespace = typeof(Startup).Namespace;
|
||||||
public static string AppName = Namespace.Substring(Namespace.LastIndexOf('.', Namespace.LastIndexOf('.') - 1) + 1);
|
public static string AppName = Namespace.Substring(Namespace.LastIndexOf('.', Namespace.LastIndexOf('.') - 1) + 1);
|
||||||
|
@ -52,4 +52,8 @@
|
|||||||
<ProjectReference Include="..\..\BuildingBlocks\Devspaces.Support\Devspaces.Support.csproj" />
|
<ProjectReference Include="..\..\BuildingBlocks\Devspaces.Support\Devspaces.Support.csproj" />
|
||||||
</ItemGroup>
|
</ItemGroup>
|
||||||
|
|
||||||
|
<ItemGroup>
|
||||||
|
<Folder Include="wwwroot\js\" />
|
||||||
|
</ItemGroup>
|
||||||
|
|
||||||
</Project>
|
</Project>
|
||||||
|
25277
src/Web/WebSPA/Client/package-lock.json
generated
25277
src/Web/WebSPA/Client/package-lock.json
generated
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
@ -40,7 +40,11 @@
|
|||||||
<PackageReference Include="Microsoft.AspNetCore.DataProtection.StackExchangeRedis" Version="5.0.7" />
|
<PackageReference Include="Microsoft.AspNetCore.DataProtection.StackExchangeRedis" Version="5.0.7" />
|
||||||
<PackageReference Include="Microsoft.AspNetCore.Diagnostics.HealthChecks" Version="2.2.0" />
|
<PackageReference Include="Microsoft.AspNetCore.Diagnostics.HealthChecks" Version="2.2.0" />
|
||||||
<PackageReference Include="Microsoft.AspNetCore.SpaServices.Extensions" Version="5.0.7" />
|
<PackageReference Include="Microsoft.AspNetCore.SpaServices.Extensions" Version="5.0.7" />
|
||||||
<PackageReference Include="Microsoft.Extensions.Logging.AzureAppServices" Version="5.0.7" />
|
<PackageReference Include="Microsoft.Extensions.Logging.AzureAppServices" Version="5.0.7" />
|
||||||
|
<PackageReference Include="Microsoft.TypeScript.MSBuild" Version="4.5.3">
|
||||||
|
<PrivateAssets>all</PrivateAssets>
|
||||||
|
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
|
||||||
|
</PackageReference>
|
||||||
<PackageReference Include="Microsoft.VisualStudio.Azure.Containers.Tools.Targets" Version="1.10.8" />
|
<PackageReference Include="Microsoft.VisualStudio.Azure.Containers.Tools.Targets" Version="1.10.8" />
|
||||||
<PackageReference Include="Newtonsoft.Json" Version="13.0.1" />
|
<PackageReference Include="Newtonsoft.Json" Version="13.0.1" />
|
||||||
<PackageReference Include="Serilog.AspNetCore" Version="4.1.0" />
|
<PackageReference Include="Serilog.AspNetCore" Version="4.1.0" />
|
||||||
|
@ -116,7 +116,7 @@ void LogPackagesVersionInfo()
|
|||||||
Log.Logger.ForContext("PackageVersions", string.Join("\n", versionList)).Information("Package versions ({ApplicationContext})", Program.AppName);
|
Log.Logger.ForContext("PackageVersions", string.Join("\n", versionList)).Information("Package versions ({ApplicationContext})", Program.AppName);
|
||||||
}
|
}
|
||||||
|
|
||||||
public class Program
|
public partial class Program
|
||||||
{
|
{
|
||||||
private static readonly string _namespace = typeof(Startup).Namespace;
|
private static readonly string _namespace = typeof(Startup).Namespace;
|
||||||
public static readonly string AppName = _namespace;
|
public static readonly string AppName = _namespace;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user