예제 #1
0
 /// <inheritdoc />
 public Portfolio LookupByPortfolioName(string name)
 {
     return(_portfolios.TryGetValue(name) ?? _underlying.LookupByPortfolioName(name));
 }
예제 #2
0
 /// <inheritdoc />
 public override Portfolio CreatePortfolio(string name)
 {
     return(_portfolioProvider.LookupByPortfolioName(name) ?? base.CreatePortfolio(name));
 }