CommeillFaut.InfluenceRule.Result C# (CSharp) Method

Result() public method

public Result ( Name init, Name targ ) : int
init Name
targ Name
return int
        public int Result(Name init, Name targ)
        {
            foreach (var cond in Conditions)
            {
                 return Value;
            }

            return 0;
        }