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(); }
internal LocalReport(ILocalProcessingHost processingHost) { m_processingHost = processingHost; m_dataSources = new ReportDataSourceCollection(m_syncObject); Construct(); }
public void CopySecuritySettingsFrom(ILocalProcessingHost sourceProcessingHost) { LocalService localService = (LocalService)sourceProcessingHost; this.m_reportRuntimeSetupHandler = localService.m_reportRuntimeSetupHandler; }