Inheritance: IAward
Ejemplo n.º 1
0
 /// <summary>
 /// Used by the parser to add found ranks to the list
 /// </summary>
 /// <param name="A"></param>
 public static void AddRank(Rank A)
 {
     Ranks.Add(A);
     Awards.Add(A.Id.ToString(), A);
 }
Ejemplo n.º 2
0
        /// <summary>
        /// Used by the parser to add found ranks to the list
        /// </summary>
        /// <param name="A">The Rank Object To Add</param>
        public static void AddRank(Rank A)
        {
            // Add rank to indiviual rank collection
            Ranks.Add(A);

            // Add the award to the overall awards cache
            Awards.Add(A.Id.ToString(), A);

            // Build the award tree here to Initially check for condition errors
            A.ToTree();
        }