C# 클래스 Arc.Domain.Units.Moneybag

Bag of money.
파일 보기 프로젝트 열기: marektihkan/Arc

공개 메소드들

메소드 설명
Add ( Money money ) : void

Adds the specified money.

Contains ( Arc.Domain.Units.Currency currency ) : bool

Determines whether the specified currency is in bag.

Remove ( Arc.Domain.Units.Currency currency ) : void

Removes the specified currency.

ToString ( ) : string

Returns a T:System.String that represents the current T:System.Object.

this ( Arc.Domain.Units.Currency currency ) : Money

Gets the Arc.Domain.Units.Money with the specified currency.

메소드 상세

Add() 공개 메소드

Adds the specified money.
public Add ( Money money ) : void
money Money The money.
리턴 void

Contains() 공개 메소드

Determines whether the specified currency is in bag.
public Contains ( Arc.Domain.Units.Currency currency ) : bool
currency Arc.Domain.Units.Currency The currency.
리턴 bool

Remove() 공개 메소드

Removes the specified currency.
public Remove ( Arc.Domain.Units.Currency currency ) : void
currency Arc.Domain.Units.Currency The currency.
리턴 void

ToString() 공개 메소드

Returns a T:System.String that represents the current T:System.Object.
public ToString ( ) : string
리턴 string

this() 공개 메소드

Gets the Arc.Domain.Units.Money with the specified currency.
public this ( Arc.Domain.Units.Currency currency ) : Money
currency Arc.Domain.Units.Currency
리턴 Money