Class YearOnYearInflationSwapConventionRecord
- Namespace
- NanoQL.Extensions.Conventions
- Assembly
- NanoQL.Extensions.dll
A year-on-year inflation swap's conventions (YearOnYearInflationSwapConvention), which feed
YearOnYearInflationSwapHelper.
public sealed record YearOnYearInflationSwapConventionRecord : ConventionRecord, IEquatable<ConventionRecord>, IEquatable<YearOnYearInflationSwapConventionRecord>
- Inheritance
-
YearOnYearInflationSwapConventionRecord
- Implements
- Inherited Members
Constructors
YearOnYearInflationSwapConventionRecord(string, string?)
Initializes a new instance of the YearOnYearInflationSwapConventionRecord class.
public YearOnYearInflationSwapConventionRecord(string name, string? @base = null)
Parameters
Properties
Calendar
Gets the calendar's name, or null to take the base's.
public string? Calendar { get; init; }
Property Value
DayCounter
Gets the day counter's name, or null to take the base's.
public string? DayCounter { get; init; }
Property Value
EqualityContract
protected override Type EqualityContract { get; }
Property Value
Index
Gets the year-on-year inflation index's name, or null to take the base's.
public string? Index { get; init; }
Property Value
Interpolation
Gets how the index is observed, or null to take the base's.
public CPIInterpolationType? Interpolation { get; init; }
Property Value
ObservationLag
Gets the observation lag, or null to take the base's.
public Period? ObservationLag { get; init; }
Property Value
PaymentConvention
Gets the payment convention, or null to take the base's.
public BusinessDayConvention? PaymentConvention { get; init; }
Property Value
Methods
Equals(ConventionRecord?)
public override sealed bool Equals(ConventionRecord? other)
Parameters
otherConventionRecord
Returns
Equals(YearOnYearInflationSwapConventionRecord?)
public bool Equals(YearOnYearInflationSwapConventionRecord? other)
Parameters
Returns
Equals(object?)
public override bool Equals(object? obj)
Parameters
objobject
Returns
GetHashCode()
public override int GetHashCode()
Returns
PrintMembers(StringBuilder)
protected override bool PrintMembers(StringBuilder builder)
Parameters
builderStringBuilder
Returns
ToString()
public override string ToString()
Returns
Operators
operator ==(YearOnYearInflationSwapConventionRecord?, YearOnYearInflationSwapConventionRecord?)
public static bool operator ==(YearOnYearInflationSwapConventionRecord? left, YearOnYearInflationSwapConventionRecord? right)
Parameters
Returns
operator !=(YearOnYearInflationSwapConventionRecord?, YearOnYearInflationSwapConventionRecord?)
public static bool operator !=(YearOnYearInflationSwapConventionRecord? left, YearOnYearInflationSwapConventionRecord? right)