30 lines
693 B
C#
30 lines
693 B
C#
|
//-----------------------------------------------------------------------------
|
||
|
// Copyright (c) Microsoft Corporation. All rights reserved.
|
||
|
//-----------------------------------------------------------------------------
|
||
|
namespace System.ServiceModel.Channels
|
||
|
{
|
||
|
using System;
|
||
|
|
||
|
public abstract class MessageEncoderFactory
|
||
|
{
|
||
|
protected MessageEncoderFactory()
|
||
|
{
|
||
|
}
|
||
|
|
||
|
public abstract MessageEncoder Encoder
|
||
|
{
|
||
|
get;
|
||
|
}
|
||
|
|
||
|
public abstract MessageVersion MessageVersion
|
||
|
{
|
||
|
get;
|
||
|
}
|
||
|
|
||
|
public virtual MessageEncoder CreateSessionEncoder()
|
||
|
{
|
||
|
return Encoder;
|
||
|
}
|
||
|
}
|
||
|
}
|