CodeDomFixup\CodeDomVisitors\ConstructorFixer.cs (4)
23new Type[] { typeof(string), typeof(EndpointAddress), },
26new Type[] { typeof(InstanceContext), typeof(string), typeof(EndpointAddress), },
27new Type[] { typeof(Binding), typeof(EndpointAddress), },
28new Type[] { typeof(InstanceContext), typeof(Binding), typeof(EndpointAddress), },
FrameworkFork\System.ServiceModel\System\ServiceModel\Channels\Addressing.cs (26)
164private EndpointAddress _from;
167private FromHeader(EndpointAddress from, AddressingVersion version)
173public EndpointAddress From
188public static FromHeader Create(EndpointAddress from, AddressingVersion addressingVersion)
205EndpointAddress from = ReadHeaderValue(reader, version);
217public static EndpointAddress ReadHeaderValue(XmlDictionaryReader reader, AddressingVersion addressingVersion)
220return EndpointAddress.ReadFrom(addressingVersion, reader);
229public FullFromHeader(EndpointAddress from, string actor, bool mustUnderstand, bool relay, AddressingVersion version)
256private EndpointAddress _faultTo;
259private FaultToHeader(EndpointAddress faultTo, AddressingVersion version)
265public EndpointAddress FaultTo
285public static FaultToHeader Create(EndpointAddress faultTo, AddressingVersion addressingVersion)
297EndpointAddress faultTo = ReadHeaderValue(reader, version);
309public static EndpointAddress ReadHeaderValue(XmlDictionaryReader reader, AddressingVersion version)
312return EndpointAddress.ReadFrom(version, reader);
321public FullFaultToHeader(EndpointAddress faultTo, string actor, bool mustUnderstand, bool relay, AddressingVersion version)
540private EndpointAddress _replyTo;
544private ReplyToHeader(EndpointAddress replyTo, AddressingVersion version)
550public EndpointAddress ReplyTo
570s_anonymousReplyToHeader10 = new ReplyToHeader(EndpointAddress.AnonymousAddress, AddressingVersion.WSAddressing10);
576public static ReplyToHeader Create(EndpointAddress replyTo, AddressingVersion addressingVersion)
593EndpointAddress replyTo = ReadHeaderValue(reader, version);
597if ((object)replyTo == (object)EndpointAddress.AnonymousAddress)
613public static EndpointAddress ReadHeaderValue(XmlDictionaryReader reader, AddressingVersion version)
616return EndpointAddress.ReadFrom(version, reader);
625public FullReplyToHeader(EndpointAddress replyTo, string actor, bool mustUnderstand, bool relay, AddressingVersion version)
FrameworkFork\System.ServiceModel\System\ServiceModel\Channels\FramingChannels.cs (6)
16private static EndpointAddress s_anonymousEndpointAddress = new EndpointAddress(EndpointAddress.AnonymousUri, new AddressHeader[0]);
21EndpointAddress localAddress, Uri localVia, EndpointAddress remoteAddresss, Uri via, bool exposeConnectionProperty)
28EndpointAddress remoteAddresss, Uri via, bool exposeConnectionProperty)
183EndpointAddress remoteAddresss, Uri via, IConnectionInitiator connectionInitiator, ConnectionPool connectionPool,
FrameworkFork\System.ServiceModel\System\ServiceModel\Channels\HttpChannelFactory.cs (16)
229internal async Task<HttpClient> GetHttpClientAsync(EndpointAddress to, SecurityTokenProviderContainer tokenProvider,
241internal HttpClient GetHttpClient(EndpointAddress to, NetworkCredential credential,
302internal virtual ServiceModelHttpMessageHandler GetHttpMessageHandler(EndpointAddress to, SecurityTokenContainer clientCertificateToken)
363EndpointAddress target, Uri via, ChannelParameterCollection channelParameters)
397protected virtual void ValidateCreateChannelParameters(EndpointAddress remoteAddress, Uri via)
410protected override TChannel OnCreateChannel(EndpointAddress remoteAddress, Uri via)
423protected virtual TChannel OnCreateChannelCore(EndpointAddress remoteAddress, Uri via)
604private void ApplyManualAddressing(ref EndpointAddress to, ref Uri via, Message message)
646private void CreateAndOpenTokenProvidersCore(EndpointAddress to, Uri via, ChannelParameterCollection channelParameters, TimeSpan timeout, out SecurityTokenProviderContainer tokenProvider)
652internal void CreateAndOpenTokenProviders(EndpointAddress to, Uri via, ChannelParameterCollection channelParameters, TimeSpan timeout, out SecurityTokenProviderContainer tokenProvider)
664internal static bool MapIdentity(EndpointAddress target, AuthenticationSchemes authenticationScheme)
674private bool MapIdentity(EndpointAddress target)
685public HttpClientRequestChannel(HttpChannelFactory<IRequestChannel> factory, EndpointAddress to, Uri via, bool manualAddressing)
816internal virtual Task<HttpClient> GetHttpClientAsync(EndpointAddress to, Uri via, TimeoutHelper timeoutHelper)
821protected async Task<HttpClient> GetHttpClientAsync(EndpointAddress to, Uri via, SecurityTokenContainer clientCertificateToken, TimeoutHelper timeoutHelper)
876private EndpointAddress _to;
FrameworkFork\System.ServiceModel\System\ServiceModel\Channels\HttpsChannelFactory.cs (8)
67protected override void ValidateCreateChannelParameters(EndpointAddress remoteAddress, Uri via)
80protected override TChannel OnCreateChannelCore(EndpointAddress address, Uri via)
121internal SecurityTokenProvider CreateAndOpenCertificateTokenProvider(EndpointAddress target, Uri via, ChannelParameterCollection channelParameters, TimeSpan timeout)
134EndpointAddress to, Uri via, ChannelParameterCollection channelParameters, ref TimeoutHelper timeoutHelper)
166private void AddServerCertMappingOrSetRemoteCertificateValidationCallback(ServiceModelHttpMessageHandler messageHandler, EndpointAddress to)
212internal override ServiceModelHttpMessageHandler GetHttpMessageHandler(EndpointAddress to, SecurityTokenContainer clientCertificateToken)
243public HttpsClientRequestChannel(HttpsChannelFactory<IRequestChannel> factory, EndpointAddress to, Uri via, bool manualAddressing)
316internal override async Task<HttpClient> GetHttpClientAsync(EndpointAddress to, Uri via, TimeoutHelper timeoutHelper)
FrameworkFork\System.ServiceModel\System\ServiceModel\Channels\TransportSecurityHelpers.cs (10)
135internal static SecurityTokenRequirement CreateSspiTokenRequirement(EndpointAddress target, Uri via, string transportScheme)
147SecurityTokenManager tokenManager, EndpointAddress target, Uri via, string transportScheme, AuthenticationSchemes authenticationScheme, ChannelParameterCollection channelParameters)
164SecurityTokenManager tokenManager, EndpointAddress target, Uri via, string transportScheme,
184SecurityTokenManager tokenManager, EndpointAddress target, Uri via,
207SecurityTokenManager tokenManager, EndpointAddress target, Uri via, string transportScheme, ChannelParameterCollection channelParameters)
261SecurityTokenManager tokenManager, EndpointAddress target, Uri via, string transportScheme, AuthenticationSchemes authenticationScheme,
300EndpointAddress target, Uri via, string transportScheme)
326public static bool AddIdentityMapping(Uri via, EndpointAddress target)
333public static void RemoveIdentityMapping(Uri via, EndpointAddress target, bool validateState)
341public static void AddServerCertMapping(HttpRequestMessage request, EndpointAddress to)
FrameworkFork\System.ServiceModel\System\ServiceModel\Description\MetadataExchangeClient.cs (15)
38private EndpointAddress _ctorEndpointAddress = null;
65public MetadataExchangeClient(EndpointAddress address)
252public IAsyncResult BeginGetMetadata(EndpointAddress address, AsyncCallback callback, object asyncState)
294public Task<MetadataSet> GetMetadataAsync(EndpointAddress address)
304public Task<MetadataSet> GetMetadataAsync(EndpointAddress address, Uri via)
345public MetadataSet GetMetadata(EndpointAddress address)
356public MetadataSet GetMetadata(EndpointAddress address, Uri via)
405protected internal virtual ChannelFactory<IMetadataExchange> GetChannelFactory(EndpointAddress metadataAddress, string dialect, string identifier)
437internal static void TraceSendRequest(EndpointAddress address)
507EndpointAddress address = ((MetadataReference)section.Metadata).Address;
911private EndpointAddress _address;
914public MetadataReferenceRetriever(EndpointAddress address, MetadataExchangeClient resolver)
919public MetadataReferenceRetriever(EndpointAddress address, Uri via, MetadataExchangeClient resolver)
924public MetadataReferenceRetriever(EndpointAddress address, MetadataExchangeClient resolver, string dialect, string identifier)
929private MetadataReferenceRetriever(EndpointAddress address, Uri via, MetadataExchangeClient resolver, string dialect, string identifier)
FrameworkFork\System.ServiceModel\System\ServiceModel\DuplexChannelFactory.cs (15)
20public DuplexChannelFactory(Type callbackInstanceType, Binding binding, EndpointAddress remoteAddress)
26public DuplexChannelFactory(Type callbackInstanceType, string endpointConfigurationName, EndpointAddress remoteAddress)
43public DuplexChannelFactory(InstanceContext callbackInstance, Binding binding, EndpointAddress remoteAddress)
49public DuplexChannelFactory(InstanceContext callbackInstance, string endpointConfigurationName, EndpointAddress remoteAddress)
75this.InitializeEndpoint((string)null, (EndpointAddress)null);
86public DuplexChannelFactory(object callbackObject, string endpointConfigurationName, EndpointAddress remoteAddress)
112: this(callbackObject, binding, (EndpointAddress)null)
122public DuplexChannelFactory(object callbackObject, Binding binding, EndpointAddress remoteAddress)
192public TChannel CreateChannel(InstanceContext callbackInstance, EndpointAddress address)
202public override TChannel CreateChannel(EndpointAddress address, Uri via)
207public virtual TChannel CreateChannel(InstanceContext callbackInstance, EndpointAddress address, Uri via)
269public static TChannel CreateChannel(object callbackObject, Binding binding, EndpointAddress endpointAddress)
274public static TChannel CreateChannel(object callbackObject, Binding binding, EndpointAddress endpointAddress, Uri via)
287public static TChannel CreateChannel(InstanceContext callbackInstance, Binding binding, EndpointAddress endpointAddress)
295public static TChannel CreateChannel(InstanceContext callbackInstance, Binding binding, EndpointAddress endpointAddress, Uri via)
FrameworkFork\System.ServiceModel\System\ServiceModel\EndpointAddress.cs (33)
18private static EndpointAddress s_anonymousAddress;
128internal EndpointAddress(Uri newUri, EndpointAddress oldEndpointAddress)
219internal static EndpointAddress AnonymousAddress
421internal bool EndpointEquals(EndpointAddress endpointAddress)
473EndpointAddress address = obj as EndpointAddress;
537public static EndpointAddress ReadFrom(XmlDictionaryReader reader)
543internal static EndpointAddress ReadFrom(XmlDictionaryReader reader, out AddressingVersion version)
570EndpointAddress ea = ReadFromDriver(version, reader);
575public static EndpointAddress ReadFrom(XmlDictionaryReader reader, XmlDictionaryString localName, XmlDictionaryString ns)
581internal static EndpointAddress ReadFrom(XmlDictionaryReader reader, XmlDictionaryString localName, XmlDictionaryString ns, out AddressingVersion version)
608EndpointAddress ea = ReadFromDriver(version, reader);
613public static EndpointAddress ReadFrom(AddressingVersion addressingVersion, XmlReader reader)
618public static EndpointAddress ReadFrom(AddressingVersion addressingVersion, XmlReader reader, string localName, string ns)
627EndpointAddress ea = ReadFromDriver(addressingVersion, dictReader);
632public static EndpointAddress ReadFrom(AddressingVersion addressingVersion, XmlDictionaryReader reader)
640EndpointAddress ea = ReadFromDriver(addressingVersion, reader);
645private static EndpointAddress ReadFrom(AddressingVersion addressingVersion, XmlDictionaryReader reader, XmlDictionaryString localName, XmlDictionaryString ns)
653EndpointAddress ea = ReadFromDriver(addressingVersion, reader);
658private static EndpointAddress ReadFromDriver(AddressingVersion addressingVersion, XmlDictionaryReader reader)
1239public static bool operator ==(EndpointAddress address1, EndpointAddress address2)
1249public static bool operator !=(EndpointAddress address1, EndpointAddress address2)
1269private EndpointAddress _epr;
1276public EndpointAddressBuilder(EndpointAddress address)
1325Fx.Assert(reader.Name == EndpointAddress.DummyName, "EndpointAddressBuilder: Expected dummy element not found");
1338writer.WriteStartElement(EndpointAddress.DummyName, EndpointAddress.DummyNamespace);
1339EndpointAddress.Copy(writer, reader);
1359Fx.Assert(reader.Name == EndpointAddress.DummyName, "EndpointAddressBuilder: Expected dummy element not found");
1369_extensionBuffer = EndpointAddress.ReadExtensions(reader, null, null, out identity, out tmp);
1380public EndpointAddress ToEndpointAddress()
FrameworkFork\System.ServiceModel\System\ServiceModel\Security\IdentityVerifier.cs (9)
31public abstract bool TryGetIdentity(EndpointAddress reference, out EndpointIdentity identity);
33private static void AdjustAddress(ref EndpointAddress reference, Uri via)
42internal bool TryGetIdentity(EndpointAddress reference, Uri via, out EndpointIdentity identity)
48internal void EnsureOutgoingIdentity(EndpointAddress serviceReference, Uri via, AuthorizationContext authorizationContext)
54internal void EnsureOutgoingIdentity(EndpointAddress serviceReference, ReadOnlyCollection<IAuthorizationPolicy> authorizationPolicies)
64private void EnsureIdentity(EndpointAddress serviceReference, AuthorizationContext authorizationContext, String errorString)
87private Exception CreateIdentityCheckException(EndpointIdentity identity, AuthorizationContext authorizationContext, string errorString, EndpointAddress serviceReference)
158public override bool TryGetIdentity(EndpointAddress reference, out EndpointIdentity identity)
182private EndpointIdentity TryCreateDnsIdentity(EndpointAddress reference)
FrameworkFork\System.ServiceModel\System\ServiceModel\Security\SecurityUtils.cs (6)
380internal static string GetSpnFromIdentity(EndpointIdentity identity, EndpointAddress target)
409internal static string GetSpnFromTarget(EndpointAddress target)
883X509FindType findType, object findValue, EndpointAddress target)
893X509FindType findType, object findValue, EndpointAddress target, out X509Certificate2 certificate)
900X509FindType findType, object findValue, EndpointAddress target, bool throwIfMultipleOrNoMatch)
935X509FindType findType, object findValue, EndpointAddress target, int certCount)