27 references to NetSessionHelper
dotnet-svcutil-lib (27)
FrameworkFork\System.ServiceModel\System\ServiceModel\Description\WsdlExporter.cs (15)
263
NetSessionHelper
.AddUsingSessionAttributeIfNeeded(wsdlPortType, contract);
273
NetSessionHelper
.AddInitiatingTerminatingAttributesIfNeeded(wsdlOperation, operation, contract);
931
namespaces.Add(
NetSessionHelper
.Prefix,
NetSessionHelper
.NamespaceUri);
1119
wsdlPortType.ExtensibleAttributes = CloneAndAddToAttributes(wsdlPortType.ExtensibleAttributes,
NetSessionHelper
.Prefix,
1120
NetSessionHelper
.UsingSession,
NetSessionHelper
.NamespaceUri, ToValue(sessionValue));
1135
wsdlOperation.ExtensibleAttributes = CloneAndAddToAttributes(wsdlOperation.ExtensibleAttributes,
NetSessionHelper
.Prefix,
1136
NetSessionHelper
.IsInitiating,
NetSessionHelper
.NamespaceUri, ToValue(isInitiating));
1141
wsdlOperation.ExtensibleAttributes = CloneAndAddToAttributes(wsdlOperation.ExtensibleAttributes,
NetSessionHelper
.Prefix,
1142
NetSessionHelper
.IsTerminating,
NetSessionHelper
.NamespaceUri, ToValue(isTerminating));
1166
return b ?
NetSessionHelper
.True :
NetSessionHelper
.False;
FrameworkFork\System.ServiceModel\System\ServiceModel\Description\WsdlImporter.cs (12)
1242
XmlAttribute isInitiating = FindAttribute(wsdlOperation.ExtensibleAttributes, WsdlExporter.
NetSessionHelper
.IsInitiating,
1243
WsdlExporter.
NetSessionHelper
.NamespaceUri);
1247
if (isInitiating.Value == WsdlExporter.
NetSessionHelper
.True)
1251
if (isInitiating.Value == WsdlExporter.
NetSessionHelper
.False)
1257
XmlAttribute isTerminating = FindAttribute(wsdlOperation.ExtensibleAttributes, WsdlExporter.
NetSessionHelper
.IsTerminating,
1258
WsdlExporter.
NetSessionHelper
.NamespaceUri);
1262
if (isTerminating.Value == WsdlExporter.
NetSessionHelper
.True)
1266
if (isTerminating.Value == WsdlExporter.
NetSessionHelper
.False)
1275
XmlAttribute usingSession = FindAttribute(wsdlPortType.ExtensibleAttributes, WsdlExporter.
NetSessionHelper
.UsingSession,
1276
WsdlExporter.
NetSessionHelper
.NamespaceUri);
1280
if (usingSession.Value == WsdlExporter.
NetSessionHelper
.True)
1284
if (usingSession.Value == WsdlExporter.
NetSessionHelper
.False)