Skip to content

Commit

Permalink
typo
Browse files Browse the repository at this point in the history
  • Loading branch information
github-john-doe authored and mconnew committed Aug 7, 2017
1 parent 98af254 commit 9e19d2a
Show file tree
Hide file tree
Showing 8 changed files with 17 additions and 17 deletions.
2 changes: 1 addition & 1 deletion src/System.Private.ServiceModel/src/Resources/Strings.resx
Original file line number Diff line number Diff line change
Expand Up @@ -1350,7 +1350,7 @@
<data name="SFxSetEnableFaultsOnChannelDispatcher0" xml:space="preserve">
<value>This property sets EnableFaults on the client. To set EnableFaults on the server, use ChannelDispatcher's EnableFaults.</value>
</data>
<data name="SFxSetManualAddresssingOnChannelDispatcher0" xml:space="preserve">
<data name="SFxSetManualAddressingOnChannelDispatcher0" xml:space="preserve">
<value>This property sets ManualAddressing on the client. To set ManualAddressing on the server, use ChannelDispatcher's ManualAddressing.</value>
</data>
<data name="SFxNoServiceObject" xml:space="preserve">
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -27,8 +27,8 @@ internal class ClientWebSocketTransportDuplexSessionChannel : WebSocketTransport
private volatile bool _cleanupStarted;
private volatile bool _cleanupIdentity;

public ClientWebSocketTransportDuplexSessionChannel(HttpChannelFactory<IDuplexSessionChannel> channelFactory, ClientWebSocketFactory connectionFactory, EndpointAddress remoteAddresss, Uri via)
: base(channelFactory, remoteAddresss, via)
public ClientWebSocketTransportDuplexSessionChannel(HttpChannelFactory<IDuplexSessionChannel> channelFactory, ClientWebSocketFactory connectionFactory, EndpointAddress remoteAddress, Uri via)
: base(channelFactory, remoteAddress, via)
{
Contract.Assert(channelFactory != null, "connection factory must be set");
_channelFactory = channelFactory;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,16 +20,16 @@ internal abstract class FramingDuplexSessionChannel : TransportDuplexSessionChan
private bool _exposeConnectionProperty;

private FramingDuplexSessionChannel(ChannelManagerBase manager, IConnectionOrientedTransportFactorySettings settings,
EndpointAddress localAddress, Uri localVia, EndpointAddress remoteAddresss, Uri via, bool exposeConnectionProperty)
: base(manager, settings, localAddress, localVia, remoteAddresss, via)
EndpointAddress localAddress, Uri localVia, EndpointAddress remoteAddress, Uri via, bool exposeConnectionProperty)
: base(manager, settings, localAddress, localVia, remoteAddress, via)
{
_exposeConnectionProperty = exposeConnectionProperty;
}

protected FramingDuplexSessionChannel(ChannelManagerBase factory, IConnectionOrientedTransportFactorySettings settings,
EndpointAddress remoteAddresss, Uri via, bool exposeConnectionProperty)
EndpointAddress remoteAddress, Uri via, bool exposeConnectionProperty)
: this(factory, settings, s_anonymousEndpointAddress, settings.MessageVersion.Addressing == AddressingVersion.None ? null : new Uri("http://www.w3.org/2005/08/addressing/anonymous"),
remoteAddresss, via, exposeConnectionProperty)
remoteAddress, via, exposeConnectionProperty)
{
this.Session = FramingConnectionDuplexSession.CreateSession(this, settings.Upgrade);
}
Expand Down Expand Up @@ -182,9 +182,9 @@ internal class ClientFramingDuplexSessionChannel : FramingDuplexSessionChannel
private bool _flowIdentity;

public ClientFramingDuplexSessionChannel(ChannelManagerBase factory, IConnectionOrientedTransportChannelFactorySettings settings,
EndpointAddress remoteAddresss, Uri via, IConnectionInitiator connectionInitiator, ConnectionPool connectionPool,
EndpointAddress remoteAddress, Uri via, IConnectionInitiator connectionInitiator, ConnectionPool connectionPool,
bool exposeConnectionProperty, bool flowIdentity)
: base(factory, settings, remoteAddresss, via, exposeConnectionProperty)
: base(factory, settings, remoteAddress, via, exposeConnectionProperty)
{
_settings = settings;
this.MessageEncoder = settings.MessageEncoderFactory.CreateSessionEncoder();
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -23,8 +23,8 @@ internal class StreamedFramingRequestChannel : RequestChannel
private ChannelBinding _channelBindingToken;

public StreamedFramingRequestChannel(ChannelManagerBase factory, IConnectionOrientedTransportChannelFactorySettings settings,
EndpointAddress remoteAddresss, Uri via, IConnectionInitiator connectionInitiator, ConnectionPool connectionPool)
: base(factory, remoteAddresss, via, settings.ManualAddressing)
EndpointAddress remoteAddress, Uri via, IConnectionInitiator connectionInitiator, ConnectionPool connectionPool)
: base(factory, remoteAddress, via, settings.ManualAddressing)
{
_settings = settings;
_connectionInitiator = connectionInitiator;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -32,9 +32,9 @@ protected TransportDuplexSessionChannel(
ITransportFactorySettings settings,
EndpointAddress localAddress,
Uri localVia,
EndpointAddress remoteAddresss,
EndpointAddress remoteAddress,
Uri via)
: base(manager, remoteAddresss, via, settings.ManualAddressing, settings.MessageVersion)
: base(manager, remoteAddress, via, settings.ManualAddressing, settings.MessageVersion)
{
_localAddress = localAddress;
_localVia = localVia;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -28,8 +28,8 @@ internal abstract class WebSocketTransportDuplexSessionChannel : TransportDuplex
private bool _shouldDisposeWebSocketAfterClosed = true;
private Exception _pendingWritingMessageException;

public WebSocketTransportDuplexSessionChannel(HttpChannelFactory<IDuplexSessionChannel> channelFactory, EndpointAddress remoteAddresss, Uri via)
: base(channelFactory, channelFactory, EndpointAddress.AnonymousAddress, channelFactory.MessageVersion.Addressing.AnonymousUri, remoteAddresss, via)
public WebSocketTransportDuplexSessionChannel(HttpChannelFactory<IDuplexSessionChannel> channelFactory, EndpointAddress remoteAddress, Uri via)
: base(channelFactory, channelFactory, EndpointAddress.AnonymousAddress, channelFactory.MessageVersion.Addressing.AnonymousUri, remoteAddress, via)
{
Fx.Assert(channelFactory.WebSocketSettings != null, "channelFactory.WebSocketTransportSettings should not be null.");
_webSocketSettings = channelFactory.WebSocketSettings;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -310,7 +310,7 @@ public bool ManualAddressing
{
if (this.IsOnServer)
{
string text = SR.SFxSetManualAddresssingOnChannelDispatcher0;
string text = SR.SFxSetManualAddressingOnChannelDispatcher0;
throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new InvalidOperationException(text));
}
else
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -364,7 +364,7 @@ public static bool IISHosted
{
get
{
// We assume the self hosted service does not have test service base addess, only the host name passed
// We assume the self hosted service does not have test service base address, only the host name passed
// This will satisfy all current requirements
if (TestProperties.GetProperty(TestProperties.ServiceUri_PropertyName).Contains("/"))
{
Expand Down

0 comments on commit 9e19d2a

Please sign in to comment.