18 lines
628 B
C#
18 lines
628 B
C#
|
//-----------------------------------------------------------------------------
|
||
|
// Copyright (c) Microsoft Corporation. All rights reserved.
|
||
|
//-----------------------------------------------------------------------------
|
||
|
|
||
|
namespace System.ServiceModel.Dispatcher
|
||
|
{
|
||
|
using System;
|
||
|
using System.ServiceModel.Channels;
|
||
|
using System.ServiceModel;
|
||
|
|
||
|
public interface IInstanceProvider
|
||
|
{
|
||
|
object GetInstance(InstanceContext instanceContext);
|
||
|
object GetInstance(InstanceContext instanceContext, Message message);
|
||
|
void ReleaseInstance(InstanceContext instanceContext, object instance);
|
||
|
}
|
||
|
}
|