// Token: 0x060073DD RID: 29661 RVA: 0x0017DAC4 File Offset: 0x0017BCC4 public static IPowerShellBudget Acquire(SecurityIdentifier callerSid, BudgetType budgetType, ADSessionSettings settings) { PowerShellBudget.VerifyCorrectBudgetType(budgetType); PowerShellBudget innerBudget = PowerShellBudgetCache.Singleton.Get(new SidBudgetKey(callerSid, budgetType, false, settings)); return(new PowerShellBudgetWrapper(innerBudget)); }
// Token: 0x060073DE RID: 29662 RVA: 0x0017DAF4 File Offset: 0x0017BCF4 public static IPowerShellBudget AcquireFallback(string identifier, BudgetType budgetType) { PowerShellBudget.VerifyCorrectBudgetType(budgetType); PowerShellBudget innerBudget = PowerShellBudgetCache.Singleton.Get(new StringBudgetKey(identifier, false, budgetType)); return(new PowerShellBudgetWrapper(innerBudget)); }
// Token: 0x060073DC RID: 29660 RVA: 0x0017DA84 File Offset: 0x0017BC84 public static IPowerShellBudget Acquire(BudgetKey budgetKey) { if (budgetKey == null) { throw new ArgumentNullException("budgetKey"); } PowerShellBudget.VerifyCorrectBudgetType(budgetKey.BudgetType); PowerShellBudget innerBudget = PowerShellBudgetCache.Singleton.Get(budgetKey); return(new PowerShellBudgetWrapper(innerBudget)); }