296 references to 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 (14)
BasicHttpBindingTests.4.0.0.cs (8)
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));
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 (2)
System\ServiceModel\Federation\WSTrustChannelFactory.cs (1)
33: base(binding, endpointAddress)
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 (5)
System\ServiceModel\ChannelFactory.cs (3)
381: this(binding, (EndpointAddress)null) 386: this(binding, new EndpointAddress(remoteAddress)) 551ChannelFactory<TChannel> channelFactory = new ChannelFactory<TChannel>(binding, endpointAddress);
System\ServiceModel\ClientBase.cs (1)
79_channelFactoryRef = new ChannelFactoryRef<TChannel>(new ChannelFactory<TChannel>(binding, remoteAddress));
System\ServiceModel\ProgrammaticEndpointTrait.cs (1)
85return new ChannelFactory<TChannel>(_binding, _remoteAddress);
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);