Class BindingCostModel
Namespace: DotBoxD.Kernels.Bindings
Assembly: DotBoxD.Kernels.dll
public sealed record BindingCostModel : IEquatable<BindingCostModel>Inheritance
Section titled “Inheritance”Implements
Section titled “Implements”Inherited Members
Section titled “Inherited Members”object.Equals(object?), object.Equals(object?, object?), object.GetHashCode(), object.GetType(), object.ReferenceEquals(object?, object?), object.ToString()
Constructors
Section titled “Constructors”BindingCostModel(long, long, bool, int?)
Section titled “ BindingCostModel(long, long, bool, int?)”public BindingCostModel(long BaseFuel, long PerByteFuel = 0, bool AllocationFromReturnBytes = false, int? MaxCallsPerRun = null)Parameters
Section titled “Parameters”BaseFuel long
PerByteFuel long
AllocationFromReturnBytes bool
MaxCallsPerRun int?
Properties
Section titled “Properties”AllocationFromReturnBytes
Section titled “ AllocationFromReturnBytes”public bool AllocationFromReturnBytes { get; init; }Property Value
Section titled “Property Value”BaseFuel
Section titled “ BaseFuel”public long BaseFuel { get; init; }Property Value
Section titled “Property Value”MaxCallsPerRun
Section titled “ MaxCallsPerRun”public int? MaxCallsPerRun { get; init; }Property Value
Section titled “Property Value”int?
PerByteFuel
Section titled “ PerByteFuel”public long PerByteFuel { get; init; }Property Value
Section titled “Property Value”Methods
Section titled “Methods”Fixed(long)
Section titled “ Fixed(long)”public static BindingCostModel Fixed(long baseFuel)Parameters
Section titled “Parameters”baseFuel long
Returns
Section titled “Returns”PerByte(long, long)
Section titled “ PerByte(long, long)”public static BindingCostModel PerByte(long baseFuel, long perByteFuel)Parameters
Section titled “Parameters”baseFuel long
perByteFuel long
Returns
Section titled “Returns”PerReturnedByte(long, long)
Section titled “ PerReturnedByte(long, long)”public static BindingCostModel PerReturnedByte(long baseFuel, long perByteFuel)Parameters
Section titled “Parameters”baseFuel long
perByteFuel long