コード例 #1
0
ファイル: EmailLog.cs プロジェクト: wuhaiying83/EMR
        public override void ReadData(BinaryReaderExtension objBinaryReader)
        {
            base.ReadData(objBinaryReader);

            SmtpClient        = objBinaryReader.ReadTransportableObject <SmtpClient>();
            DefaulMailMessage = objBinaryReader.ReadTransportableObject <MailMessage>();
        }
コード例 #2
0
        public override void ReadData(BinaryReaderExtension objBinaryReader)
        {
            base.ReadData(objBinaryReader);

            Binding         = objBinaryReader.ReadTransportableObject <IWcfBinding>();
            EndpointAddress = objBinaryReader.ReadTransportableObject <WcfEndpointAddress>();
            Priority        = objBinaryReader.ReadInt32();
        }
コード例 #3
0
        public override void ReadData(BinaryReaderExtension objBinaryReader)
        {
            base.ReadData(objBinaryReader);

            ApplicationManager.Logs     = objBinaryReader.ReadTransportableObject <LogManager>();
            ApplicationManager.Settings = objBinaryReader.ReadTransportableObject <SettingsManager>();
            ApplicationManager.FilePath = objBinaryReader.ReadString();
        }
コード例 #4
0
        public override void ReadData(BinaryReaderExtension objBinaryReader)
        {
            base.ReadData(objBinaryReader);

            UploadRequest = objBinaryReader.ReadTransportableObject <UploadRequest>();
            Result        = (TaskResultType)objBinaryReader.ReadByte();
            UploadStats   = objBinaryReader.ReadTransportableObject <UploadStats>();
            Details       = objBinaryReader.ReadString();
        }
コード例 #5
0
ファイル: JobResult.cs プロジェクト: wuhaiying83/EMR
        public override void ReadData(BinaryReaderExtension objBinaryReader)
        {
            base.ReadData(objBinaryReader);

            Job         = objBinaryReader.ReadTransportableObject <Job>();
            StartTime   = objBinaryReader.ReadDateTime();
            EndTime     = objBinaryReader.ReadDateTime();
            Result      = (JobResultType)objBinaryReader.ReadByte();
            TaskResults = objBinaryReader.ReadTransportableObject <TaskResultList>();
        }
コード例 #6
0
ファイル: LogManager.cs プロジェクト: wuhaiying83/EMR
        public override void ReadData(BinaryReaderExtension objBinaryReader)
        {
            base.ReadData(objBinaryReader);

            InternalFileLog = objBinaryReader.ReadTransportableObject <FileLog>();
            Logs            = objBinaryReader.ReadTransportableObject <LogBaseCollection>();

            SyncObject         = null;
            ActiveMessageTypes = null;

            RegisterLogs();
        }
コード例 #7
0
        public override void ReadData(BinaryReaderExtension objBinaryReader)
        {
            base.ReadData(objBinaryReader);

            Behavior   = objBinaryReader.ReadTransportableObject <WcfServiceBehavior>();
            Throttling = objBinaryReader.ReadTransportableObject <WcfServiceThrottling>();

            string strType = objBinaryReader.ReadString();

            Type = System.Type.GetType(strType);

            BaseAddresses    = objBinaryReader.ReadTransportableObject <ListBase <string> >();
            ServiceEndpoints = objBinaryReader.ReadTransportableObject <WcfServiceEndpointList>();
            MetadataEndpoint = objBinaryReader.ReadTransportableObject <WcfMetadataEndpoint>();
        }
コード例 #8
0
        public override void ReadData(BinaryReaderExtension objBinaryReader)
        {
            base.ReadData(objBinaryReader);

            Url         = objBinaryReader.ReadString();
            Credentials = objBinaryReader.ReadTransportableObject <Credentials>();
        }
コード例 #9
0
        public override void ReadData(BinaryReaderExtension objBinaryReader)
        {
            base.ReadData(objBinaryReader);

            Enabled      = objBinaryReader.ReadBoolean();
            MessageTypes = objBinaryReader.ReadTransportableObject <MessageTypeCollection>();
        }
