Class FinancingCollection
- Namespace
- Balsam.MoneyManagement
- Assembly
- Balsam.Backtester.dll
A collection of financing objects controlling how interest is debited/credited.
public class FinancingCollection : ICollection<Financing>, IEnumerable<Financing>, IEnumerable
- Inheritance
-
FinancingCollection
- Implements
- Inherited Members
- Extension Methods
Properties
Count
Returns the number of elements in the collection.
public int Count { get; }
Property Value
IsEnabled
Gets/sets whether financing is enabled globally.
public bool IsEnabled { get; set; }
Property Value
IsReadOnly
Returns false.
protected bool IsReadOnly { get; }
Property Value
RiskFreeRate
Gets/sets the risk free rate. Null is equivalent to a risk free rate of zero.
public Financing RiskFreeRate { get; set; }
Property Value
Methods
Add(Financing)
Adds the specified item to the end of the collection.
public void Add(Financing item)
Parameters
item
Financing
Clear()
Removes all elements from the collection.
public void Clear()
Contains(Financing)
Determines whether the specified item is in the collection.
public bool Contains(Financing item)
Parameters
item
Financing
Returns
CopyTo(Financing[], int)
Copies the collection to an array.
protected void CopyTo(Financing[] array, int arrayIndex)
Parameters
GetEnumerator()
Returns an enumerator that iterates through the collection.
public IEnumerator<Financing> GetEnumerator()
Returns
Remove(Financing)
Removes the first occurence of the specified item from the collection.
public bool Remove(Financing item)
Parameters
item
Financing
Returns
ToString()
Returns a string representation of this object.
public override string ToString()