private void GetTreeClassifiedDefinitions(MarketDataDefinition root, out MarketDataDefinition[] rawDefinitions, out MarketDataDefinition[] ripeDefinitions) { var rawDefs = new List <MarketDataDefinition>(); var ripeDefs = new List <MarketDataDefinition>(); foreach (var marketDataDefinition in root.GetDependencies()) { MarketDataDefinition[] childrenRaw; MarketDataDefinition[] childrenRipe; GetTreeClassifiedDefinitions(marketDataDefinition, out childrenRaw, out childrenRipe); rawDefs.AddRange(childrenRaw); ripeDefs.AddRange(childrenRipe); if (marketDataDefinition.GetDependencies().Length == 0) { rawDefs.Add(marketDataDefinition); } else { ripeDefs.Add(marketDataDefinition); } } rawDefinitions = rawDefs.ToArray(); ripeDefinitions = ripeDefs.ToArray(); }
public virtual void RemoveDependencies(MarketDataDefinition mergeData) { }