4 writes to TransportUsage
dotnet-svcutil-lib (4)
FrameworkFork\System.ServiceModel\System\ServiceModel\Channels\TransportBindingElementImporter.cs (1)
160httpTransport.WebSocketSettings.TransportUsage = WebSocketTransportUsage.Always;
FrameworkFork\System.ServiceModel\System\ServiceModel\Channels\WebSocketTransportSettings.cs (1)
36this.TransportUsage = settings.TransportUsage;
FrameworkFork\System.ServiceModel\System\ServiceModel\NetHttpBinding.cs (1)
278this.WebSocketSettings.TransportUsage = NetHttpBindingDefaults.TransportUsage;
FrameworkFork\System.ServiceModel\System\ServiceModel\NetHttpsBinding.cs (1)
141InternalWebSocketSettings.TransportUsage = NetHttpBindingDefaults.TransportUsage;
12 references to TransportUsage
dotnet-svcutil-lib (12)
FrameworkFork\System.ServiceModel\System\ServiceModel\Channels\HttpChannelFactory.cs (4)
441if (channelType == typeof(IRequestChannel) && WebSocketSettings.TransportUsage == WebSocketTransportUsage.Always) 448WebSocketSettings.TransportUsage))); 453if (WebSocketSettings.TransportUsage == WebSocketTransportUsage.Never) 460WebSocketSettings.TransportUsage)));
FrameworkFork\System.ServiceModel\System\ServiceModel\Channels\HttpTransportBindingElement.cs (3)
450return this.WebSocketSettings.TransportUsage != WebSocketTransportUsage.Always; 454return this.WebSocketSettings.TransportUsage != WebSocketTransportUsage.Never; 539if (this.WebSocketSettings.TransportUsage == WebSocketTransportUsage.Always)
FrameworkFork\System.ServiceModel\System\ServiceModel\Channels\WebSocketTransportSettings.cs (4)
36this.TransportUsage = settings.TransportUsage; 139return this.TransportUsage == other.TransportUsage 157int hashcode = this.TransportUsage.GetHashCode()
FrameworkFork\System.ServiceModel\System\ServiceModel\NetHttpBinding.cs (1)
207if (transport == null || transport.WebSocketSettings.TransportUsage != WebSocketTransportUsage.Always)