C# Класс 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.
Наследование: SurplusBucket
Показать файл Открыть проект Примеры использования класса

Открытые свойства

Свойство Тип Описание
ProjectCodeTemplateWithPrefix string

Открытые методы

Метод Описание
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.

Приватные методы

Метод Описание
FixedBudgetProjectBucket ( string code, string description, decimal fixedBudgetAmount, System.DateTime created ) : System

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

Описание методов

CreateCode() публичный статический Метод

Creates the code.
public static CreateCode ( [ subCode ) : string
subCode [
Результат string

FixedBudgetProjectBucket() публичный Метод

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
Результат System

ToString() публичный Метод

Returns a string that represents the current object.
public ToString ( ) : string
Результат string

Описание свойств

ProjectCodeTemplateWithPrefix публичное статическое свойство

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
Результат string