C# Class BudgetAnalyser.Engine.Budget.FixedBudgetProjectBucket

A fixed budget project bucket. This is a specialisation of Surplus, so any funds classified with this bucket are also considered surplus funds as well. This is a bucket used to represent a large but short lived project that should not exceed a budgeted amount. Using this bucket helps track progress against a budgeted amount for the project.
Inheritance: SurplusBucket
ファイルを表示 Open project: Benrnz/BudgetAnalyser Class Usage Examples

Public Properties

Property Type Description
ProjectCodeTemplateWithPrefix string

Public Methods

Method Description
CreateCode ( [ subCode ) : string

Creates the code.

FixedBudgetProjectBucket ( string code, string description, decimal fixedBudgetAmount ) : System

Initializes a new instance of the FixedBudgetProjectBucket class. Used to create a new instance from the User Interface.

ToString ( ) : string

Returns a string that represents the current object.

Private Methods

Method Description
FixedBudgetProjectBucket ( string code, string description, decimal fixedBudgetAmount, System.DateTime created ) : System

Initializes a new instance of the FixedBudgetProjectBucket class. Used only for persistence.

Method Details

CreateCode() public static method

Creates the code.
public static CreateCode ( [ subCode ) : string
subCode [
return string

FixedBudgetProjectBucket() public method

Initializes a new instance of the FixedBudgetProjectBucket class. Used to create a new instance from the User Interface.
public FixedBudgetProjectBucket ( string code, string description, decimal fixedBudgetAmount ) : System
code string
description string
fixedBudgetAmount decimal
return System

ToString() public method

Returns a string that represents the current object.
public ToString ( ) : string
return string

Property Details

ProjectCodeTemplateWithPrefix public_oe static_oe property

The project code template used when creating a code. This is used to produce a BudgetBucket.Code that is prefixed with SURPLUS.
public static string ProjectCodeTemplateWithPrefix
return string