Example #1
0
 internal LocalReport(SerializationInfo info, StreamingContext context)
 {
     base.DisplayName           = info.GetString("DisplayName");
     m_reportPath               = info.GetString("ReportPath");
     m_reportEmbeddedResource   = info.GetString("ReportEmbeddedResource");
     m_embeddedResourceAssembly = (Assembly)info.GetValue("EmbeddedResourceAssembly", typeof(Assembly));
     m_dataSources              = (ReportDataSourceCollection)info.GetValue("DataSources", typeof(ReportDataSourceCollection));
     m_dataSources.SetSyncObject(m_syncObject);
     m_processingHost           = (ILocalProcessingHost)info.GetValue("ControlService", typeof(ILocalProcessingHost));
     base.DrillthroughDepth     = info.GetInt32("DrillthroughDepth");
     m_enableExternalImages     = info.GetBoolean("EnableExternalImages");
     m_enableHyperlinks         = info.GetBoolean("EnableHyperlinks");
     m_parentSuppliedParameters = (NameValueCollection)info.GetValue("ParentSuppliedParameters", typeof(NameValueCollection));
     Construct();
 }
Example #2
0
 internal LocalReport(ILocalProcessingHost processingHost)
 {
     m_processingHost = processingHost;
     m_dataSources    = new ReportDataSourceCollection(m_syncObject);
     Construct();
 }
 internal DataSourceCollectionWrapper(ReportDataSourceCollection dsCollection)
 {
     m_dsCollection = dsCollection;
 }