CapRaffle.PopulateDatabase.RuleSet.CreateRuleSet C# (CSharp) 메소드

CreateRuleSet() 공개 정적인 메소드

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.
리턴 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;
        }