Definition
Assembly: CloudNimble.EasyAF.Core.dll Namespace: CloudNimble.EasyAF.Core Inheritance: CloudNimble.EasyAF.Core.Interval<T>Syntax
Summary
Represents a percentage rate that occurs at regular time intervals, enabling conversion between different time periods. This class combines a base time interval (from theInterval1` class) with a percentage rate to calculate
total percentage amounts across different time periods.
Remarks
<strong>Key Concepts:</strong> <strong>Method Types:</strong> <strong>Common Use Cases:</strong>Examples
Constructors
.ctor
Initializes a new instance of thePercentageInterval1` class with default values.
Syntax
.ctor
Initializes a new instance of thePercentageInterval1` class with the specified interval value and type.
Syntax
Parameters
.ctor
Initializes a new instance of thePercentageInterval1` class with the specified rate, 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
Rate
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 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 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 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 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 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 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
RatePerDay
Calculates the total percentage rate per day based on the interval and rate. This method multiplies the interval frequency (how many intervals occur per day) by the rate value.Syntax
Returns
Type:System.Decimal
The total rate value per day as a decimal.
Examples
RatePerDay
Calculates the total percentage rate per day for a given principal amount based on the interval and rate.Syntax
Parameters
Returns
Type:System.Decimal
The total rate value per day as a decimal.
Examples
RatePerHour
Calculates the total percentage rate per hour based on the interval and rate. This method multiplies the interval frequency (how many intervals occur per hour) by the rate value.Syntax
Returns
Type:System.Decimal
The total rate value per hour as a decimal.
Examples
RatePerHour
Calculates the total percentage rate per hour for a given principal amount based on the interval and rate.Syntax
Parameters
Returns
Type:System.Decimal
The total rate value per hour as a decimal.
Examples
RatePerMinute
Calculates the total percentage rate per minute based on the interval and rate. This method multiplies the interval frequency (how many intervals occur per minute) by the rate value.Syntax
Returns
Type:System.Decimal
The total rate value per minute as a decimal.
Examples
RatePerMinute
Calculates the total percentage rate per minute for a given principal amount based on the interval and rate.Syntax
Parameters
Returns
Type:System.Decimal
The total rate value per minute as a decimal.
Examples
RatePerMonth
Calculates the total percentage rate per month based on the interval and rate. This method multiplies the interval frequency (how many intervals occur per month) by the rate value.Syntax
Returns
Type:System.Decimal
The total rate value per month as a decimal.
Examples
RatePerMonth
Calculates the total percentage rate per month for a given principal amount based on the interval and rate.Syntax
Parameters
Returns
Type:System.Decimal
The total rate value per month as a decimal.
Examples
RatePerWeek
Calculates the total percentage rate per week based on the interval and rate. This method multiplies the interval frequency (how many intervals occur per week) by the rate value.Syntax
Returns
Type:System.Decimal
The total rate value per week as a decimal.
Examples
RatePerWeek
Calculates the total percentage rate per week for a given principal amount based on the interval and rate.Syntax
Parameters
Returns
Type:System.Decimal
The total rate value per week as a decimal.
Examples
RatePerYear
Calculates the total percentage rate per year based on the interval and rate. This method multiplies the interval frequency (how many intervals occur per year) by the rate value.Syntax
Returns
Type:System.Decimal
The total rate value per year as a decimal.
Examples
RatePerYear
Calculates the total percentage rate per year for a given principal amount based on the interval and rate.Syntax
Parameters
Returns
Type:System.Decimal
The total rate value per year as a decimal.
Examples
ReferenceEquals Inherited
Inherited from
objectSyntax
Parameters
Returns
Type:bool
ToString Override
Inherited from
CloudNimble.EasyAF.Core.Interval<T>Syntax
Returns
Type:string
ToString Inherited Virtual
Inherited from
objectSyntax
Returns
Type:string?