Code:
/ WCF / WCF / 3.5.30729.1 / untmp / Orcas / SP / ndp / cdf / src / WCF / ServiceModel / System / ServiceModel / Security / SecurityHeaderElementInferenceEngine.cs / 1 / SecurityHeaderElementInferenceEngine.cs
//---------------------------------------------------------- // Copyright (c) Microsoft Corporation. All rights reserved. //----------------------------------------------------------- namespace System.ServiceModel.Security { using System.ServiceModel.Security.Tokens; using System.ServiceModel.Channels; using System.Xml; abstract class SecurityHeaderElementInferenceEngine { public abstract void ExecuteProcessingPasses(ReceiveSecurityHeader securityHeader, XmlDictionaryReader reader); public abstract void MarkElements(ReceiveSecurityHeaderElementManager elementManager, bool messageSecurityMode); public static SecurityHeaderElementInferenceEngine GetInferenceEngine(SecurityHeaderLayout layout) { SecurityHeaderLayoutHelper.Validate(layout); switch (layout) { case SecurityHeaderLayout.Strict: return StrictModeSecurityHeaderElementInferenceEngine.Instance; case SecurityHeaderLayout.Lax: return LaxModeSecurityHeaderElementInferenceEngine.Instance; case SecurityHeaderLayout.LaxTimestampFirst: return LaxTimestampFirstModeSecurityHeaderElementInferenceEngine.Instance; case SecurityHeaderLayout.LaxTimestampLast: return LaxTimestampLastModeSecurityHeaderElementInferenceEngine.Instance; default: throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new ArgumentOutOfRangeException("layout")); } } } } // File provided for Reference Use Only by Microsoft Corporation (c) 2007. // Copyright (c) Microsoft Corporation. All rights reserved.
Link Menu

This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- DataGridViewElement.cs
- Pointer.cs
- XmlSchemaGroupRef.cs
- DataObjectCopyingEventArgs.cs
- XomlCompilerHelpers.cs
- DesignSurfaceEvent.cs
- SizeChangedEventArgs.cs
- SchemaCollectionPreprocessor.cs
- SiteIdentityPermission.cs
- TreeViewItemAutomationPeer.cs
- SecurityIdentifierConverter.cs
- OverflowException.cs
- CmsInterop.cs
- KeyValueInternalCollection.cs
- ActivityTypeDesigner.xaml.cs
- ApplicationContext.cs
- SerializationInfoEnumerator.cs
- DesignerCommandSet.cs
- TextServicesLoader.cs
- DropShadowEffect.cs
- XsltContext.cs
- RightsManagementPermission.cs
- IsolatedStorageSecurityState.cs
- Selection.cs
- LogWriteRestartAreaState.cs
- WebPartDesigner.cs
- SessionStateUtil.cs
- String.cs
- PathSegmentCollection.cs
- PrintController.cs
- GridViewPageEventArgs.cs
- MeasureItemEvent.cs
- AccessControlList.cs
- DataQuery.cs
- XmlEnumAttribute.cs
- RepeatButtonAutomationPeer.cs
- TextRange.cs
- MasterPageCodeDomTreeGenerator.cs
- Pen.cs
- AutomationAttributeInfo.cs
- EpmTargetPathSegment.cs
- TimeZoneInfo.cs
- brushes.cs
- ParenthesizePropertyNameAttribute.cs
- storepermission.cs
- InternalTypeHelper.cs
- Rect3D.cs
- EntityDesignerDataSourceView.cs
- PropertyCollection.cs
- CssClassPropertyAttribute.cs
- StorageRoot.cs
- HtmlPhoneCallAdapter.cs
- HierarchicalDataBoundControl.cs
- VolatileEnlistmentMultiplexing.cs
- DBConnection.cs
- TitleStyle.cs
- AccessDataSource.cs
- OleDbReferenceCollection.cs
- TargetControlTypeAttribute.cs
- ReverseComparer.cs
- linebase.cs
- TableDetailsCollection.cs
- NTAccount.cs
- PrincipalPermission.cs
- ListView.cs
- DataServiceExpressionVisitor.cs
- ChannelSinkStacks.cs
- ADConnectionHelper.cs
- StringComparer.cs
- HttpPostClientProtocol.cs
- EventHandlersDesigner.cs
- Ops.cs
- PropertyChangeTracker.cs
- XamlSerializerUtil.cs
- DataObjectMethodAttribute.cs
- CodeSubDirectoriesCollection.cs
- SimpleWorkerRequest.cs
- CroppedBitmap.cs
- TraceContextEventArgs.cs
- UniqueEventHelper.cs
- ResourcePool.cs
- ResourceAssociationSetEnd.cs
- CompatibleComparer.cs
- hebrewshape.cs
- selecteditemcollection.cs
- HttpVersion.cs
- ConfigurationPropertyAttribute.cs
- ImageBrush.cs
- X509InitiatorCertificateClientElement.cs
- ArrayExtension.cs
- DecoderReplacementFallback.cs
- List.cs
- CfgRule.cs
- RemoteWebConfigurationHostStream.cs
- PrintDialogDesigner.cs
- SamlSecurityTokenAuthenticator.cs
- UriTemplateLiteralPathSegment.cs
- VideoDrawing.cs
- VerificationException.cs
- WhereQueryOperator.cs