27 references to NetSessionHelper
System.ServiceModel (27)
System\ServiceModel\Description\WsdlExporter.cs (15)
263
NetSessionHelper
.AddUsingSessionAttributeIfNeeded(wsdlPortType, contract);
273
NetSessionHelper
.AddInitiatingTerminatingAttributesIfNeeded(wsdlOperation, operation, contract);
932
namespaces.Add(
NetSessionHelper
.Prefix,
NetSessionHelper
.NamespaceUri);
1121
wsdlPortType.ExtensibleAttributes = CloneAndAddToAttributes(wsdlPortType.ExtensibleAttributes,
NetSessionHelper
.Prefix,
1122
NetSessionHelper
.UsingSession,
NetSessionHelper
.NamespaceUri, ToValue(sessionValue));
1137
wsdlOperation.ExtensibleAttributes = CloneAndAddToAttributes(wsdlOperation.ExtensibleAttributes,
NetSessionHelper
.Prefix,
1138
NetSessionHelper
.IsInitiating,
NetSessionHelper
.NamespaceUri, ToValue(isInitiating));
1143
wsdlOperation.ExtensibleAttributes = CloneAndAddToAttributes(wsdlOperation.ExtensibleAttributes,
NetSessionHelper
.Prefix,
1144
NetSessionHelper
.IsTerminating,
NetSessionHelper
.NamespaceUri, ToValue(isTerminating));
1168
return b ?
NetSessionHelper
.True :
NetSessionHelper
.False;
System\ServiceModel\Description\WsdlImporter.cs (12)
1248
XmlAttribute isInitiating = FindAttribute(wsdlOperation.ExtensibleAttributes, WsdlExporter.
NetSessionHelper
.IsInitiating,
1249
WsdlExporter.
NetSessionHelper
.NamespaceUri);
1253
if (isInitiating.Value == WsdlExporter.
NetSessionHelper
.True)
1257
if (isInitiating.Value == WsdlExporter.
NetSessionHelper
.False)
1263
XmlAttribute isTerminating = FindAttribute(wsdlOperation.ExtensibleAttributes, WsdlExporter.
NetSessionHelper
.IsTerminating,
1264
WsdlExporter.
NetSessionHelper
.NamespaceUri);
1268
if (isTerminating.Value == WsdlExporter.
NetSessionHelper
.True)
1272
if (isTerminating.Value == WsdlExporter.
NetSessionHelper
.False)
1281
XmlAttribute usingSession = FindAttribute(wsdlPortType.ExtensibleAttributes, WsdlExporter.
NetSessionHelper
.UsingSession,
1282
WsdlExporter.
NetSessionHelper
.NamespaceUri);
1286
if (usingSession.Value == WsdlExporter.
NetSessionHelper
.True)
1290
if (usingSession.Value == WsdlExporter.
NetSessionHelper
.False)