Skip to content

Commit 7135b9a

Browse files
authored
Pass configProfileType to HashConfigProfile class
Signed-off-by: Xen <lordofxen@deskasoft.com>
1 parent 5675311 commit 7135b9a

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

HashifyNet/Core/Factory/HashFactory.cs

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -166,7 +166,7 @@ static HashFactory()
166166
}
167167

168168
Func<IHashConfigBase> configProfileFactory = ReflectionHelper.CreateInstance<IHashConfigBase>(configProfileCtor);
169-
profiles[i] = new HashConfigProfile(configProfileAttribute.Name, configProfileAttribute.Description, configProfileFactory);
169+
profiles[i] = new HashConfigProfile(configProfileType, configProfileAttribute.Name, configProfileAttribute.Description, configProfileFactory);
170170
}
171171

172172
_configProfiles.Add(t.Item2.ImplementedInterface, profiles);
@@ -269,5 +269,3 @@ public IHashFunctionBase CreateInstance(Type type, IHashConfigBase config)
269269
}
270270
}
271271
}
272-
273-

0 commit comments

Comments
 (0)