Table of Contents

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 IPortfolioProvider

The provider of information about portfolios.

Properties

Instance

Instance.

public static PortfolioDataSource Instance { get; }

Property Value

PortfolioDataSource

Portfolios

All portfolios.

public IEnumerable<Portfolio> Portfolios { get; }

Property Value

IEnumerable<Portfolio>

Methods

Add(Portfolio)

Add portfolio.

public void Add(Portfolio portfolio)

Parameters

portfolio Portfolio

Portfolio.

AddRange(IEnumerable<Portfolio>)

Add portfolios.

public void AddRange(IEnumerable<Portfolio> portfolios)

Parameters

portfolios IEnumerable<Portfolio>

Portfolios.

DisposeManaged()

protected override void DisposeManaged()