Class PortfolioDataSource
- Namespace
- StockSharp.Xaml
- Assembly
- StockSharp.Xaml.dll
Data source for portfolio based controls.
public class PortfolioDataSource : Disposable
- Inheritance
-
PortfolioDataSource
- Extension Methods
Constructors
PortfolioDataSource()
Initializes a new instance of the PortfolioDataSource.
public PortfolioDataSource()
PortfolioDataSource(IPortfolioProvider)
Initializes a new instance of the PortfolioDataSource.
public PortfolioDataSource(IPortfolioProvider provider)
Parameters
provider
IPortfolioProviderThe provider of information about portfolios.
Properties
Instance
Instance.
public static PortfolioDataSource Instance { get; }
Property Value
Portfolios
All portfolios.
public IEnumerable<Portfolio> Portfolios { get; }
Property Value
Methods
Add(Portfolio)
Add portfolio.
public void Add(Portfolio portfolio)
Parameters
portfolio
PortfolioPortfolio.
AddRange(IEnumerable<Portfolio>)
Add portfolios.
public void AddRange(IEnumerable<Portfolio> portfolios)
Parameters
portfolios
IEnumerable<Portfolio>Portfolios.
DisposeManaged()
protected override void DisposeManaged()