Skip to content

Commit

Permalink
Adding IDisposable to ClientBase<TChannel>
Browse files Browse the repository at this point in the history
  • Loading branch information
mconnew committed Jul 19, 2017
1 parent 7dc4184 commit 39de30d
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -107,7 +107,7 @@ protected ChannelFactory(System.Type channelType) { }
public virtual TChannel CreateChannel(System.ServiceModel.EndpointAddress address, System.Uri via) { return default(TChannel); }
protected override System.ServiceModel.Description.ServiceEndpoint CreateDescription() { return default(System.ServiceModel.Description.ServiceEndpoint); }
}
public abstract partial class ClientBase<TChannel> : System.ServiceModel.ICommunicationObject where TChannel : class
public abstract partial class ClientBase<TChannel> : System.IDisposable, System.ServiceModel.ICommunicationObject where TChannel : class
{
protected ClientBase() { }
protected ClientBase(System.ServiceModel.Channels.Binding binding, System.ServiceModel.EndpointAddress remoteAddress) { }
Expand Down Expand Up @@ -139,6 +139,7 @@ void System.ServiceModel.ICommunicationObject.EndClose(System.IAsyncResult resul
void System.ServiceModel.ICommunicationObject.EndOpen(System.IAsyncResult result) { }
void System.ServiceModel.ICommunicationObject.Open() { }
void System.ServiceModel.ICommunicationObject.Open(System.TimeSpan timeout) { }
void System.IDisposable.Dispose() { }
protected delegate System.IAsyncResult BeginOperationDelegate(object[] inValues, System.AsyncCallback asyncCallback, object state);
protected partial class ChannelBase<T> : System.IDisposable, System.ServiceModel.Channels.IChannel, System.ServiceModel.Channels.IOutputChannel, System.ServiceModel.Channels.IRequestChannel, System.ServiceModel.IClientChannel, System.ServiceModel.ICommunicationObject, System.ServiceModel.IContextChannel, System.ServiceModel.IExtensibleObject<System.ServiceModel.IContextChannel> where T : class
{
Expand Down

0 comments on commit 39de30d

Please sign in to comment.