Exemple #1
0
 // Token: 0x06007228 RID: 29224 RVA: 0x0017A125 File Offset: 0x00178325
 public static BudgetTypeSetting Get(BudgetType budgetType)
 {
     if (BudgetTypeSettings.GetSettingsTestHook != null)
     {
         return(BudgetTypeSettings.GetSettingsTestHook(budgetType));
     }
     return(BudgetTypeSettings.budgetTypeSettingsMap[budgetType]);
 }
Exemple #2
0
        // Token: 0x06007229 RID: 29225 RVA: 0x0017A148 File Offset: 0x00178348
        internal static BudgetTypeSetting GetDefault(BudgetType budgetType)
        {
            if (BudgetTypeSettings.GetSettingsTestHook != null)
            {
                return(BudgetTypeSettings.GetSettingsTestHook(budgetType));
            }
            BudgetTypeSetting result = null;

            if (BudgetTypeSettings.defaultBudgetTypeSettingsMap.TryGetValue(budgetType, out result))
            {
                return(result);
            }
            return(BudgetTypeSetting.OneMinuteSetting);
        }