Skip to content

Commit e0b491c

Browse files
authored
Declare config profiles for Farm Hash
Signed-off-by: Xen <lordofxen@deskasoft.com>
1 parent 3fe5377 commit e0b491c

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

HashifyNet/Algorithms/FarmHash/FarmHashConfig.cs

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// *
1+
// *
22
// *****************************************************************************
33
// *
44
// * Copyright (c) 2025 Deskasoft International
@@ -27,6 +27,8 @@
2727
// ******************************************************************************
2828
// *
2929

30+
using HashifyNet.Core;
31+
3032
namespace HashifyNet.Algorithms.FarmHash
3133
{
3234
/// <summary>
@@ -35,6 +37,8 @@ namespace HashifyNet.Algorithms.FarmHash
3537
/// <remarks>This class allows customization of the hash size used by the FarmHash algorithm. The default hash
3638
/// size is 64 bits, but it can be configured to 32, 64, or 128 bits. The configuration can be cloned to create a new
3739
/// instance with the same settings.</remarks>
40+
[DeclareHashConfigProfile(typeof(FarmHashConfigProfile32Bits))]
41+
[DeclareHashConfigProfile(typeof(FarmHashConfigProfile128Bits))]
3842
public class FarmHashConfig : IFarmHashConfig
3943
{
4044
/// <summary>

0 commit comments

Comments
 (0)