コード例 #1
0
        public override bool Equals(object obj)
        {
            SidBudgetKey sidBudgetKey = obj as SidBudgetKey;

            return(!(sidBudgetKey == null) && (sidBudgetKey.BudgetType == base.BudgetType && sidBudgetKey.Sid == this.Sid) && sidBudgetKey.IsServiceAccountBudget == base.IsServiceAccountBudget);
        }
コード例 #2
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));
        }