コード例 #1
0
        // Token: 0x0600746D RID: 29805 RVA: 0x0017FEC4 File Offset: 0x0017E0C4
        public static IStandardBudget AcquireUnthrottledBudget(string identifier, BudgetType budgetType)
        {
            UnthrottledBudgetKey budgetKey = new UnthrottledBudgetKey(identifier, budgetType);

            return(StandardBudget.Acquire(budgetKey));
        }
コード例 #2
0
        // Token: 0x0600746C RID: 29804 RVA: 0x0017FEA8 File Offset: 0x0017E0A8
        public static IStandardBudget AcquireFallback(string identifier, BudgetType budgetType)
        {
            StringBudgetKey budgetKey = new StringBudgetKey(identifier, false, budgetType);

            return(StandardBudget.Acquire(budgetKey));
        }
コード例 #3
0
        // Token: 0x0600746A RID: 29802 RVA: 0x0017FE80 File Offset: 0x0017E080
        public static IStandardBudget Acquire(SecurityIdentifier budgetSid, BudgetType budgetType, bool isServiceAccount, ADSessionSettings settings)
        {
            SidBudgetKey budgetKey = new SidBudgetKey(budgetSid, budgetType, isServiceAccount, settings);

            return(StandardBudget.Acquire(budgetKey));
        }
コード例 #4
0
 // Token: 0x0600746B RID: 29803 RVA: 0x0017FE9D File Offset: 0x0017E09D
 public static IStandardBudget Acquire(SecurityIdentifier budgetSid, BudgetType budgetType, ADSessionSettings settings)
 {
     return(StandardBudget.Acquire(budgetSid, budgetType, false, settings));
 }
コード例 #5
0
        // Token: 0x06007469 RID: 29801 RVA: 0x0017FE60 File Offset: 0x0017E060
        public static IStandardBudget Acquire(BudgetKey budgetKey)
        {
            StandardBudget innerBudget = StandardBudgetCache.Singleton.Get(budgetKey);

            return(new StandardBudgetWrapper(innerBudget));
        }