示例#1
0
 /// <summary>
 /// Initializes a new instance of the <see cref = "Allocation"/> class.
 /// </summary>
 /// <param name = "authority" >
 /// The authority.
 /// </param>
 public Allocation(IAuthority authority)
 {
     Authority           = authority;
     BudgetFiscalYear    = Authority?.GetBudgetFiscalYear();
     Data                = Authority?.ToDictionary();
     Funds               = GetFunds();
     ProgramResultCodes  = GetProgramResultsCodes();
     FullTimeEquivalents = GetFullTimeEquivalents();
     Organizations       = GetOrganizations();
     AllowanceHolders    = GetAllowanceHolders();
     Accounts            = GetAccounts();
     ObjectClasses       = GetBudgetObjectClasses();
 }