private void LoadComponents() { foreach (var host in appConfig.hosts) { Hosts.Add(ComponentFactory.CreateHostComponent(appConfig, host)); } foreach (var comp in appConfig.components) { if (comp is ForgeComponentType) { Forges.Add(ComponentFactory.CreateForgeComponent(appConfig, comp as ForgeComponentType)); } else if (comp is DgidxComponentType) { dgidx = ComponentFactory.CreateDgidxComponent(appConfig, comp as DgidxComponentType); } else if (comp is DgraphComponentType) { Dgraphs.Add(ComponentFactory.CreateDgraphComponent(appConfig, comp as DgraphComponentType)); } else if (comp is LogServerComponentType) { logServer = ComponentFactory.CreateLogServerComponent(appConfig, comp as LogServerComponentType); } } }
public void AddAggregationFunction(AggregationMultiFunctionDeclarationContext declarationContext) { Forges.Add(this); FunctionDeclContexts.Add(declarationContext); }
public SupportAggMFMultiRTForge() { Forges.Add(this); }