Méthode | Description | |
---|---|---|
CreateNewFixedBudgetProject ( string bucketCode, string description, decimal fixedBudgetAmount ) : |
Creates the new fixed budget project.
|
|
GetByCode ( string code ) : |
Gets a bucket by its code.
|
|
GetOrCreateNew ( string code, Func |
Gets the bucket by its code or creates a new one if not found.
|
|
InMemoryBudgetBucketRepository ( BudgetBucket>.[ |
Initializes a new instance of the InMemoryBudgetBucketRepository class.
|
|
Initialise ( IEnumerable |
Initialises the buckets from the provided data. Used by persistence.
|
|
IsValidCode ( string code ) : bool |
Determines whether the bucket code is registered in this repository.
|
|
RemoveFixedBudgetProject ( |
Removes the fixed budget project bucket permanently
|
Méthode | Description | |
---|---|---|
AddBucket ( [ bucket ) : void |
Adds the bucket.
|
|
InitialiseMandatorySpecialBuckets ( ) : void |
Initialises the mandatory special buckets.
|
Méthode | Description | |
---|---|---|
ContainsKeyInternal ( string code ) : bool |
public CreateNewFixedBudgetProject ( string bucketCode, string description, decimal fixedBudgetAmount ) : |
||
bucketCode | string | The bucket code. |
description | string | The description. |
fixedBudgetAmount | decimal | The fixed budget amount. |
Résultat |
public GetByCode ( string code ) : |
||
code | string | The code, also used as a key and must be unique. |
Résultat |
public GetOrCreateNew ( string code, Func |
||
code | string | The code, also used as a key and must be unique. |
factory | Func |
The factory to create the new bucket if not already registered. |
Résultat |
public InMemoryBudgetBucketRepository ( BudgetBucket>.[ |
||
mapper | BudgetBucket>.[ | |
Résultat | System |
public Initialise ( IEnumerable |
||
buckets | IEnumerable |
|
Résultat | void |
protected InitialiseMandatorySpecialBuckets ( ) : void | ||
Résultat | void |
public IsValidCode ( string code ) : bool | ||
code | string | The code, also used as a key and must be unique. |
Résultat | bool |
public RemoveFixedBudgetProject ( |
||
projectBucket | The project bucket to remove. | |
Résultat | void |