コード例 #10
0
ファイル: TaskStats.cs プロジェクト: wuhaiying83/EMR
        public override void ReadData(BinaryReaderExtension objBinaryReader)
        {
            base.ReadData(objBinaryReader);

            Task      = objBinaryReader.ReadTransportableObject <ITask>();
            StartTime = objBinaryReader.ReadDateTime();
            EndTime   = objBinaryReader.ReadDateTime();
        }
コード例 #11
0
ファイル: Job.cs プロジェクト: wuhaiying83/EMR
        public override void ReadData(BinaryReaderExtension objBinaryReader)
        {
            base.ReadData(objBinaryReader);

            _strName   = objBinaryReader.ReadString();
            _enuStatus = (JobStatusType)objBinaryReader.ReadByte();
            _objTasks  = objBinaryReader.ReadTransportableObject <ITaskList>();
        }
コード例 #12
0
        public override void ReadData(BinaryReaderExtension objBinaryReader)
        {
            base.ReadData(objBinaryReader);

            Source      = objBinaryReader.ReadString();
            Destination = objBinaryReader.ReadString();
            Credentials = objBinaryReader.ReadTransportableObject <Credentials>();
            TimeOut     = objBinaryReader.ReadInt32();
        }
コード例 #13
0
ファイル: UploadStats.cs プロジェクト: wuhaiying83/EMR
        public override void ReadData(BinaryReaderExtension objBinaryReader)
        {
            base.ReadData(objBinaryReader);

            Size          = objBinaryReader.ReadInt64();
            BytesSent     = objBinaryReader.ReadInt64();
            StartTime     = objBinaryReader.ReadDateTime();
            EndTime       = objBinaryReader.ReadDateTime();
            UploadRequest = objBinaryReader.ReadTransportableObject <UploadRequest>();
        }
コード例 #14
0
        public override void ReadData(BinaryReaderExtension objBinaryReader)
        {
            base.ReadData(objBinaryReader);

            From       = objBinaryReader.ReadString();
            Subject    = objBinaryReader.ReadString();
            IsBodyHtml = objBinaryReader.ReadBoolean();
            Body       = objBinaryReader.ReadString();
            DeliveryNotificationOptions = (NetMail.DeliveryNotificationOptions)objBinaryReader.ReadByte();
            To = objBinaryReader.ReadTransportableObject <ListBase <string> >();
        }
コード例 #15
0
        public override void ReadData(BinaryReaderExtension objBinaryReader)
        {
            base.ReadData(objBinaryReader);

            string strType = objBinaryReader.ReadString();

            Type = System.Type.GetType(strType);

            Binding = objBinaryReader.ReadTransportableObject <IWcfBinding>();
            Address = objBinaryReader.ReadString();
        }
コード例 #16
0
ファイル: ProxySettings.cs プロジェクト: wuhaiying83/EMR
        public override void ReadData(BinaryReaderExtension objBinaryReader)
        {
            base.ReadData(objBinaryReader);

            Enabled               = objBinaryReader.ReadBoolean();
            Address               = objBinaryReader.ReadString();
            Port                  = objBinaryReader.ReadInt32();
            Credentials           = objBinaryReader.ReadTransportableObject <Credentials>();
            BypassProxyOnLocal    = objBinaryReader.ReadBoolean();
            UseDefaultCredentials = objBinaryReader.ReadBoolean();
        }
コード例 #17
0
ファイル: SmtpClient.cs プロジェクト: wuhaiying83/EMR
        public override void ReadData(BinaryReaderExtension objBinaryReader)
        {
            base.ReadData(objBinaryReader);

            Host                  = objBinaryReader.ReadString();
            Port                  = objBinaryReader.ReadInt32();
            EnableSsl             = objBinaryReader.ReadBoolean();
            TimeOut               = objBinaryReader.ReadInt32();
            DeliveryMethod        = (NetMail.SmtpDeliveryMethod)objBinaryReader.ReadByte();
            UseDefaultCredentials = objBinaryReader.ReadBoolean();
            Credentials           = objBinaryReader.ReadTransportableObject <Credentials>();
        }
