CapRaffle.Domain.Model.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;
        }