/// <summary> /// Additional operations to be performed when cloning an instance of <see cref="CustomerUsageSummary" /> to an instance of <see cref="PSCustomerUsageSummary" />. /// </summary> /// <param name="customerUsageSummary">The cart being cloned.</param> private void CloneAdditionalOperations(CustomerUsageSummary summary) { Budget = new PSSpendingBudget(summary.Budget); }
/// <summary> /// Additional operations to be performed when cloning an instance of <see cref="CustomerMonthlyUsageRecord" /> to an instance of <see cref="PSCustomerMonthlyUsageRecord" />. /// </summary> /// <param name="resource">The reosurce being cloned.</param> private void CloneAdditionalOperations(CustomerMonthlyUsageRecord resource) { Budget = new PSSpendingBudget(resource.Budget); }