private IRemoteFileStorage CreateServiceProxy(RemoteStreamContext context) { IRemoteFileStorage result = null; if (!string.IsNullOrEmpty(context.ServiceGroup)) { result = ServiceProxyProviderFactory.GetProvider(context.ServiceGroup, FMPServiceProxyProviderManager.RemoteFileStorageServiceName) as IRemoteFileStorage; } return(result); }
public static void Refresh() { ServiceProxyProviderFactory.Refresh(FMPUtility.DefaultGroupName); }
public static IServiceProxyProvider CreateInstance(string providerName) { return(ServiceProxyProviderFactory.CreateProvider(FMPUtility.DefaultGroupName, providerName)); }