public void Add(AspNetCore.ReportingServices.ReportProcessing.DataSource dataSourceDef) { try { if (this.m_lockAdd) { Monitor.Enter(this.m_collection); } if (!this.m_collection.ContainsKey(dataSourceDef.Name)) { this.m_collection.Add(dataSourceDef.Name, new DataSourceImpl(dataSourceDef)); } } finally { if (this.m_lockAdd) { Monitor.Exit(this.m_collection); } } }
public DataSourceImpl(AspNetCore.ReportingServices.ReportProcessing.DataSource dataSourceDef) { this.m_dataSource = dataSourceDef; }