コード例 #18
0
ファイル: WcfNetTcpBinding.cs プロジェクト: wuhaiying83/EMR
        public override void ReadData(BinaryReaderExtension objBinaryReader)
        {
            base.ReadData(objBinaryReader);

            CloseTimeout           = objBinaryReader.ReadTimeSpan();
            OpenTimeout            = objBinaryReader.ReadTimeSpan();
            ReceiveTimeout         = objBinaryReader.ReadTimeSpan();
            SendTimeout            = objBinaryReader.ReadTimeSpan();
            HostNameComparisonMode = objBinaryReader.ReadEnum <HostNameComparisonMode>();
            MaxBufferPoolSize      = objBinaryReader.ReadInt64();
            MaxReceivedMessageSize = objBinaryReader.ReadInt64();
            PortSharingEnabled     = objBinaryReader.ReadBoolean();
            TransactionFlow        = objBinaryReader.ReadBoolean();
            MaxBufferSize          = objBinaryReader.ReadInt32();
            MaxConnections         = objBinaryReader.ReadInt32();
            ListenBacklog          = objBinaryReader.ReadInt32();
            TransferMode           = objBinaryReader.ReadEnum <TransferMode>();
            SecurityMode           = objBinaryReader.ReadEnum <SecurityMode>();
            MessageEncoding        = objBinaryReader.ReadEnum <WSMessageEncoding>();
            ReaderQuotas           = objBinaryReader.ReadTransportableObject <WcfReaderQuotas>();
            ReliableSession        = objBinaryReader.ReadTransportableObject <WcfOptionalReliableSession>();
        }
コード例 #19
0
        public override void ReadData(BinaryReaderExtension objBinaryReader)
        {
            base.ReadData(objBinaryReader);

            Hash             = objBinaryReader.ReadString();
            Name             = objBinaryReader.ReadString();
            Description      = objBinaryReader.ReadString();
            ProductId        = objBinaryReader.ReadString();
            ProcessorId      = objBinaryReader.ReadString();
            SerialNumber     = objBinaryReader.ReadString();
            ArchitectureType = (ComputerProcessorArchitectureType)objBinaryReader.ReadByte();
            VersionString    = objBinaryReader.ReadString();
            ServicePack      = objBinaryReader.ReadString();
            Version          = objBinaryReader.ReadTransportableObject <VersionToken>();
        }
コード例 #20
0
        public override void ReadData(BinaryReaderExtension objBinaryReader)
        {
            /// Do not execute the base class method.  We will handle the reading at
            /// this level to better control performance.
            ///
            Initialize();

            int intCount = objBinaryReader.ReadInt32();

            for (int intIndex = 0; intIndex < intCount; intIndex++)
            {
                TObjectBase objChildObject = objBinaryReader.ReadTransportableObject <TObjectBase>();
                Add(objChildObject);
            }
        }
コード例 #21
0
        public override void ReadData(BinaryReaderExtension objBinaryReader)
        {
            base.ReadData(objBinaryReader);

            CloseTimeout           = objBinaryReader.ReadTimeSpan();
            OpenTimeout            = objBinaryReader.ReadTimeSpan();
            ReceiveTimeout         = objBinaryReader.ReadTimeSpan();
            SendTimeout            = objBinaryReader.ReadTimeSpan();
            HostNameComparisonMode = objBinaryReader.ReadEnum <HostNameComparisonMode>();
            MaxBufferSize          = objBinaryReader.ReadInt32();
            MaxBufferPoolSize      = objBinaryReader.ReadInt64();
            MaxReceivedMessageSize = objBinaryReader.ReadInt64();
            MessageEncoding        = objBinaryReader.ReadEnum <WSMessageEncoding>();
            SecurityMode           = objBinaryReader.ReadEnum <BasicHttpSecurityMode>();
            TransferMode           = objBinaryReader.ReadEnum <TransferMode>();
            ReaderQuotas           = objBinaryReader.ReadTransportableObject <WcfReaderQuotas>();
        }