CapRaffle.PopulateDatabase.RuleSet.CreateRuleSet C# (CSharp) Method

CreateRuleSet() public static method

Create a new RuleSet object.
public static CreateRuleSet ( global ruleSetId, global ruleId, global priority ) : RuleSet
ruleSetId global Initial value of the RuleSetId property.
ruleId global Initial value of the RuleId property.
priority global Initial value of the Priority property.
return RuleSet
        public static RuleSet CreateRuleSet(global::System.Int32 ruleSetId, global::System.Int32 ruleId, global::System.Int32 priority)
        {
            RuleSet ruleSet = new RuleSet();
            ruleSet.RuleSetId = ruleSetId;
            ruleSet.RuleId = ruleId;
            ruleSet.Priority = priority;
            return ruleSet;
        }