2 types derived from ChannelFactory
System.ServiceModel.Federation (1)
System\ServiceModel\Federation\WSTrustChannelFactory.cs (1)
14public class WSTrustChannelFactory : ChannelFactory<IWSTrustChannelContract>
System.ServiceModel.Primitives (1)
System\ServiceModel\DuplexChannelFactory.cs (1)
12public class DuplexChannelFactory<TChannel> : ChannelFactory<TChannel>
298 instantiations of ChannelFactory
Binding.Custom.IntegrationTests (3)
CustomBindingTests.4.0.0.cs (1)
27factory = new ChannelFactory<IWcfService>(binding, new EndpointAddress(Endpoints.DefaultCustomHttp_Address));
CustomBindingTests.4.1.0.cs (2)
35factory = new ChannelFactory<IWcfService>(binding, new EndpointAddress(new Uri(Endpoints.Tcp_CustomBinding_SslStreamSecurity_Address), endpointIdentity)); 73factory = new ChannelFactory<IWcfService>(binding, new EndpointAddress(Endpoints.HttpsSoap12_Address));
Binding.Http.IntegrationTests (15)
BasicHttpBindingTests.4.0.0.cs (9)
36factory = new ChannelFactory<IWcfService>(binding); 76factory = new ChannelFactory<IWcfService>(customBinding, new EndpointAddress(Endpoints.HttpBaseAddress_Basic + Enum.GetName(typeof(WSMessageEncoding), messageEncoding))); 112factory = new ChannelFactory<IWcfService>(binding, new EndpointAddress(Endpoints.HttpBaseAddress_Basic + Enum.GetName(typeof(WSMessageEncoding), messageEncoding))); 158factory = new ChannelFactory<IWcfService>(binding, new EndpointAddress(Endpoints.HttpBaseAddress_Basic + Enum.GetName(typeof(WSMessageEncoding), messageEncoding))); 214factory = new ChannelFactory<IWcfService>(binding, new EndpointAddress(Endpoints.HttpBaseAddress_Basic + Enum.GetName(typeof(WSMessageEncoding), messageEncoding))); 254factory = new ChannelFactory<IWcfService>(binding, new EndpointAddress(Endpoints.HttpBaseAddress_Basic + Enum.GetName(typeof(WSMessageEncoding), messageEncoding))); 298factory = new ChannelFactory<IWcfService>(binding, new EndpointAddress(Endpoints.HttpBaseAddress_Basic_Text)); 346factory = new ChannelFactory<IWcfDecompService>(customBinding, new EndpointAddress(Endpoints.HttpBaseAddress_BasicDecomp)); 386factory = new ChannelFactory<MtomBindingTestHelper.IMtomStreamingService>(
NetHttpBindingTests.4.0.0.cs (1)
28factory = new ChannelFactory<IWcfService>(binding, new EndpointAddress(Endpoints.HttpBaseAddress_NetHttp + Enum.GetName(typeof(NetHttpMessageEncoding), messageEncoding)));
NetHttpsBindingTests.4.1.0.cs (3)
31factory = new ChannelFactory<IWcfService>(netHttpsBinding, new EndpointAddress(Endpoints.HttpBaseAddress_NetHttps + Enum.GetName(typeof(NetHttpMessageEncoding), messageEncoding))); 68factory = new ChannelFactory<IWcfService>(netHttpsBinding, new EndpointAddress(Endpoints.HttpBaseAddress_NetHttps_Binary)); 97factory = new ChannelFactory<IWcfService>(netHttpsBinding, new EndpointAddress(Endpoints.HttpBaseAddress_NetHttps_Binary));
OperationContextTests.cs (1)
41factory = new ChannelFactory<IWcfService>(binding, new EndpointAddress(Endpoints.HttpBaseAddress_Basic_Text));
WSHttpBindingTests.cs (1)
27factory = new ChannelFactory<IWcfService>(binding, new EndpointAddress(Endpoints.WSHttpBindingBaseAddress + Enum.GetName(typeof(WSMessageEncoding), messageEncoding)));
Binding.ReliableSession.IntegrationTests (14)
NetHttpBindingTests.cs (6)
37factory = new ChannelFactory<IWcfReliableService>(customBinding, new EndpointAddress(Endpoints.ReliableSession_NetHttp + endpointSuffix)); 75factory = new ChannelFactory<IOneWayWcfReliableService>(customBinding, new EndpointAddress(Endpoints.ReliableOneWaySession_NetHttp + endpointSuffix)); 111factory = new ChannelFactory<IWcfReliableService>(customBinding, new EndpointAddress(Endpoints.ReliableSession_NetHttp + endpointSuffix)); 195factory = new ChannelFactory<IWcfReliableService>(customBinding, new EndpointAddress(Endpoints.ReliableSession_NetHttp + endpointSuffix)); 277factory = new ChannelFactory<IWcfReliableService>(customBinding, new EndpointAddress(Endpoints.ReliableSession_NetHttp + endpointSuffix)); 366factory = new ChannelFactory<IWcfReliableService>(customBinding, new EndpointAddress(Endpoints.ReliableSession_NetHttp + endpointSuffix));
NetTcpBindingTests.cs (2)
32factory = new ChannelFactory<IWcfReliableService>(customBinding, new EndpointAddress(Endpoints.ReliableSession_NetTcp + endpointSuffix)); 69factory = new ChannelFactory<IOneWayWcfReliableService>(customBinding, new EndpointAddress(Endpoints.ReliableOneWaySession_NetTcp + endpointSuffix));
WSHttpBindingTests.cs (6)
37factory = new ChannelFactory<IWcfReliableService>(customBinding, new EndpointAddress(Endpoints.ReliableSession_WSHttp + endpointSuffix)); 75factory = new ChannelFactory<IOneWayWcfReliableService>(customBinding, new EndpointAddress(Endpoints.ReliableOneWaySession_WSHttp + endpointSuffix)); 111factory = new ChannelFactory<IWcfReliableService>(customBinding, new EndpointAddress(Endpoints.ReliableSession_WSHttp + endpointSuffix)); 195factory = new ChannelFactory<IWcfReliableService>(customBinding, new EndpointAddress(Endpoints.ReliableSession_WSHttp + endpointSuffix)); 277factory = new ChannelFactory<IWcfReliableService>(customBinding, new EndpointAddress(Endpoints.ReliableSession_WSHttp + endpointSuffix)); 366factory = new ChannelFactory<IWcfReliableService>(customBinding, new EndpointAddress(Endpoints.ReliableSession_WSHttp + endpointSuffix));
Binding.Tcp.IntegrationTests (9)
NetTcpBindingTests.4.0.0.cs (5)
27factory = new ChannelFactory<IWcfService>(binding, new EndpointAddress(Endpoints.Tcp_NoSecurity_Address)); 60factory = new ChannelFactory<IWcfServiceGenerated>(binding, new EndpointAddress(Endpoints.Tcp_NoSecurity_Address)); 98factory = new ChannelFactory<IWcfService>(binding, new EndpointAddress(Endpoints.Tcp_NoSecurity_Address)); 139factory = new ChannelFactory<IWcfService>(binding, new EndpointAddress(Endpoints.Tcp_NoSecurity_Address)); 181factory = new ChannelFactory<IWcfServiceGenerated>(binding, new EndpointAddress(Endpoints.Tcp_Streamed_NoSecurity_Address));
NetTcpBindingTests.4.1.0.cs (2)
29factory = new ChannelFactory<IWcfService>(binding, new EndpointAddress(Endpoints.Tcp_DefaultBinding_Address)); 66factory = new ChannelFactory<IWcfService>(binding, new EndpointAddress(Endpoints.Tcp_DefaultBinding_Address));
OperationContextAsyncFlowTests.cs (2)
28factory = new ChannelFactory<IWcfService>(binding, new EndpointAddress(Endpoints.Tcp_DefaultBinding_Address)); 63factory = new ChannelFactory<IWcfService>(binding, new EndpointAddress(Endpoints.Tcp_DefaultBinding_Address));
Binding.UDS.IntegrationTests (5)
UDSBindingTests.cs (5)
44factory = new System.ServiceModel.ChannelFactory<IEchoService>(binding, 79factory = new System.ServiceModel.ChannelFactory<IEchoService>(binding, 115var factory = new System.ServiceModel.ChannelFactory<IEchoService>(binding, 159factory = new System.ServiceModel.ChannelFactory<IEchoService>(binding, 194factory = new System.ServiceModel.ChannelFactory<IEchoService>(binding,
Binding.WS.FederationHttp.IntegrationTests (3)
WSFederationHttpBindingTests.cs (3)
54factory = new ChannelFactory<IWcfService>(federationBinding, serviceEndpointAddress); 105factory = new ChannelFactory<IWcfService>(federationBinding, serviceEndpointAddress); 156factory = new ChannelFactory<IWcfService>(federationBinding, serviceEndpointAddress);
Client.ChannelLayer.IntegrationTests (1)
DuplexChannelWithSynchronizationContext.cs (1)
235factory = new ChannelFactory<IWcfService>(binding, new EndpointAddress(Endpoints.Tcp_NoSecurity_Address));
Client.ClientBase.IntegrationTests (3)
ClientBaseTests.4.1.0.cs (2)
20var factory = new ChannelFactory<IWcfAspNetCompatibleService>( 63var factory = new ChannelFactory<IWcfAspNetCompatibleService>(
SessionTests.cs (1)
217return new ChannelFactory<T>(binding, helloEndpoint);
Client.ExpectedExceptions.IntegrationTests (17)
ExpectedExceptionTests.4.0.0.cs (6)
33factory = new ChannelFactory<IWcfService>(binding, endpointAddress); 74factory = new ChannelFactory<IWcfService>(binding, endpointAddress); 121factory = new ChannelFactory<IWcfService>(binding, endpointAddress); 163factory = new ChannelFactory<IWcfService>(binding, endpointAddress); 198factory = new ChannelFactory<IWcfService>(binding, endpointAddress); 259factory = new ChannelFactory<IWcfService>(binding, new EndpointAddress(Endpoints.HttpBaseAddress_Basic_Text));
ExpectedExceptionTests.4.1.0.cs (10)
34factory = new ChannelFactory<IWcfService>(binding, endpointAddress); 71setupHostFactory = new ChannelFactory<IWcfService>(binding, new EndpointAddress(Endpoints.HttpBaseAddress_Basic_Text)); 104factory = new ChannelFactory<IWcfRestartService>(binding, new EndpointAddress(restartServiceAddress)); 132factory = new ChannelFactory<IWcfRestartService>(binding, new EndpointAddress(restartServiceAddress)); 166factory = new ChannelFactory<IWcfService>(binding, endpointAddress); 204factory = new ChannelFactory<IWcfService>(binding, endpointAddress); 347factory = new ChannelFactory<IWcfService>(binding, endpointAddress); 389factory = new ChannelFactory<IWcfService>(binding, endpointAddress); 436factory = new ChannelFactory<IWcfService>(binding, endpointAddress); 509factory = new ChannelFactory<IWcfService>(binding, new EndpointAddress(Endpoints.HttpBaseAddress_Basic_Text));
ExpectedExceptionTests.4.1.1.cs (1)
34factory = new ChannelFactory<IWcfService>(binding, endpointAddress);
Client.TypedClient.IntegrationTests (8)
TypedProxyTests.4.0.0.cs (8)
132factory = new ChannelFactory<IWcfServiceGenerated>(customBinding, endpointAddress); 184factory = new ChannelFactory<IWcfServiceGenerated>(customBinding, endpointAddress); 235factory = new ChannelFactory<IRequestChannel>(customBinding, endpointAddress); 299factory = new ChannelFactory<IRequestChannel>(customBinding, endpointAddress); 363factory = new ChannelFactory<IRequestChannel>(customBinding, endpointAddress); 461factory = new ChannelFactory<IWcfServiceBeginEndGenerated>(binding, endpointAddress); 507factory = new ChannelFactory<IWcfServiceBeginEndGenerated>(binding, endpointAddress); 548factory = new ChannelFactory<IWcfServiceGenerated>(binding, endpointAddress);
Contract.Data.IntegrationTests (2)
DataContractTests.4.0.0.cs (1)
35factory = new ChannelFactory<IWcfService>(customBinding, endpointAddress);
DataContractTests.4.1.1.cs (1)
26factory = new ChannelFactory<IDataContractResolverService>(new BasicHttpBinding(), new EndpointAddress(Endpoints.DataContractResolver_Address));
Contract.Fault.IntegrationTests (7)
FaultExceptionTests.4.0.0.cs (7)
29factory = new ChannelFactory<IWcfService>(binding, new EndpointAddress(Endpoints.HttpBaseAddress_Basic_Text)); 63factory = new ChannelFactory<IWcfService>(binding, endpointAddress); 97factory = new ChannelFactory<IWcfService>(binding, new EndpointAddress(Endpoints.HttpBaseAddress_Basic_Text)); 134factory = new ChannelFactory<IWcfService>(binding, new EndpointAddress(Endpoints.HttpBaseAddress_Basic_Text)); 171factory = new ChannelFactory<IWcfService>(binding, new EndpointAddress(Endpoints.HttpBaseAddress_Basic_Text)); 208factory = new ChannelFactory<IWcfService>(binding, new EndpointAddress(Endpoints.HttpBaseAddress_Basic_Text)); 241factory = new ChannelFactory<IWcfService>(binding, new EndpointAddress(Endpoints.HttpBaseAddress_Basic_Text));
Contract.Message.IntegrationTests (5)
MessageContractCommon.4.1.0.cs (1)
48ChannelFactory<IMessageContract> factory = new ChannelFactory<IMessageContract>(binding, new EndpointAddress(Endpoints.HttpBaseAddress_Basic_Text));
MessageContractTests.4.4.0.cs (2)
26factory = new ChannelFactory<IWcfService_4_4_0>(binding, new EndpointAddress(Endpoints.HttpBaseAddress_4_4_0_Basic)); 98factory = new ChannelFactory<IWcfService_4_4_0>(binding, new EndpointAddress(Endpoints.HttpBaseAddress_4_4_0_Basic));
MessageContractTests.cs (1)
37factory = new ChannelFactory<IUnderstoodHeaders>(binding, new EndpointAddress(Endpoints.UnderstoodHeaders));
MessageTests.4.0.0.cs (1)
72factory = new ChannelFactory<IWcfService>(binding, new EndpointAddress(Endpoints.HttpBaseAddress_Basic_Text));
Contract.Service.IntegrationTests (29)
ServiceContractTests.4.0.0.cs (10)
33factory = new ChannelFactory<IServiceContractIntOutService>(binding, new EndpointAddress(Endpoints.ServiceContractAsyncIntOut_Address)); 80factory = new ChannelFactory<IServiceContractUniqueTypeOutService>(binding, new EndpointAddress(Endpoints.ServiceContractAsyncUniqueTypeOut_Address)); 126factory = new ChannelFactory<IServiceContractIntRefService>(binding, new EndpointAddress(Endpoints.ServiceContractAsyncIntRef_Address)); 174factory = new ChannelFactory<IServiceContractUniqueTypeRefService>(binding, new EndpointAddress(Endpoints.ServiceContractAsyncUniqueTypeRef_Address)); 222factory = new ChannelFactory<IServiceContractUniqueTypeOutSyncService>(binding, new EndpointAddress(Endpoints.ServiceContractSyncUniqueTypeOut_Address)); 268factory = new ChannelFactory<IServiceContractUniqueTypeRefSyncService>(binding, new EndpointAddress(Endpoints.ServiceContractSyncUniqueTypeRef_Address)); 304factory = new ChannelFactory<IWcfService>(binding, new EndpointAddress(Endpoints.HttpBaseAddress_Basic_Text)); 356factory = new ChannelFactory<IWcfService>(binding, new EndpointAddress(Endpoints.HttpBaseAddress_Basic_Text)); 410factory = new ChannelFactory<IWcfService>(binding, new EndpointAddress(Endpoints.HttpBaseAddress_Basic_Text)); 459factory = new ChannelFactory<IWcfService>(binding, new EndpointAddress(Endpoints.HttpBaseAddress_Basic_Text));
ServiceContractTests.4.1.0.cs (18)
35factory = new ChannelFactory<IWcfService>(binding, new EndpointAddress(Endpoints.HttpBaseAddress_Basic_Text)); 72factory = new ChannelFactory<IWcfService>(binding, new EndpointAddress(Endpoints.HttpBaseAddress_Basic_Text)); 107factory = new ChannelFactory<IWcfService>(binding, new EndpointAddress(Endpoints.HttpBaseAddress_Basic_Text)); 143factory = new ChannelFactory<IWcfService>(binding, new EndpointAddress(Endpoints.HttpBaseAddress_Basic_Text)); 180factory = new ChannelFactory<IWcfService>(binding, new EndpointAddress(Endpoints.HttpBaseAddress_Basic_Text)); 248factory = new ChannelFactory<IWcfService>(binding, new EndpointAddress(Endpoints.HttpBaseAddress_Basic_Text)); 310factory = new ChannelFactory<IWcfService>(binding, new EndpointAddress(Endpoints.HttpBaseAddress_Basic_Text)); 365factory = new ChannelFactory<IWcfService>(binding, new EndpointAddress(Endpoints.Tcp_NoSecurity_Address)); 402factory = new ChannelFactory<IWcfService>(binding, new EndpointAddress(Endpoints.Tcp_Streamed_NoSecurity_Address)); 437factory = new ChannelFactory<IWcfService>(binding, new EndpointAddress(Endpoints.Tcp_Streamed_NoSecurity_Address)); 473factory = new ChannelFactory<IWcfService>(binding, new EndpointAddress(Endpoints.Tcp_Streamed_NoSecurity_Address)); 510factory = new ChannelFactory<IWcfService>(binding, new EndpointAddress(Endpoints.Tcp_Streamed_NoSecurity_Address)); 547factory = new ChannelFactory<IWcfService>(binding, new EndpointAddress(Endpoints.Tcp_Streamed_NoSecurity_Address)); 584factory = new ChannelFactory<IWcfService>(binding, new EndpointAddress(Endpoints.Tcp_Streamed_NoSecurity_Address)); 649factory = new ChannelFactory<IWcfServiceGenerated>(customBinding, new EndpointAddress(Endpoints.DefaultCustomHttp_Address)); 692factory = new ChannelFactory<IWcfService>(binding, new EndpointAddress(Endpoints.HttpBaseAddress_Basic_Text)); 782factory = new ChannelFactory<IWcfService>(binding, new EndpointAddress(Endpoints.HttpBaseAddress_Basic_Text)); 872factory = new ChannelFactory<IWcfService>(binding, new EndpointAddress(Endpoints.HttpBaseAddress_Basic_Text));
ServiceKnownTypeTests.4.0.0.cs (1)
94var factory = new ChannelFactory<ServiceContractType>(binding, endpointAddress);
Contract.XmlSerializer.IntegrationTests (24)
XmlSerializerFormatSoapTest.cs (1)
92factory = new ChannelFactory<IWcfSoapService>(binding, endpointAddress);
XmlSerializerFormatTest.4.0.0.cs (9)
22ChannelFactory<IWcfServiceXmlGenerated> factory = new ChannelFactory<IWcfServiceXmlGenerated>(binding, endpointAddress); 35ChannelFactory<IWcfServiceXmlGenerated> factory = new ChannelFactory<IWcfServiceXmlGenerated>(binding, endpointAddress); 48ChannelFactory<IWcfServiceXmlGenerated> factory = new ChannelFactory<IWcfServiceXmlGenerated>(binding, endpointAddress); 73ChannelFactory<IWcfServiceXmlGenerated> factory = new ChannelFactory<IWcfServiceXmlGenerated>(binding, endpointAddress); 86ChannelFactory<IWcfServiceXmlGenerated> factory = new ChannelFactory<IWcfServiceXmlGenerated>(binding, endpointAddress); 102ChannelFactory<IWcfServiceXmlGenerated> factory = new ChannelFactory<IWcfServiceXmlGenerated>(binding, endpointAddress); 122ChannelFactory<ILoginService> factory = new ChannelFactory<ILoginService>(binding, endpointAddress); 160ChannelFactory<IWcfServiceXmlGenerated> factory = new ChannelFactory<IWcfServiceXmlGenerated>(binding, endpointAddress); 197ChannelFactory<ISameNamespaceWithIWcfServiceXmlGenerated> factory = new ChannelFactory<ISameNamespaceWithIWcfServiceXmlGenerated>(binding, endpointAddress);
XmlSerializerFormatTest.4.1.0.cs (2)
20var factory = new ChannelFactory<IXmlMessageContarctTestService>(binding, endpointAddress); 47var factory = new ChannelFactory<IXmlMessageContarctTestService>(binding, endpointAddress);
XmlSerializerFormatTest.cs (12)
78factory = new ChannelFactory<IXmlSFAttribute>(binding, endpointAddress); 138factory1 = new ChannelFactory<ICalculatorRpcEnc>(binding, endpointAddress); 170factory1 = new ChannelFactory<ICalculatorRpcEnc>(binding, endpointAddress); 218factory1 = new ChannelFactory<ICalculatorRpcLit>(binding, endpointAddress); 266factory1 = new ChannelFactory<ICalculatorDocLit>(binding, endpointAddress); 316factory1 = new ChannelFactory<ICalculatorRpcEnc>(binding, endpointAddress); 318factory2 = new ChannelFactory<IHelloWorldRpcEnc>(binding, endpointAddress); 373factory1 = new ChannelFactory<ICalculatorRpcLit>(binding, endpointAddress); 375factory2 = new ChannelFactory<IHelloWorldRpcLit>(binding, endpointAddress); 430factory1 = new ChannelFactory<ICalculatorDocLit>(binding, endpointAddress); 432factory2 = new ChannelFactory<IHelloWorldDocLit>(binding, endpointAddress); 488factory1 = new ChannelFactory<IEchoRpcEncWithHeadersService>(binding, endpointAddress);
dotnet-svcutil.xmlserializer.IntegrationTests (24)
src\System.Private.ServiceModel\tests\Scenarios\Contract\XmlSerializer\XmlSerializerFormatSoapTest.cs (1)
92factory = new ChannelFactory<IWcfSoapService>(binding, endpointAddress);
src\System.Private.ServiceModel\tests\Scenarios\Contract\XmlSerializer\XmlSerializerFormatTest.4.0.0.cs (9)
22ChannelFactory<IWcfServiceXmlGenerated> factory = new ChannelFactory<IWcfServiceXmlGenerated>(binding, endpointAddress); 35ChannelFactory<IWcfServiceXmlGenerated> factory = new ChannelFactory<IWcfServiceXmlGenerated>(binding, endpointAddress); 48ChannelFactory<IWcfServiceXmlGenerated> factory = new ChannelFactory<IWcfServiceXmlGenerated>(binding, endpointAddress); 73ChannelFactory<IWcfServiceXmlGenerated> factory = new ChannelFactory<IWcfServiceXmlGenerated>(binding, endpointAddress); 86ChannelFactory<IWcfServiceXmlGenerated> factory = new ChannelFactory<IWcfServiceXmlGenerated>(binding, endpointAddress); 102ChannelFactory<IWcfServiceXmlGenerated> factory = new ChannelFactory<IWcfServiceXmlGenerated>(binding, endpointAddress); 122ChannelFactory<ILoginService> factory = new ChannelFactory<ILoginService>(binding, endpointAddress); 160ChannelFactory<IWcfServiceXmlGenerated> factory = new ChannelFactory<IWcfServiceXmlGenerated>(binding, endpointAddress); 197ChannelFactory<ISameNamespaceWithIWcfServiceXmlGenerated> factory = new ChannelFactory<ISameNamespaceWithIWcfServiceXmlGenerated>(binding, endpointAddress);
src\System.Private.ServiceModel\tests\Scenarios\Contract\XmlSerializer\XmlSerializerFormatTest.4.1.0.cs (2)
20var factory = new ChannelFactory<IXmlMessageContarctTestService>(binding, endpointAddress); 47var factory = new ChannelFactory<IXmlMessageContarctTestService>(binding, endpointAddress);
src\System.Private.ServiceModel\tests\Scenarios\Contract\XmlSerializer\XmlSerializerFormatTest.cs (12)
78factory = new ChannelFactory<IXmlSFAttribute>(binding, endpointAddress); 138factory1 = new ChannelFactory<ICalculatorRpcEnc>(binding, endpointAddress); 170factory1 = new ChannelFactory<ICalculatorRpcEnc>(binding, endpointAddress); 218factory1 = new ChannelFactory<ICalculatorRpcLit>(binding, endpointAddress); 266factory1 = new ChannelFactory<ICalculatorDocLit>(binding, endpointAddress); 316factory1 = new ChannelFactory<ICalculatorRpcEnc>(binding, endpointAddress); 318factory2 = new ChannelFactory<IHelloWorldRpcEnc>(binding, endpointAddress); 373factory1 = new ChannelFactory<ICalculatorRpcLit>(binding, endpointAddress); 375factory2 = new ChannelFactory<IHelloWorldRpcLit>(binding, endpointAddress); 430factory1 = new ChannelFactory<ICalculatorDocLit>(binding, endpointAddress); 432factory2 = new ChannelFactory<IHelloWorldDocLit>(binding, endpointAddress); 488factory1 = new ChannelFactory<IEchoRpcEncWithHeadersService>(binding, endpointAddress);
Encoding.Encoders.IntegrationTests (5)
BinaryEncodingTests.4.0.0.cs (2)
33factory = new ChannelFactory<IWcfService>(binding, endpointAddress); 71factory = new ChannelFactory<IWcfService>(binding, endpointAddress);
TextEncodingTests.4.0.0.cs (1)
33factory = new ChannelFactory<IWcfService>(binding, endpointAddress);
TextEncodingTests.4.1.0.cs (2)
27factory = new ChannelFactory<IWcfService>(binding, new EndpointAddress(Endpoints.HttpBaseAddress_Basic_Text)); 60factory = new ChannelFactory<IWcfService>(binding, new EndpointAddress(Endpoints.HttpBaseAddress_Basic_Text));
Encoding.MessageVersion.IntegrationTests (7)
MessageVersionTests.4.0.0.cs (2)
32factory = new ChannelFactory<IWcfService>(binding, endpointAddress); 68factory = new ChannelFactory<IWcfService>(binding, endpointAddress);
MessageVersionTests.cs (5)
32factory = new ChannelFactory<IWcfService>(binding, endpointAddress); 68factory = new ChannelFactory<IWcfService>(binding, endpointAddress); 104factory = new ChannelFactory<IWcfService>(binding, endpointAddress); 140factory = new ChannelFactory<IWcfService>(binding, endpointAddress); 176factory = new ChannelFactory<IWcfService>(binding, endpointAddress);
Extensibility.MessageEncoder.IntegrationTests (2)
TextTests.4.1.0.cs (2)
39channelFactory = new ChannelFactory<IWcfService>(binding, new EndpointAddress(Endpoints.CustomTextEncoderBuffered_Address)); 83factory = new ChannelFactory<IWcfService>(binding, new EndpointAddress(Endpoints.CustomTextEncoderStreamed_Address));
Extensibility.MessageInterceptor.IntegrationTests (1)
MessageInterceptorTests.4.1.1.cs (1)
48factory = new ChannelFactory<IWcfChannelExtensibilityContract>(binding, new EndpointAddress(Endpoints.HttpBaseAddress_ChannelExtensibility));
Extensibility.WebSockets.IntegrationTests (6)
WebSocketTests.4.1.0.cs (6)
441channelFactory = new ChannelFactory<IWSRequestReplyService>(binding, endpointAddress); 506channelFactory = new ChannelFactory<IWSRequestReplyService>(binding, endpointAddress); 560channelFactory = new ChannelFactory<IWSRequestReplyService>(binding, endpointAddress); 616channelFactory = new ChannelFactory<IWSRequestReplyService>(binding, endpointAddress); 672channelFactory = new ChannelFactory<IWSRequestReplyService>(binding, endpointAddress); 843channelFactory = new ChannelFactory<IVerifyWebSockets>(binding, new EndpointAddress(Endpoints.WebSocketHttpVerifyWebSocketsUsed_Address));
Microsoft.Svcutil.NamedPipeMetadataImporter (1)
NamedPipeMetadataImporter.cs (1)
37ChannelFactory<IMetadataExchange> factory = new ChannelFactory<IMetadataExchange>(CreateNamedPipeBinding(), new EndpointAddress(uri.AbsoluteUri));
ScenarioTests.Common.Tests (2)
ScenarioTestHelpers.cs (2)
69factory = new ChannelFactory<IWcfService>(binding, new EndpointAddress(address)); 101ChannelFactory<IWcfService> factory = new ChannelFactory<IWcfService>(binding, new EndpointAddress(address));
Security.TransportSecurity.IntegrationTests (55)
Http\ClientCredentialTypeTests.4.1.0.cs (2)
29factory = new ChannelFactory<IWcfService>(binding, new EndpointAddress(Endpoints.Http_DigestAuth_NoDomain_Address)); 90factory = new ChannelFactory<IWcfService>(binding, new EndpointAddress(Endpoints.Http_DigestAuth_NoDomain_Address));
Https\ClientCredentialTypeTests.4.1.0.cs (3)
49factory = new ChannelFactory<IWcfCustomUserNameService>(basicHttpBinding, endpointAddress); 124factory = new ChannelFactory<IWcfCustomUserNameService>(basicHttpBinding, endpointAddress); 184factory = new ChannelFactory<IWcfCustomUserNameService>(basicHttpBinding, endpointAddress);
Https\HttpsTests.4.1.0.cs (12)
41factory = new ChannelFactory<IWcfService>(basicHttpsBinding, new EndpointAddress(Endpoints.Https_DefaultBinding_Address + Enum.GetName(typeof(WSMessageEncoding), messageEncoding))); 83ChannelFactory<IWcfService> factory = new ChannelFactory<IWcfService>(binding, new EndpointAddress(Endpoints.Https_DefaultBinding_Address_Text)); 122ChannelFactory<IWcfService> factory = new ChannelFactory<IWcfService>(binding, new EndpointAddress(Endpoints.HttpsSoap12_Address)); 161ChannelFactory<IWcfService> factory = new ChannelFactory<IWcfService>(binding, new EndpointAddress(Endpoints.HttpsSoap11_Address)); 200ChannelFactory<IWcfService> factory = new ChannelFactory<IWcfService>(binding, new EndpointAddress(Endpoints.HttpsSoap12_Address)); 245factory = new ChannelFactory<IWcfService>(binding, endpointAddress); 292factory = new ChannelFactory<IWcfService>(binding, endpointAddress); 333factory = new ChannelFactory<IWcfService>(binding, endpointAddress); 374factory = new ChannelFactory<IWcfService>(basicHttpsBinding, endpointAddress); 423factory = new ChannelFactory<IWcfService>(basicHttpsBinding, endpointAddress); 484factory = new ChannelFactory<IWcfService>(binding, endpointAddress); 543factory = new ChannelFactory<IWcfService>(binding, endpointAddress);
Https\HttpsTests.4.1.1.cs (4)
41factory = new ChannelFactory<IWcfService>(binding, endpointAddress); 92factory = new ChannelFactory<IWcfService>(binding, endpointAddress); 150factory = new ChannelFactory<IWcfService>(binding, endpointAddress); 195factory = new ChannelFactory<IWcfService>(binding, endpointAddress);
Negotiate\NegotiateStream_Http_Tests.4.1.0.cs (7)
78factory = new ChannelFactory<IWcfService>( 131factory = new ChannelFactory<IWcfService>( 183factory = new ChannelFactory<IWcfService>( 232factory = new ChannelFactory<IWcfService>( 276factory = new ChannelFactory<IWcfService>( 328factory = new ChannelFactory<IWcfService>( 378factory = new ChannelFactory<IWcfService>(
Negotiate\NegotiateStream_Tcp_Tests.4.1.0.cs (6)
72factory = new ChannelFactory<IWcfService>(binding, new EndpointAddress(Endpoints.Tcp_DefaultBinding_Address)); 115factory = new ChannelFactory<IWcfService>(binding, 161factory = new ChannelFactory<IWcfService>(binding, 201factory = new ChannelFactory<IWcfService>( 252factory = new ChannelFactory<IWcfService>( 299factory = new ChannelFactory<IWcfService>(
Tcp\ClientCredentialTypeCertificateCanonicalNameTests.4.1.0.cs (3)
46factory = new ChannelFactory<IWcfService>(binding, endpointAddress); 122factory = new ChannelFactory<IWcfService>(binding, endpointAddress); 207factory = new ChannelFactory<IWcfService>(binding, endpointAddress);
Tcp\ClientCredentialTypeTests.4.1.0.cs (3)
37factory = new ChannelFactory<IWcfService>(binding, endpointAddress); 86factory = new ChannelFactory<IWcfService>(binding, endpointAddress); 136factory = new ChannelFactory<IWcfService>(binding, endpointAddress);
Tcp\ClientCredentialTypeTests.4.1.1.cs (4)
42factory = new ChannelFactory<IWcfService>(binding, endpointAddress); 92factory = new ChannelFactory<IWcfService>(binding, endpointAddress); 149factory = new ChannelFactory<IWcfService>(binding, endpointAddress); 195factory = new ChannelFactory<IWcfService>(binding, endpointAddress);
Tcp\ClientCredentialTypeTests.OSX.cs (1)
68factory = new ChannelFactory<IWcfService>(binding, endpointAddress);
Tcp\IdentityTests.4.1.0.cs (1)
30ChannelFactory<IWcfService> factory = new ChannelFactory<IWcfService>(binding, endpointAddress);
Tcp\IdentityTests.4.1.1.cs (1)
30ChannelFactory<IWcfService> factory = new ChannelFactory<IWcfService>(binding, endpointAddress);
Tcp\StreamingTests.4.1.0.cs (8)
40factory = new ChannelFactory<IWcfService>(binding, new EndpointAddress(Endpoints.Tcp_Transport_Security_Streamed_Address)); 81factory = new ChannelFactory<IWcfService>(binding, new EndpointAddress(Endpoints.Tcp_Transport_Security_Streamed_Address)); 122factory = new ChannelFactory<IWcfService>(binding, new EndpointAddress(Endpoints.Tcp_Transport_Security_Streamed_Address)); 164factory = new ChannelFactory<IWcfService>(binding, new EndpointAddress(Endpoints.Tcp_Transport_Security_Streamed_Address)); 216factory = new ChannelFactory<IWcfService>(binding, new EndpointAddress(Endpoints.Tcp_Transport_Security_Streamed_Address)); 274factory = new ChannelFactory<IWcfService>(binding, new EndpointAddress(Endpoints.Tcp_Transport_Security_Streamed_Address)); 316factory = new ChannelFactory<IWcfService>(binding, new EndpointAddress(Endpoints.Tcp_Transport_Security_Streamed_Address)); 358factory = new ChannelFactory<IWcfService>(binding, new EndpointAddress(Endpoints.Tcp_Transport_Security_Streamed_Address));
System.ServiceModel.Federation (1)
System\ServiceModel\Federation\WSTrustChannelSecurityTokenProvider.cs (1)
477var channelFactory = new ChannelFactory<IRequestChannel>(IssuerBinding, WSTrustTokenParameters.IssuerAddress);
System.ServiceModel.Http.Tests (3)
ServiceModel\BasicHttpsBindingTest.cs (1)
72var factory = new ChannelFactory<IWcfService>(binding, new EndpointAddress(FakeAddress.HttpsAddress));
ServiceModel\HttpIdentityTests.cs (2)
18var factory = new ChannelFactory<IService>(binding, endpointAddress); 30var factory = new ChannelFactory<IService>(binding, endpointAddress);
System.ServiceModel.Primitives (6)
System\ServiceModel\ChannelFactory.cs (2)
551ChannelFactory<TChannel> channelFactory = new ChannelFactory<TChannel>(binding, endpointAddress); 565ChannelFactory<TChannel> channelFactory = new ChannelFactory<TChannel>(binding);
System\ServiceModel\ClientBase.cs (2)
79_channelFactoryRef = new ChannelFactoryRef<TChannel>(new ChannelFactory<TChannel>(binding, remoteAddress)); 101_channelFactoryRef = new ChannelFactoryRef<TChannel>(new ChannelFactory<TChannel>(endpoint));
System\ServiceModel\ProgrammaticEndpointTrait.cs (1)
85return new ChannelFactory<TChannel>(_binding, _remoteAddress);
System\ServiceModel\ServiceEndpointTrait.cs (1)
69return new ChannelFactory<TChannel>(_serviceEndpoint);
System.ServiceModel.Primitives.Tests (39)
Channels\BehaviorExtensionTest.cs (2)
29var factory = new ChannelFactory<IBehaviorExtensionServerInterface>(binding, address); 62var factory = new ChannelFactory<IBehaviorExtensionServerInterface2>(binding, address);
Channels\CustomChannelTest.cs (12)
57var factory = new ChannelFactory<ICustomChannelServiceInterface>(binding, address); 148var factory = new ChannelFactory<ICustomChannelServiceInterface>(binding, address); 241var factory = new ChannelFactory<ICustomChannelServiceInterface>(binding, address); 292var factory = new ChannelFactory<ICustomChannelServiceInterface>(binding, address); 349var factory = new ChannelFactory<ICustomChannelServiceInterface>(binding, address); 408var factory = new ChannelFactory<ICustomChannelServiceInterface>(binding, address); 446var factory = new ChannelFactory<ICustomChannelServiceInterface>(binding, address); 486var factory = new ChannelFactory<ICustomChannelServiceInterface>(binding, address); 537var factory = new ChannelFactory<ICustomChannelServiceInterface>(binding, address); 588var factory = new ChannelFactory<ICustomChannelServiceInterface>(binding, address); 640var factory = new ChannelFactory<ICustomChannelServiceInterface>(binding, address); 693var factory = new ChannelFactory<ICustomChannelServiceInterface>(binding, address);
Description\ContractDescriptionTest.cs (1)
179ChannelFactory<IDuplexHello> factory = new ChannelFactory<IDuplexHello>(binding, address);
Description\OperationBehaviorTest.cs (1)
51ChannelFactory<IXmlTestingType> factory = new ChannelFactory<IXmlTestingType>(binding, new EndpointAddress(baseAddress));
Description\OperationContractAttributeTest.cs (1)
56return new ChannelFactory<T>(binding, helloEndpoint);
ServiceModel\ChannelFactoryTest.cs (10)
34factory = new ChannelFactory<IRequestChannel>(binding, endpointAddress); 35factory2 = new ChannelFactory<IRequestChannel>(binding, endpointAddress); 91factory = new ChannelFactory<IRequestChannel>(binding, endpointAddress); 92factory2 = new ChannelFactory<IRequestChannel>(binding, endpointAddress); 146factory = new ChannelFactory<IRequestChannel>(binding, endpointAddress); 189factory = new ChannelFactory<IWcfServiceGenerated>(binding, new EndpointAddress(FakeAddress.HttpAddress)); 217factory = new ChannelFactory<IRequestChannel>(binding, new EndpointAddress(FakeAddress.HttpAddress)); 247factory = new ChannelFactory<IWcfService>( 282factory = new ChannelFactory<IWcfService>( 311factory = new ChannelFactory<IWcfService>(
ServiceModel\ClientBaseTest.cs (4)
55ChannelFactory<ITestService> tempFactory = new ChannelFactory<ITestService>(binding, endpointAddress); 105ChannelFactory<ITestService2> tempFactory = new ChannelFactory<ITestService2>(binding, endpointAddress); 113tempFactory = new ChannelFactory<ITestService2>(binding, endpointAddress); 161ChannelFactory<ITestService3> tempFactory = new ChannelFactory<ITestService3>(binding, endpointAddress);
ServiceModel\DeliveryRequirementsTest.cs (6)
18var factory = new ChannelFactory<IReliableOrderedRequired>(binding, endpointAddress); 28var factory = new ChannelFactory<IReliableOrderedRequired>(binding, endpointAddress); 38var factory = new ChannelFactory<IReliableOrderedNotRequired>(binding, endpointAddress); 48var factory = new ChannelFactory<IReliableOrderedNotRequired>(binding, endpointAddress); 58var factory = new ChannelFactory<IReliableOrderedRequired>(binding, endpointAddress); 67var factory = new ChannelFactory<IReliableOrderedRequired>(binding, endpointAddress);
ServiceModel\MessageContractTest.4.4.0.cs (2)
195var factory = new ChannelFactory<IMessageContractRoundTrip_4_4_0>(binding, address); 277var factory = new ChannelFactory<IMessageContractRoundTrip_4_4_0>(binding, address);
UnitTests.Common (1)
TestHelpers.cs (1)
94ChannelFactory<T> factory = new ChannelFactory<T>(binding, address);
328 references to ChannelFactory
Binding.Custom.IntegrationTests (3)
CustomBindingTests.4.0.0.cs (1)
20ChannelFactory<IWcfService> factory = null;
CustomBindingTests.4.1.0.cs (2)
23ChannelFactory<IWcfService> factory = null; 66ChannelFactory<IWcfService> factory = null;
Binding.Http.IntegrationTests (15)
BasicHttpBindingTests.4.0.0.cs (9)
25ChannelFactory<IWcfService> factory = null; 62ChannelFactory<IWcfService> factory = null; 102ChannelFactory<IWcfService> factory = null; 147ChannelFactory<IWcfService> factory = null; 204ChannelFactory<IWcfService> factory = null; 242ChannelFactory<IWcfService> factory = null; 287ChannelFactory<IWcfService> factory = null; 333ChannelFactory<IWcfDecompService> factory = null; 374ChannelFactory<MtomBindingTestHelper.IMtomStreamingService> factory = null;
NetHttpBindingTests.4.0.0.cs (1)
20ChannelFactory<IWcfService> factory = null;
NetHttpsBindingTests.4.1.0.cs (3)
23ChannelFactory<IWcfService> factory = null; 56ChannelFactory<IWcfService> factory = null; 90ChannelFactory<IWcfService> factory = null;
OperationContextTests.cs (1)
32ChannelFactory<IWcfService> factory = null;
WSHttpBindingTests.cs (1)
16ChannelFactory<IWcfService> factory = null;
Binding.ReliableSession.IntegrationTests (14)
NetHttpBindingTests.cs (6)
25ChannelFactory<IWcfReliableService> factory = null; 63ChannelFactory<IOneWayWcfReliableService> factory = null; 99ChannelFactory<IWcfReliableService> factory = null; 182ChannelFactory<IWcfReliableService> factory = null; 263ChannelFactory<IWcfReliableService> factory = null; 351ChannelFactory<IWcfReliableService> factory = null;
NetTcpBindingTests.cs (2)
20ChannelFactory<IWcfReliableService> factory = null; 57ChannelFactory<IOneWayWcfReliableService> factory = null;
WSHttpBindingTests.cs (6)
25ChannelFactory<IWcfReliableService> factory = null; 63ChannelFactory<IOneWayWcfReliableService> factory = null; 99ChannelFactory<IWcfReliableService> factory = null; 182ChannelFactory<IWcfReliableService> factory = null; 263ChannelFactory<IWcfReliableService> factory = null; 351ChannelFactory<IWcfReliableService> factory = null;
Binding.Tcp.IntegrationTests (10)
NetTcpBindingTests.4.0.0.cs (5)
20ChannelFactory<IWcfService> factory = null; 53ChannelFactory<IWcfServiceGenerated> factory = null; 91ChannelFactory<IWcfService> factory = null; 130ChannelFactory<IWcfService> factory = null; 167ChannelFactory<IWcfServiceGenerated> factory = null;
NetTcpBindingTests.4.1.0.cs (2)
22ChannelFactory<IWcfService> factory = null; 59ChannelFactory<IWcfService> factory = null;
OperationContextAsyncFlowTests.cs (3)
21ChannelFactory<IWcfService> factory = null; 56ChannelFactory<IWcfService> factory = null; 102ChannelFactory<IDuplexChannelService> factory = null;
Binding.UDS.IntegrationTests (5)
UDSBindingTests.cs (5)
33System.ServiceModel.ChannelFactory<IEchoService> factory = null; 70System.ServiceModel.ChannelFactory<IEchoService> factory = null; 115var factory = new System.ServiceModel.ChannelFactory<IEchoService>(binding, 151System.ServiceModel.ChannelFactory<IEchoService> factory = null; 183System.ServiceModel.ChannelFactory<IEchoService> factory = null;
Binding.WS.FederationHttp.IntegrationTests (3)
WSFederationHttpBindingTests.cs (3)
31ChannelFactory<IWcfService> factory = null; 91ChannelFactory<IWcfService> factory = null; 142ChannelFactory<IWcfService> factory = null;
Client.ChannelLayer.IntegrationTests (1)
DuplexChannelWithSynchronizationContext.cs (1)
227ChannelFactory<IWcfService> factory = null;
Client.ClientBase.IntegrationTests (15)
ChannelBaseTests.4.0.0.cs (1)
218ChannelFactory<IWcfServiceBeginEndGenerated> factory = null;
ClientBaseTests.4.0.0.cs (5)
205ChannelFactory<IWcfServiceGenerated> factory = null; 280ChannelFactory<IWcfServiceGenerated> factory = null; 358ChannelFactory<IWcfServiceGenerated> factory = null; 436ChannelFactory<IWcfServiceGenerated> factory = null; 486ChannelFactory<IWcfServiceGenerated> factory = null;
ClientBaseTests.4.1.0.cs (2)
20var factory = new ChannelFactory<IWcfAspNetCompatibleService>( 63var factory = new ChannelFactory<IWcfAspNetCompatibleService>(
SessionTests.cs (7)
19ChannelFactory<ISessionTestsDefaultService> factory = null; 52ChannelFactory<ISessionTestsDefaultService> channelFactory = null; 101using (var factory = CreateChannelFactoryHelper<ISessionTestsDefaultService>(Endpoints.Tcp_Session_Tests_Default_Service)) 123using (var factory = CreateChannelFactoryHelper<ISessionTestsDefaultService>(Endpoints.Tcp_Session_Tests_Default_Service)) 147using (var factory = CreateChannelFactoryHelper<ISessionTestsDefaultService>(Endpoints.Tcp_Session_Tests_Default_Service)) 171using (var factory = CreateChannelFactoryHelper<ISessionTestsShortTimeoutService>(Endpoints.Tcp_Session_Tests_Short_Timeout_Service)) 211static ChannelFactory<T> CreateChannelFactoryHelper<T>(string url)
Client.ExpectedExceptions.IntegrationTests (16)
ExpectedExceptionTests.4.0.0.cs (6)
24ChannelFactory<IWcfService> factory = null; 61ChannelFactory<IWcfService> factory = null; 108ChannelFactory<IWcfService> factory = null; 154ChannelFactory<IWcfService> factory = null; 189ChannelFactory<IWcfService> factory = null; 238ChannelFactory<IWcfService> factory = null;
ExpectedExceptionTests.4.1.0.cs (9)
21ChannelFactory<IWcfService> factory = null; 61ChannelFactory<IWcfService> setupHostFactory = null; 63ChannelFactory<IWcfRestartService> factory = null; 155ChannelFactory<IWcfService> factory = null; 194ChannelFactory<IWcfService> factory = null; 338ChannelFactory<IWcfService> factory = null; 381ChannelFactory<IWcfService> factory = null; 428ChannelFactory<IWcfService> factory = null; 488ChannelFactory<IWcfService> factory = null;
ExpectedExceptionTests.4.1.1.cs (1)
23ChannelFactory<IWcfService> factory = null;
Client.TypedClient.IntegrationTests (8)
TypedProxyTests.4.0.0.cs (8)
119ChannelFactory<IWcfServiceGenerated> factory = null; 172ChannelFactory<IWcfServiceGenerated> factory = null; 220ChannelFactory<IRequestChannel> factory = null; 283ChannelFactory<IRequestChannel> factory = null; 347ChannelFactory<IRequestChannel> factory = null; 451ChannelFactory<IWcfServiceBeginEndGenerated> factory = null; 498ChannelFactory<IWcfServiceBeginEndGenerated> factory = null; 539ChannelFactory<IWcfServiceGenerated> factory = null;
Contract.Data.IntegrationTests (2)
DataContractTests.4.0.0.cs (1)
20ChannelFactory<IWcfService> factory = null;
DataContractTests.4.1.1.cs (1)
23ChannelFactory<IDataContractResolverService> factory = null;
Contract.Fault.IntegrationTests (7)
FaultExceptionTests.4.0.0.cs (7)
20ChannelFactory<IWcfService> factory = null; 54ChannelFactory<IWcfService> factory = null; 86ChannelFactory<IWcfService> factory = null; 126ChannelFactory<IWcfService> factory; 163ChannelFactory<IWcfService> factory; 200ChannelFactory<IWcfService> factory; 236ChannelFactory<IWcfService> factory;
Contract.Message.IntegrationTests (5)
MessageContractCommon.4.1.0.cs (1)
48ChannelFactory<IMessageContract> factory = new ChannelFactory<IMessageContract>(binding, new EndpointAddress(Endpoints.HttpBaseAddress_Basic_Text));
MessageContractTests.4.4.0.cs (2)
20ChannelFactory<IWcfService_4_4_0> factory = null; 92ChannelFactory<IWcfService_4_4_0> factory = null;
MessageContractTests.cs (1)
31ChannelFactory<IUnderstoodHeaders> factory = null;
MessageTests.4.0.0.cs (1)
63ChannelFactory<IWcfService> factory = null;
Contract.Service.IntegrationTests (36)
ServiceContractTests.4.0.0.cs (10)
25ChannelFactory<IServiceContractIntOutService> factory = null; 72ChannelFactory<IServiceContractUniqueTypeOutService> factory = null; 118ChannelFactory<IServiceContractIntRefService> factory = null; 166ChannelFactory<IServiceContractUniqueTypeRefService> factory = null; 214ChannelFactory<IServiceContractUniqueTypeOutSyncService> factory = null; 260ChannelFactory<IServiceContractUniqueTypeRefSyncService> factory = null; 295ChannelFactory<IWcfService> factory = null; 348ChannelFactory<IWcfService> factory = null; 401ChannelFactory<IWcfService> factory = null; 452ChannelFactory<IWcfService> factory = null;
ServiceContractTests.4.1.0.cs (18)
26ChannelFactory<IWcfService> factory = null; 63ChannelFactory<IWcfService> factory = null; 99ChannelFactory<IWcfService> factory = null; 134ChannelFactory<IWcfService> factory = null; 171ChannelFactory<IWcfService> factory = null; 237ChannelFactory<IWcfService> factory = null; 299ChannelFactory<IWcfService> factory = null; 356ChannelFactory<IWcfService> factory = null; 393ChannelFactory<IWcfService> factory = null; 429ChannelFactory<IWcfService> factory = null; 464ChannelFactory<IWcfService> factory = null; 501ChannelFactory<IWcfService> factory = null; 538ChannelFactory<IWcfService> factory = null; 575ChannelFactory<IWcfService> factory = null; 639ChannelFactory<IWcfServiceGenerated> factory = null; 680ChannelFactory<IWcfService> factory = null; 770ChannelFactory<IWcfService> factory = null; 860ChannelFactory<IWcfService> factory = null;
ServiceKnownTypeTests.4.0.0.cs (8)
20ChannelFactory<IServiceKnownTypeTest_AttrOnMethod> factory = GetChannelFactory<IServiceKnownTypeTest_AttrOnMethod>(); 34ChannelFactory<IServiceKnownTypeTest_AttrOnType> factory = GetChannelFactory<IServiceKnownTypeTest_AttrOnType>(); 48ChannelFactory<IServiceKnownTypeTest_AttrOnMethod_Xml> factory = GetChannelFactory<IServiceKnownTypeTest_AttrOnMethod_Xml>(); 62ChannelFactory<IServiceKnownTypeTest_AttrOnType_Xml> factory = GetChannelFactory<IServiceKnownTypeTest_AttrOnType_Xml>(); 81ChannelFactory<IServiceKnownTypeTest_AttrOnType_Xml> factory = GetChannelFactory<IServiceKnownTypeTest_AttrOnType_Xml>(); 90private static ChannelFactory<ServiceContractType> GetChannelFactory<ServiceContractType>() 94var factory = new ChannelFactory<ServiceContractType>(binding, endpointAddress); 99ChannelFactory<ServiceContractType> factory,
Contract.XmlSerializer.IntegrationTests (24)
XmlSerializerFormatSoapTest.cs (1)
84ChannelFactory<IWcfSoapService> factory;
XmlSerializerFormatTest.4.0.0.cs (9)
22ChannelFactory<IWcfServiceXmlGenerated> factory = new ChannelFactory<IWcfServiceXmlGenerated>(binding, endpointAddress); 35ChannelFactory<IWcfServiceXmlGenerated> factory = new ChannelFactory<IWcfServiceXmlGenerated>(binding, endpointAddress); 48ChannelFactory<IWcfServiceXmlGenerated> factory = new ChannelFactory<IWcfServiceXmlGenerated>(binding, endpointAddress); 73ChannelFactory<IWcfServiceXmlGenerated> factory = new ChannelFactory<IWcfServiceXmlGenerated>(binding, endpointAddress); 86ChannelFactory<IWcfServiceXmlGenerated> factory = new ChannelFactory<IWcfServiceXmlGenerated>(binding, endpointAddress); 102ChannelFactory<IWcfServiceXmlGenerated> factory = new ChannelFactory<IWcfServiceXmlGenerated>(binding, endpointAddress); 122ChannelFactory<ILoginService> factory = new ChannelFactory<ILoginService>(binding, endpointAddress); 160ChannelFactory<IWcfServiceXmlGenerated> factory = new ChannelFactory<IWcfServiceXmlGenerated>(binding, endpointAddress); 197ChannelFactory<ISameNamespaceWithIWcfServiceXmlGenerated> factory = new ChannelFactory<ISameNamespaceWithIWcfServiceXmlGenerated>(binding, endpointAddress);
XmlSerializerFormatTest.4.1.0.cs (2)
20var factory = new ChannelFactory<IXmlMessageContarctTestService>(binding, endpointAddress); 47var factory = new ChannelFactory<IXmlMessageContarctTestService>(binding, endpointAddress);
XmlSerializerFormatTest.cs (12)
72ChannelFactory<IXmlSFAttribute> factory = null; 132ChannelFactory<ICalculatorRpcEnc> factory1 = null; 164ChannelFactory<ICalculatorRpcEnc> factory1 = null; 212ChannelFactory<ICalculatorRpcLit> factory1 = null; 260ChannelFactory<ICalculatorDocLit> factory1 = null; 308ChannelFactory<ICalculatorRpcEnc> factory1 = null; 309ChannelFactory<IHelloWorldRpcEnc> factory2 = null; 365ChannelFactory<ICalculatorRpcLit> factory1 = null; 366ChannelFactory<IHelloWorldRpcLit> factory2 = null; 422ChannelFactory<ICalculatorDocLit> factory1 = null; 423ChannelFactory<IHelloWorldDocLit> factory2 = null; 479ChannelFactory<IEchoRpcEncWithHeadersService> factory1 = null;
dotnet-svcutil.xmlserializer.IntegrationTests (24)
src\System.Private.ServiceModel\tests\Scenarios\Contract\XmlSerializer\XmlSerializerFormatSoapTest.cs (1)
84ChannelFactory<IWcfSoapService> factory;
src\System.Private.ServiceModel\tests\Scenarios\Contract\XmlSerializer\XmlSerializerFormatTest.4.0.0.cs (9)
22ChannelFactory<IWcfServiceXmlGenerated> factory = new ChannelFactory<IWcfServiceXmlGenerated>(binding, endpointAddress); 35ChannelFactory<IWcfServiceXmlGenerated> factory = new ChannelFactory<IWcfServiceXmlGenerated>(binding, endpointAddress); 48ChannelFactory<IWcfServiceXmlGenerated> factory = new ChannelFactory<IWcfServiceXmlGenerated>(binding, endpointAddress); 73ChannelFactory<IWcfServiceXmlGenerated> factory = new ChannelFactory<IWcfServiceXmlGenerated>(binding, endpointAddress); 86ChannelFactory<IWcfServiceXmlGenerated> factory = new ChannelFactory<IWcfServiceXmlGenerated>(binding, endpointAddress); 102ChannelFactory<IWcfServiceXmlGenerated> factory = new ChannelFactory<IWcfServiceXmlGenerated>(binding, endpointAddress); 122ChannelFactory<ILoginService> factory = new ChannelFactory<ILoginService>(binding, endpointAddress); 160ChannelFactory<IWcfServiceXmlGenerated> factory = new ChannelFactory<IWcfServiceXmlGenerated>(binding, endpointAddress); 197ChannelFactory<ISameNamespaceWithIWcfServiceXmlGenerated> factory = new ChannelFactory<ISameNamespaceWithIWcfServiceXmlGenerated>(binding, endpointAddress);
src\System.Private.ServiceModel\tests\Scenarios\Contract\XmlSerializer\XmlSerializerFormatTest.4.1.0.cs (2)
20var factory = new ChannelFactory<IXmlMessageContarctTestService>(binding, endpointAddress); 47var factory = new ChannelFactory<IXmlMessageContarctTestService>(binding, endpointAddress);
src\System.Private.ServiceModel\tests\Scenarios\Contract\XmlSerializer\XmlSerializerFormatTest.cs (12)
72ChannelFactory<IXmlSFAttribute> factory = null; 132ChannelFactory<ICalculatorRpcEnc> factory1 = null; 164ChannelFactory<ICalculatorRpcEnc> factory1 = null; 212ChannelFactory<ICalculatorRpcLit> factory1 = null; 260ChannelFactory<ICalculatorDocLit> factory1 = null; 308ChannelFactory<ICalculatorRpcEnc> factory1 = null; 309ChannelFactory<IHelloWorldRpcEnc> factory2 = null; 365ChannelFactory<ICalculatorRpcLit> factory1 = null; 366ChannelFactory<IHelloWorldRpcLit> factory2 = null; 422ChannelFactory<ICalculatorDocLit> factory1 = null; 423ChannelFactory<IHelloWorldDocLit> factory2 = null; 479ChannelFactory<IEchoRpcEncWithHeadersService> factory1 = null;
Encoding.Encoders.IntegrationTests (5)
BinaryEncodingTests.4.0.0.cs (2)
23ChannelFactory<IWcfService> factory = null; 60ChannelFactory<IWcfService> factory = null;
TextEncodingTests.4.0.0.cs (1)
19ChannelFactory<IWcfService> factory = null;
TextEncodingTests.4.1.0.cs (2)
18ChannelFactory<IWcfService> factory = null; 50ChannelFactory<IWcfService> factory = null;
Encoding.MessageVersion.IntegrationTests (7)
MessageVersionTests.4.0.0.cs (2)
22ChannelFactory<IWcfService> factory = null; 58ChannelFactory<IWcfService> factory = null;
MessageVersionTests.cs (5)
22ChannelFactory<IWcfService> factory = null; 58ChannelFactory<IWcfService> factory = null; 94ChannelFactory<IWcfService> factory = null; 130ChannelFactory<IWcfService> factory = null; 166ChannelFactory<IWcfService> factory = null;
Extensibility.MessageEncoder.IntegrationTests (2)
TextTests.4.1.0.cs (2)
25ChannelFactory<IWcfService> channelFactory = null; 68ChannelFactory<IWcfService> factory = null;
Extensibility.MessageInterceptor.IntegrationTests (1)
MessageInterceptorTests.4.1.1.cs (1)
38ChannelFactory<IWcfChannelExtensibilityContract> factory = null;
Extensibility.WebSockets.IntegrationTests (6)
WebSocketTests.4.1.0.cs (6)
425ChannelFactory<IWSRequestReplyService> channelFactory = null; 491ChannelFactory<IWSRequestReplyService> channelFactory = null; 545ChannelFactory<IWSRequestReplyService> channelFactory = null; 601ChannelFactory<IWSRequestReplyService> channelFactory = null; 656ChannelFactory<IWSRequestReplyService> channelFactory = null; 834ChannelFactory<IVerifyWebSockets> channelFactory = null;
Microsoft.Svcutil.NamedPipeMetadataImporter (1)
NamedPipeMetadataImporter.cs (1)
37ChannelFactory<IMetadataExchange> factory = new ChannelFactory<IMetadataExchange>(CreateNamedPipeBinding(), new EndpointAddress(uri.AbsoluteUri));
ScenarioTests.Common.Tests (2)
ScenarioTestHelpers.cs (2)
62ChannelFactory<IWcfService> factory = null; 101ChannelFactory<IWcfService> factory = new ChannelFactory<IWcfService>(binding, new EndpointAddress(address));
Security.TransportSecurity.IntegrationTests (55)
Http\ClientCredentialTypeTests.4.1.0.cs (2)
19ChannelFactory<IWcfService> factory = null; 81ChannelFactory<IWcfService> factory = null;
Https\ClientCredentialTypeTests.4.1.0.cs (3)
36ChannelFactory<IWcfCustomUserNameService> factory = null; 105ChannelFactory<IWcfCustomUserNameService> factory = null; 173ChannelFactory<IWcfCustomUserNameService> factory = null;
Https\HttpsTests.4.1.0.cs (12)
29ChannelFactory<IWcfService> factory = null; 83ChannelFactory<IWcfService> factory = new ChannelFactory<IWcfService>(binding, new EndpointAddress(Endpoints.Https_DefaultBinding_Address_Text)); 122ChannelFactory<IWcfService> factory = new ChannelFactory<IWcfService>(binding, new EndpointAddress(Endpoints.HttpsSoap12_Address)); 161ChannelFactory<IWcfService> factory = new ChannelFactory<IWcfService>(binding, new EndpointAddress(Endpoints.HttpsSoap11_Address)); 200ChannelFactory<IWcfService> factory = new ChannelFactory<IWcfService>(binding, new EndpointAddress(Endpoints.HttpsSoap12_Address)); 234ChannelFactory<IWcfService> factory = null; 280ChannelFactory<IWcfService> factory = null; 321ChannelFactory<IWcfService> factory = null; 362ChannelFactory<IWcfService> factory = null; 411ChannelFactory<IWcfService> factory = null; 465ChannelFactory<IWcfService> factory = null; 524ChannelFactory<IWcfService> factory = null;
Https\HttpsTests.4.1.1.cs (4)
29ChannelFactory<IWcfService> factory = null; 80ChannelFactory<IWcfService> factory = null; 139ChannelFactory<IWcfService> factory = null; 185ChannelFactory<IWcfService> factory = null;
Negotiate\NegotiateStream_Http_Tests.4.1.0.cs (7)
69ChannelFactory<IWcfService> factory = null; 123ChannelFactory<IWcfService> factory = null; 174ChannelFactory<IWcfService> factory = null; 224ChannelFactory<IWcfService> factory = null; 268ChannelFactory<IWcfService> factory = null; 320ChannelFactory<IWcfService> factory = null; 370ChannelFactory<IWcfService> factory = null;
Negotiate\NegotiateStream_Tcp_Tests.4.1.0.cs (6)
65ChannelFactory<IWcfService> factory = null; 108ChannelFactory<IWcfService> factory = null; 154ChannelFactory<IWcfService> factory = null; 194ChannelFactory<IWcfService> factory = null; 245ChannelFactory<IWcfService> factory = null; 292ChannelFactory<IWcfService> factory = null;
Tcp\ClientCredentialTypeCertificateCanonicalNameTests.4.1.0.cs (3)
37ChannelFactory<IWcfService> factory = null; 113ChannelFactory<IWcfService> factory = null; 198ChannelFactory<IWcfService> factory = null;
Tcp\ClientCredentialTypeTests.4.1.0.cs (3)
24ChannelFactory<IWcfService> factory = null; 73ChannelFactory<IWcfService> factory = null; 125ChannelFactory<IWcfService> factory = null;
Tcp\ClientCredentialTypeTests.4.1.1.cs (4)
30ChannelFactory<IWcfService> factory = null; 79ChannelFactory<IWcfService> factory = null; 137ChannelFactory<IWcfService> factory = null; 183ChannelFactory<IWcfService> factory = null;
Tcp\ClientCredentialTypeTests.OSX.cs (1)
56ChannelFactory<IWcfService> factory = null;
Tcp\IdentityTests.4.1.0.cs (1)
30ChannelFactory<IWcfService> factory = new ChannelFactory<IWcfService>(binding, endpointAddress);
Tcp\IdentityTests.4.1.1.cs (1)
30ChannelFactory<IWcfService> factory = new ChannelFactory<IWcfService>(binding, endpointAddress);
Tcp\StreamingTests.4.1.0.cs (8)
31ChannelFactory<IWcfService> factory = null; 73ChannelFactory<IWcfService> factory = null; 113ChannelFactory<IWcfService> factory = null; 155ChannelFactory<IWcfService> factory = null; 207ChannelFactory<IWcfService> factory = null; 265ChannelFactory<IWcfService> factory = null; 307ChannelFactory<IWcfService> factory = null; 349ChannelFactory<IWcfService> factory = null;
System.ServiceModel.Federation (2)
System\ServiceModel\Federation\WSTrustChannelSecurityTokenProvider.cs (2)
109internal virtual ChannelFactory<IRequestChannel> ChannelFactory { get; set; } 477var channelFactory = new ChannelFactory<IRequestChannel>(IssuerBinding, WSTrustTokenParameters.IssuerAddress);
System.ServiceModel.Http.Tests (3)
ServiceModel\BasicHttpsBindingTest.cs (1)
72var factory = new ChannelFactory<IWcfService>(binding, new EndpointAddress(FakeAddress.HttpsAddress));
ServiceModel\HttpIdentityTests.cs (2)
18var factory = new ChannelFactory<IService>(binding, endpointAddress); 30var factory = new ChannelFactory<IService>(binding, endpointAddress);
System.ServiceModel.Primitives (14)
System\ServiceModel\ChannelFactory.cs (2)
551ChannelFactory<TChannel> channelFactory = new ChannelFactory<TChannel>(binding, endpointAddress); 565ChannelFactory<TChannel> channelFactory = new ChannelFactory<TChannel>(binding);
System\ServiceModel\ChannelFactoryRefCache.cs (3)
13private ChannelFactory<TChannel> _channelFactory; 16public ChannelFactoryRef(ChannelFactory<TChannel> channelFactory) 50public ChannelFactory<TChannel> ChannelFactory
System\ServiceModel\ClientBase.cs (4)
222public ChannelFactory<TChannel> ChannelFactory 624ChannelFactory<TChannel> GetChannelFactory() 668ChannelFactory<TChannel> channelFactory = endpointTrait.CreateChannelFactory(); 909ChannelFactory<T> cf = client.ChannelFactory;
System\ServiceModel\EndpointTrait.cs (1)
11public abstract ChannelFactory<TChannel> CreateChannelFactory();
System\ServiceModel\ProgrammaticEndpointTrait.cs (2)
64public override ChannelFactory<TChannel> CreateChannelFactory() 80private ChannelFactory<TChannel> CreateSimplexFactory()
System\ServiceModel\ServiceEndpointTrait.cs (2)
52public override ChannelFactory<TChannel> CreateChannelFactory() 66private ChannelFactory<TChannel> CreateSimplexFactory()
System.ServiceModel.Primitives.Tests (41)
Channels\BehaviorExtensionTest.cs (2)
29var factory = new ChannelFactory<IBehaviorExtensionServerInterface>(binding, address); 62var factory = new ChannelFactory<IBehaviorExtensionServerInterface2>(binding, address);
Channels\CustomChannelTest.cs (12)
57var factory = new ChannelFactory<ICustomChannelServiceInterface>(binding, address); 148var factory = new ChannelFactory<ICustomChannelServiceInterface>(binding, address); 241var factory = new ChannelFactory<ICustomChannelServiceInterface>(binding, address); 292var factory = new ChannelFactory<ICustomChannelServiceInterface>(binding, address); 349var factory = new ChannelFactory<ICustomChannelServiceInterface>(binding, address); 408var factory = new ChannelFactory<ICustomChannelServiceInterface>(binding, address); 446var factory = new ChannelFactory<ICustomChannelServiceInterface>(binding, address); 486var factory = new ChannelFactory<ICustomChannelServiceInterface>(binding, address); 537var factory = new ChannelFactory<ICustomChannelServiceInterface>(binding, address); 588var factory = new ChannelFactory<ICustomChannelServiceInterface>(binding, address); 640var factory = new ChannelFactory<ICustomChannelServiceInterface>(binding, address); 693var factory = new ChannelFactory<ICustomChannelServiceInterface>(binding, address);
Description\ContractDescriptionTest.cs (1)
179ChannelFactory<IDuplexHello> factory = new ChannelFactory<IDuplexHello>(binding, address);
Description\OperationBehaviorTest.cs (1)
51ChannelFactory<IXmlTestingType> factory = new ChannelFactory<IXmlTestingType>(binding, new EndpointAddress(baseAddress));
Description\OperationContractAttributeTest.cs (3)
28var channelFactory = CreateChannelFactoryHelper<INonInitiatingNonTerminatingService>("net.tcp://localhost/dummy.svc"); 40var channelFactory = CreateChannelFactoryHelper<IInitiatingTerminatingService>("net.tcp://localhost/dummy.svc"); 50static ChannelFactory<T> CreateChannelFactoryHelper<T>(string url)
ServiceModel\ChannelFactoryTest.cs (10)
20ChannelFactory<IRequestChannel> factory = null; 21ChannelFactory<IRequestChannel> factory2 = null; 79ChannelFactory<IRequestChannel> factory = null; 80ChannelFactory<IRequestChannel> factory2 = null; 136ChannelFactory<IRequestChannel> factory = null; 183ChannelFactory<IWcfServiceGenerated> factory = null; 211ChannelFactory<IRequestChannel> factory = null; 243ChannelFactory<IWcfService> factory = null; 278ChannelFactory<IWcfService> factory = null; 303ChannelFactory<IWcfService> factory = null;
ServiceModel\ClientBaseTest.cs (4)
55ChannelFactory<ITestService> tempFactory = new ChannelFactory<ITestService>(binding, endpointAddress); 105ChannelFactory<ITestService2> tempFactory = new ChannelFactory<ITestService2>(binding, endpointAddress); 119var existingChannelFactory = client1.ChannelFactory; 161ChannelFactory<ITestService3> tempFactory = new ChannelFactory<ITestService3>(binding, endpointAddress);
ServiceModel\DeliveryRequirementsTest.cs (6)
18var factory = new ChannelFactory<IReliableOrderedRequired>(binding, endpointAddress); 28var factory = new ChannelFactory<IReliableOrderedRequired>(binding, endpointAddress); 38var factory = new ChannelFactory<IReliableOrderedNotRequired>(binding, endpointAddress); 48var factory = new ChannelFactory<IReliableOrderedNotRequired>(binding, endpointAddress); 58var factory = new ChannelFactory<IReliableOrderedRequired>(binding, endpointAddress); 67var factory = new ChannelFactory<IReliableOrderedRequired>(binding, endpointAddress);
ServiceModel\MessageContractTest.4.4.0.cs (2)
195var factory = new ChannelFactory<IMessageContractRoundTrip_4_4_0>(binding, address); 277var factory = new ChannelFactory<IMessageContractRoundTrip_4_4_0>(binding, address);
UnitTests.Common (1)
TestHelpers.cs (1)
94ChannelFactory<T> factory = new ChannelFactory<T>(binding, address);