We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 210d904 commit 5a92bc4Copy full SHA for 5a92bc4
Engine/Generic/ConfigurableScriptRule.cs
@@ -15,7 +15,7 @@ public abstract class ConfigurableScriptRule : IScriptRule
15
{
16
public bool IsRuleConfigured { get; protected set; } = false;
17
18
- public void ConfigureRule()
+ public virtual void ConfigureRule()
19
20
var arguments = Helper.Instance.GetRuleArguments(this.GetName());
21
try
@@ -29,7 +29,7 @@ public void ConfigureRule()
29
var obj = arguments[property.Name];
30
property.SetValue(
31
this,
32
- System.Convert.ChangeType(obj, Type.GetTypeCode(type)));
+ System.Convert.ChangeType(obj, type));
33
}
34
35
0 commit comments