58 references to State
dotnet-svcutil-lib (58)
CodeDomFixup\WcfCodeGenerationExtension.cs (2)
111
if (importer.
State
.ContainsKey(typeof(XsdDataContractImporter)))
113
XsdDataContractImporter xsdImporter = (XsdDataContractImporter)importer.
State
[typeof(XsdDataContractImporter)];
FrameworkFork\System.ServiceModel\System\ServiceModel\Channels\AsymmetricSecurityBindingElement.cs (10)
226
if (importer.
State
.ContainsKey(contractAssociationName))
229
otherBindingProtectionLevel = (ContractProtectionLevel)importer.
State
[contractAssociationName];
239
if (importer.
State
.ContainsKey(InSecureConversationBootstrapBindingImportMode))
244
importer.
State
[SecureConversationBootstrapEncryptionRequirements] = endpointEncryptedParts;
246
importer.
State
[SecureConversationBootstrapSignatureRequirements] = endpointSignedParts;
420
importer.
State
[contractAssociationName] = new ContractProtectionLevel(hasContractProtectionLevel, isContractProtectionLevelUniform, contractProtectionLevel);
589
if (importer.
State
.ContainsKey(InSecureConversationBootstrapBindingImportMode))
647
if ((importer.
State
!= null) && (!importer.
State
.ContainsKey(MaxPolicyRedirectionsKey)))
649
importer.
State
.Add(MaxPolicyRedirectionsKey, this.MaxPolicyRedirections);
FrameworkFork\System.ServiceModel\System\ServiceModel\Channels\TransportBindingElementImporter.cs (2)
196
if (!importer.
State
.TryGetValue(StateHelper.s_stateBagKey, out retValue))
199
importer.
State
.Add(StateHelper.s_stateBagKey, retValue);
FrameworkFork\System.ServiceModel\System\ServiceModel\Description\MessageContractImporter.cs (17)
133
if (_importer.
State
.TryGetValue(typeof(FaultImportOptions), out faultImportOptions))
751
if (_importer.
State
.TryGetValue(typeof(WrappedOptions), out wrappedOptions))
1561
if (!importer.
State
.TryGetValue(typeof(XsdDataContractImporter), out dataContractImporter))
1564
if (!importer.
State
.TryGetValue(typeof(CodeCompileUnit), out compileUnit))
1567
importer.
State
.Add(typeof(CodeCompileUnit), compileUnit);
1570
importer.
State
.Add(typeof(XsdDataContractImporter), dataContractImporter);
1629
if (importer.
State
.ContainsKey(type))
1630
schemaImporter = importer.
State
[type];
1634
importer.
State
.Add(type, schemaImporter);
1912
if (importer.
State
.ContainsKey(typeof(XmlSerializerImportOptions)))
1914
options = (XmlSerializerImportOptions)importer.
State
[typeof(XmlSerializerImportOptions)];
1919
if (!importer.
State
.TryGetValue(typeof(CodeCompileUnit), out compileUnit))
1922
importer.
State
.Add(typeof(CodeCompileUnit), compileUnit);
1925
importer.
State
.Add(typeof(XmlSerializerImportOptions), options);
1986
if (importer.
State
.ContainsKey(type))
1987
schemaImporter = importer.
State
[type];
1991
importer.
State
.Add(type, schemaImporter);
FrameworkFork\System.ServiceModel\System\ServiceModel\Security\WSSecurityPolicy.cs (20)
591
if (false == importer.
State
.ContainsKey(SecurityBindingElementImporter.InSecureConversationBootstrapBindingImportMode))
2725
importer.
State
[SecurityBindingElementImporter.InSecureConversationBootstrapBindingImportMode] = SecurityBindingElementImporter.InSecureConversationBootstrapBindingImportMode;
2729
if (importer.
State
.ContainsKey(SecurityBindingElementImporter.SecureConversationBootstrapEncryptionRequirements))
2731
MessagePartSpecification encryption = (MessagePartSpecification)importer.
State
[SecurityBindingElementImporter.SecureConversationBootstrapEncryptionRequirements];
2738
if (importer.
State
.ContainsKey(SecurityBindingElementImporter.SecureConversationBootstrapSignatureRequirements))
2740
MessagePartSpecification signature = (MessagePartSpecification)importer.
State
[SecurityBindingElementImporter.SecureConversationBootstrapSignatureRequirements];
2750
importer.
State
.Remove(SecurityBindingElementImporter.InSecureConversationBootstrapBindingImportMode);
2751
if (importer.
State
.ContainsKey(SecurityBindingElementImporter.SecureConversationBootstrapEncryptionRequirements))
2752
importer.
State
.Remove(SecurityBindingElementImporter.SecureConversationBootstrapEncryptionRequirements);
2753
if (importer.
State
.ContainsKey(SecurityBindingElementImporter.SecureConversationBootstrapSignatureRequirements))
2754
importer.
State
.Remove(SecurityBindingElementImporter.SecureConversationBootstrapSignatureRequirements);
2856
int maximumRedirections = (int)importer.
State
[SecurityBindingElementImporter.MaxPolicyRedirectionsKey];
2869
if ((importer.
State
!= null) && (importer.
State
.ContainsKey(MetadataExchangeClient.MetadataExchangeClientKey)))
2871
policyFetcher = importer.
State
[MetadataExchangeClient.MetadataExchangeClientKey] as MetadataExchangeClient;
2942
if ((importer.
State
!= null) && (importer.
State
.ContainsKey(MetadataExchangeClient.MetadataExchangeClientKey)))
2944
wsdlImporter.
State
.Add(MetadataExchangeClient.MetadataExchangeClientKey, importer.
State
[MetadataExchangeClient.MetadataExchangeClientKey]);
2947
wsdlImporter.
State
.Add(SecurityBindingElementImporter.MaxPolicyRedirectionsKey, maximumRedirections);
ImportModule.cs (6)
350
importer.
State
.Add(typeof(XmlSerializerImportOptions), importOptions);
352
if (!importer.
State
.ContainsKey(typeof(WrappedOptions)))
353
importer.
State
.Add(typeof(WrappedOptions), new WrappedOptions { WrappedFlag = options.Wrapped == true });
359
importer.
State
.Add(typeof(DcNS.XsdDataContractImporter), xsdDataContractImporter);
360
if (!importer.
State
.ContainsKey(typeof(WrappedOptions)))
361
importer.
State
.Add(typeof(WrappedOptions), new WrappedOptions { WrappedFlag = options.Wrapped == true });
Metadata\ServiceDescriptor.cs (1)
301
wsdlImporter.
State
.Add(typeof(FaultImportOptions), new FaultImportOptions() { UseMessageFormat = useMessageFormat });