Code:
/ WCF / WCF / 3.5.30729.1 / untmp / Orcas / SP / ndp / cdf / src / WCF / ServiceModel / System / ServiceModel / Security / SendSecurityHeaderElement.cs / 1 / SendSecurityHeaderElement.cs
//------------------------------------------------------------ // Copyright (c) Microsoft Corporation. All rights reserved. //----------------------------------------------------------- namespace System.ServiceModel.Security { using System.IdentityModel.Claims; using System.ServiceModel; using System.IdentityModel.Policy; using System.ServiceModel.Security.Tokens; using System.Xml; using ISecurityElement = System.IdentityModel.ISecurityElement; class SendSecurityHeaderElement { string id; ISecurityElement item; bool markedForEncryption; public SendSecurityHeaderElement(string id, ISecurityElement item) { this.id = id; this.item = item; markedForEncryption = false; } public string Id { get { return this.id; } } public ISecurityElement Item { get { return this.item; } } public bool MarkedForEncryption { get { return this.markedForEncryption; } set { this.markedForEncryption = value; } } public bool IsSameItem(ISecurityElement item) { return this.item == item ||this.item.Equals(item); } public void Replace(string id, ISecurityElement item) { this.item = item; this.id = id; } } } // 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
- SnapshotChangeTrackingStrategy.cs
- ProjectionPath.cs
- StrongNameKeyPair.cs
- DataControlCommands.cs
- UrlPath.cs
- VarRefManager.cs
- Decoder.cs
- HebrewNumber.cs
- COM2PropertyDescriptor.cs
- XmlReflectionImporter.cs
- TabRenderer.cs
- SequentialUshortCollection.cs
- PngBitmapEncoder.cs
- AttachmentCollection.cs
- InfocardChannelParameter.cs
- SettingsSavedEventArgs.cs
- InfoCardBaseException.cs
- PolicyLevel.cs
- UIElementParagraph.cs
- QuaternionAnimation.cs
- EndpointDiscoveryBehavior.cs
- PageTheme.cs
- DialogResultConverter.cs
- PaperSource.cs
- IgnoreSectionHandler.cs
- ExpressionNormalizer.cs
- ListBindableAttribute.cs
- MDIWindowDialog.cs
- SmiRequestExecutor.cs
- AsnEncodedData.cs
- QueryStringParameter.cs
- StructuralComparisons.cs
- CardSpaceException.cs
- KnownTypesHelper.cs
- EntitySqlQueryState.cs
- BinHexDecoder.cs
- Internal.cs
- DataGridColumnCollection.cs
- Lasso.cs
- KeyToListMap.cs
- IdentifierService.cs
- RenderDataDrawingContext.cs
- Matrix.cs
- TemplateBaseAction.cs
- LocationReference.cs
- WebPartConnectionsEventArgs.cs
- DataGridViewCellStyle.cs
- ToolboxDataAttribute.cs
- CryptoStream.cs
- SocketSettings.cs
- RightsManagementManager.cs
- XslException.cs
- ClientRuntimeConfig.cs
- regiisutil.cs
- SerializationEventsCache.cs
- ExpressionBuilder.cs
- ping.cs
- Pair.cs
- __TransparentProxy.cs
- SchemaElementDecl.cs
- CacheHelper.cs
- IPCCacheManager.cs
- WeakReferenceList.cs
- TransformFinalBlockRequest.cs
- TextMetrics.cs
- IntSecurity.cs
- PageAdapter.cs
- QueryOptionExpression.cs
- FormViewDeletedEventArgs.cs
- ActivityCollectionMarkupSerializer.cs
- HexParser.cs
- DbConnectionPoolGroupProviderInfo.cs
- ResXFileRef.cs
- UdpDiscoveryEndpointElement.cs
- ClipboardProcessor.cs
- XmlAttribute.cs
- ProfilePropertyMetadata.cs
- PenThreadWorker.cs
- CustomWebEventKey.cs
- TreeChangeInfo.cs
- WindowsListView.cs
- TypeUtils.cs
- BitmapEffectRenderDataResource.cs
- FixedSOMTable.cs
- HandlerWithFactory.cs
- PagedDataSource.cs
- CodeDOMUtility.cs
- DataTableTypeConverter.cs
- OutputCacheModule.cs
- TypeUnloadedException.cs
- ElementsClipboardData.cs
- XPathSelectionIterator.cs
- XmlEncApr2001.cs
- ResizeGrip.cs
- PageRequestManager.cs
- DispatcherHookEventArgs.cs
- TextTreePropertyUndoUnit.cs
- CompilerGlobalScopeAttribute.cs
- ListBoxAutomationPeer.cs
- EmptyImpersonationContext.cs