LogEntryDeserializer.cs source code in C# .NET

Source code for the .NET framework in C#

                        

Code:

/ WCF / WCF / 3.5.30729.1 / untmp / Orcas / SP / ndp / cdf / src / WCF / TransactionBridge / Microsoft / Transactions / Wsat / Recovery / LogEntryDeserializer.cs / 1 / LogEntryDeserializer.cs

                            //------------------------------------------------------------------------------ 
// Copyright (c) Microsoft Corporation.  All rights reserved.
//-----------------------------------------------------------------------------

// This file contains the abstract base class for all log entry deserializers 

using System; 
using System.IO; 
using System.ServiceModel;
using System.Xml; 

using Microsoft.Transactions.Wsat.Messaging;
using Microsoft.Transactions.Wsat.Protocol;
 
namespace Microsoft.Transactions.Wsat.Recovery
{ 
    abstract class LogEntryDeserializer 
    {
        protected MemoryStream mem; 
        protected LogEntry entry;

        protected LogEntryDeserializer(MemoryStream mem, LogEntry entry)
        { 
            this.entry = entry;
            this.mem = mem; 
        } 

        protected abstract void DeserializeExtended(); 

        public LogEntry Deserialize()
        {
            DeserializeExtended(); 
            return this.entry;
        } 
    } 
}

// File provided for Reference Use Only by Microsoft Corporation (c) 2007.
// Copyright (c) Microsoft Corporation. All rights reserved.
                        

Link Menu

Network programming in C#, Network Programming in VB.NET, Network Programming in .NET
This book is available now!
Buy at Amazon US or
Buy at Amazon UK