diff options
author | Sergey Chebotar <s.chebotar@gmail.com> | 2022-03-23 18:07:49 +0300 |
---|---|---|
committer | Sergey Chebotar <s.chebotar@gmail.com> | 2022-03-23 18:07:49 +0300 |
commit | d7d574feb7625b258ed0d1e04a66a4c3996a4bcc (patch) | |
tree | 9624805ec5c69f16295008e56c79cec63a34c97b /src/PriceListTools | |
parent | 7fffd91c9b69c86b0784067d33e7e1b5559ffc85 (diff) |
GetHashCode override fix
Diffstat (limited to 'src/PriceListTools')
-rw-r--r-- | src/PriceListTools/Position.cs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/PriceListTools/Position.cs b/src/PriceListTools/Position.cs index 34b7b93..713ba90 100644 --- a/src/PriceListTools/Position.cs +++ b/src/PriceListTools/Position.cs @@ -2,7 +2,7 @@ namespace RehauSku.PriceListTools { - public class Position + public class Position { public string Group { get; private set; } public string Sku { get; private set; } @@ -36,7 +36,7 @@ namespace RehauSku.PriceListTools Name }; - return properties.Where(p => p != null).Sum(p => p.GetHashCode()); + return string.Concat(properties.Where(p => p != null)).GetHashCode(); } } }
\ No newline at end of file |