1#if !NETFX_PHONE && !NETCORE && !NETSTANDARD2_0 && !NET5_0
25 where C : System.ServiceModel.ClientBase<T>
28 private static object _lock =
new object();
30 private string _name =
string.Empty;
47 ApplicationContext.LocalContext[name] = mgr;
56 _client = (C)(Reflection.MethodCaller.CreateInstance(typeof(C)));
Provides an automated way to reuse a service client proxy objects within the context of a single data...
static ServiceClientManager< C, T > GetManager(string name)
Gets the client proxy object for the specified name.
C Client
Gets a reference to the current client proxy object.