CapRaffle.PopulateDatabase.Rule.CreateRule C# (CSharp) Method

CreateRule() public static method

Create a new Rule object.
public static CreateRule ( global ruleId, global methodName, global className ) : Rule
ruleId global Initial value of the RuleId property.
methodName global Initial value of the MethodName property.
className global Initial value of the ClassName property.
return Rule
        public static Rule CreateRule(global::System.Int32 ruleId, global::System.String methodName, global::System.String className)
        {
            Rule rule = new Rule();
            rule.RuleId = ruleId;
            rule.MethodName = methodName;
            rule.ClassName = className;
            return rule;
        }