Definition
Assembly: CloudNimble.EasyAF.Core.dll Namespace: CloudNimble.EasyAF.Core Inheritance: CloudNimble.EasyAF.Core.Interval<T>Syntax
Summary
Represents a sum of money to be exchanged during a given interval.Remarks
This has been broken up to allow for conversions (for example, converting /day) to be self-contained. This should reduce duplication.Constructors
.ctor
Syntax
.ctor
Initializes a new instance of theMoneyInterval1` class with the specified interval value and type.
Syntax
Parameters
.ctor
Initializes a new instance of theMoneyInterval1` class with the specified money amount, interval value, and type.
Syntax
Parameters
.ctor Inherited
Inherited from
CloudNimble.EasyAF.Core.Interval<T>Interval1` class.
Syntax
.ctor Inherited
Inherited from
CloudNimble.EasyAF.Core.Interval<T>Interval1` class.
Syntax
Parameters
.ctor Inherited
Inherited from
objectSyntax
Properties
Money
The amount of money represented by the given IntervalTypeSyntax
Property Value
Type:System.Decimal
Type Inherited
Inherited from
CloudNimble.EasyAF.Core.Interval<T>Syntax
Property Value
Type:CloudNimble.EasyAF.Core.IntervalType
Value Inherited
Inherited from
CloudNimble.EasyAF.Core.Interval<T>Syntax
Property Value
Type:T
Methods
Equals Inherited Virtual
Inherited from
objectSyntax
Parameters
Returns
Type:bool
Equals Inherited
Inherited from
objectSyntax
Parameters
Returns
Type:bool
GetHashCode Inherited Virtual
Inherited from
objectSyntax
Returns
Type:int
GetType Inherited
Inherited from
objectSyntax
Returns
Type:System.Type
MemberwiseClone Inherited
Inherited from
objectSyntax
Returns
Type:object
PerDay Override
Calculates the monetary amount per day based on this money interval.Syntax
Returns
Type:System.Decimal
The amount of money per day as a decimal value.
PerDay Override
Calculates the total monetary amount per day based on this money interval and a quantity multiplier.Syntax
Parameters
Returns
Type:System.Decimal
The total amount of money per day as a decimal value.
Examples
PerDay Inherited Virtual
Inherited from
CloudNimble.EasyAF.Core.Interval<T>Interval1` instance, calculates how many occurrences will happen per day.
Syntax
Returns
Type:System.Decimal
The number of occurrences per day as a decimal value.
Exceptions
PerDay Inherited Virtual
Inherited from
CloudNimble.EasyAF.Core.Interval<T>Interval1` instance and a quantity, calculates the total output per day.
Syntax
Parameters
Returns
Type:System.Decimal
The total output per day as a decimal value.
Exceptions
Examples
PerHour Override
Calculates the monetary amount per hour based on this money interval.Syntax
Returns
Type:System.Decimal
The amount of money per hour as a decimal value.
PerHour Override
Calculates the total monetary amount per hour based on this money interval and a quantity multiplier.Syntax
Parameters
Returns
Type:System.Decimal
The total amount of money per hour as a decimal value.
Examples
PerHour Inherited Virtual
Inherited from
CloudNimble.EasyAF.Core.Interval<T>Interval1` instance, calculates how many occurrences will happen per hour.
Syntax
Returns
Type:System.Decimal
The number of occurrences per hour as a decimal value.
Exceptions
PerHour Inherited Virtual
Inherited from
CloudNimble.EasyAF.Core.Interval<T>Interval1` instance and a quantity, calculates the total output per hour.
Syntax
Parameters
Returns
Type:System.Decimal
The total output per hour as a decimal value.
Exceptions
Examples
PerMinute Override
Calculates the monetary amount per minute based on this money interval.Syntax
Returns
Type:System.Decimal
The amount of money per minute as a decimal value.
PerMinute Override
Calculates the total monetary amount per minute based on this money interval and a quantity multiplier.Syntax
Parameters
Returns
Type:System.Decimal
The total amount of money per minute as a decimal value.
Examples
PerMinute Inherited Virtual
Inherited from
CloudNimble.EasyAF.Core.Interval<T>Interval1` instance, calculates how many occurrences will happen per minute.
Syntax
Returns
Type:System.Decimal
The number of occurrences per minute as a decimal value.
Exceptions
Remarks
If you need this as a whole number, wrap the result in Decimal).PerMinute Inherited Virtual
Inherited from
CloudNimble.EasyAF.Core.Interval<T>Interval1` instance and a quantity, calculates the total output per minute.
Syntax
Parameters
Returns
Type:System.Decimal
The total output per minute as a decimal value.
Exceptions
Examples
PerMonth Override
Calculates the monetary amount per month based on this money interval.Syntax
Returns
Type:System.Decimal
The amount of money per month as a decimal value.
PerMonth Override
Calculates the total monetary amount per month based on this money interval and a quantity multiplier.Syntax
Parameters
Returns
Type:System.Decimal
The total amount of money per month as a decimal value.
Examples
PerMonth Inherited Virtual
Inherited from
CloudNimble.EasyAF.Core.Interval<T>Interval1` instance, calculates how many occurrences will happen per month.
Syntax
Returns
Type:System.Decimal
The number of occurrences per month as a decimal value.
Exceptions
PerMonth Inherited Virtual
Inherited from
CloudNimble.EasyAF.Core.Interval<T>Interval1` instance and a quantity, calculates the total output per month.
Syntax
Parameters
Returns
Type:System.Decimal
The total output per month as a decimal value.
Exceptions
Examples
PerWeek Override
Calculates the monetary amount per week based on this money interval.Syntax
Returns
Type:System.Decimal
The amount of money per week as a decimal value.
PerWeek Override
Calculates the total monetary amount per week based on this money interval and a quantity multiplier.Syntax
Parameters
Returns
Type:System.Decimal
The total amount of money per week as a decimal value.
Examples
PerWeek Inherited Virtual
Inherited from
CloudNimble.EasyAF.Core.Interval<T>Interval1` instance, calculates how many occurrences will happen per week.
Syntax
Returns
Type:System.Decimal
The number of occurrences per week as a decimal value.
Exceptions
PerWeek Inherited Virtual
Inherited from
CloudNimble.EasyAF.Core.Interval<T>Interval1` instance and a quantity, calculates the total output per week.
Syntax
Parameters
Returns
Type:System.Decimal
The total output per week as a decimal value.
Exceptions
Examples
PerYear Override
Calculates the monetary amount per year based on this money interval.Syntax
Returns
Type:System.Decimal
The amount of money per year as a decimal value.
PerYear Override
Calculates the total monetary amount per year based on this money interval and a quantity multiplier.Syntax
Parameters
Returns
Type:System.Decimal
The total amount of money per year as a decimal value.
Examples
PerYear Inherited Virtual
Inherited from
CloudNimble.EasyAF.Core.Interval<T>Interval1` instance, calculates how many occurrences will happen per year.
Syntax
Returns
Type:System.Decimal
The number of occurrences per year as a decimal value.
Exceptions
PerYear Inherited Virtual
Inherited from
CloudNimble.EasyAF.Core.Interval<T>Interval1` instance and a quantity, calculates the total output per year.
Syntax
Parameters
Returns
Type:System.Decimal
The total output per year as a decimal value.
Exceptions
Examples
ReferenceEquals Inherited
Inherited from
objectSyntax
Parameters
Returns
Type:bool
ToString Override
Syntax
Returns
Type:string
ToString
Returns a string representation of the money interval with the specified number of decimal places for the currency value.Syntax
Parameters
Returns
Type:string
A formatted string showing the money amount per interval period.
ToString Override
Inherited from
CloudNimble.EasyAF.Core.Interval<T>Syntax
Returns
Type:string
ToString Inherited Virtual
Inherited from
objectSyntax
Returns
Type:string?