Code:
/ WCF / WCF / 3.5.30729.1 / untmp / Orcas / SP / ndp / cdf / src / WCF / infocard / Client / System / IdentityModel / Selectors / CardSpacePolicyElement.cs / 1 / CardSpacePolicyElement.cs
//------------------------------------------------------------------------------ // Copyright (c) Microsoft Corporation. All rights reserved. //----------------------------------------------------------------------------- namespace System.IdentityModel.Selectors { using System; using System.Collections.Generic; using System.Collections.ObjectModel; using System.IO; using System.Text; using System.Xml; using IDT = Microsoft.InfoCards.Diagnostics.InfoCardTrace; // // Summary: // This is the managed representation of the native POLICY_ELEMENT struct. // public class CardSpacePolicyElement { XmlElement m_target; XmlElement m_issuer; Collectionm_parameters; Uri m_policyNoticeLink; int m_policyNoticeVersion; bool m_isManagedIssuer; public bool IsManagedIssuer { get{ return m_isManagedIssuer; } set{ m_isManagedIssuer = value; } } public XmlElement Target { get { return m_target; } set { m_target = value; } } public XmlElement Issuer { get { return m_issuer; } set { m_issuer = value; } } public Collection Parameters { get { return m_parameters; } // set { m_parameters = value; } } public Uri PolicyNoticeLink { get { return m_policyNoticeLink; } set { m_policyNoticeLink = value; } } public int PolicyNoticeVersion { get { return m_policyNoticeVersion; } set { m_policyNoticeVersion = value; } } // // Parameters: // target - The target of the token being described. // parameters - describes the type of token required by the target. // public CardSpacePolicyElement( XmlElement target, XmlElement issuer, Collection parameters, Uri privacyNoticeLink, int privacyNoticeVersion, bool isManagedIssuer ) { // // Ensure that if a version is specified( value != 0 ), that a valid url is specified. // IDT.ThrowInvalidArgumentConditional( 0 == privacyNoticeVersion && null != privacyNoticeLink, "privacyNoticeVersion" ); IDT.ThrowInvalidArgumentConditional( 0 != privacyNoticeVersion && null == privacyNoticeLink , "privacyNoticeLink" ); m_target = target; m_issuer = issuer; m_parameters = parameters; m_policyNoticeLink = privacyNoticeLink; m_policyNoticeVersion = privacyNoticeVersion; m_isManagedIssuer = isManagedIssuer; } } } // 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
- SettingsContext.cs
- ListBoxChrome.cs
- TypeConstant.cs
- WindowsToolbarAsMenu.cs
- DashStyle.cs
- HostingEnvironment.cs
- DateBoldEvent.cs
- DefaultHttpHandler.cs
- FileLogRecordHeader.cs
- _StreamFramer.cs
- UpdateTracker.cs
- XmlArrayItemAttributes.cs
- SystemResourceKey.cs
- DescendantQuery.cs
- SecureStringHasher.cs
- HttpFileCollectionBase.cs
- ViewLoader.cs
- InvocationExpression.cs
- SynthesizerStateChangedEventArgs.cs
- Propagator.JoinPropagator.cs
- GenericTransactionFlowAttribute.cs
- DateTimeFormat.cs
- DiscoveryDocumentLinksPattern.cs
- Publisher.cs
- ThemeDirectoryCompiler.cs
- XmlSchemaAll.cs
- WeakRefEnumerator.cs
- TextEvent.cs
- DetailsViewModeEventArgs.cs
- RefreshPropertiesAttribute.cs
- BuilderInfo.cs
- ThemeableAttribute.cs
- BasicViewGenerator.cs
- SemanticAnalyzer.cs
- ResourceProviderFactory.cs
- StateChangeEvent.cs
- ResourcesGenerator.cs
- GridItemCollection.cs
- PolicyChain.cs
- VersionUtil.cs
- XamlSerializationHelper.cs
- EpmAttributeNameBuilder.cs
- HitTestResult.cs
- StorageInfo.cs
- COM2PictureConverter.cs
- WebHeaderCollection.cs
- DbConnectionFactory.cs
- FunctionNode.cs
- webbrowsersite.cs
- ProcessHost.cs
- SelectionRange.cs
- TextEditorTyping.cs
- ProtocolReflector.cs
- ListMarkerLine.cs
- PageContentCollection.cs
- NamespaceInfo.cs
- UMPAttributes.cs
- SByte.cs
- RightsManagementEncryptedStream.cs
- ElementMarkupObject.cs
- OperationValidationEventArgs.cs
- ClientOptions.cs
- xamlnodes.cs
- BackStopAuthenticationModule.cs
- SiblingIterators.cs
- SystemException.cs
- ToolTip.cs
- ImageUrlEditor.cs
- XmlSchemaExporter.cs
- RequestCachePolicyConverter.cs
- CapabilitiesState.cs
- BoolExpression.cs
- InitializationEventAttribute.cs
- ContentElement.cs
- DesignerDataTable.cs
- TCPListener.cs
- KeyBinding.cs
- RowUpdatedEventArgs.cs
- TabPanel.cs
- NameSpaceExtractor.cs
- OleDbRowUpdatedEvent.cs
- SwitchLevelAttribute.cs
- CodeAssignStatement.cs
- CompositeKey.cs
- BasicExpressionVisitor.cs
- NgenServicingAttributes.cs
- IgnoreFlushAndCloseStream.cs
- NetSectionGroup.cs
- IPAddressCollection.cs
- OracleConnectionFactory.cs
- AssociationSetMetadata.cs
- CardSpaceException.cs
- ResourceExpressionEditorSheet.cs
- XmlCustomFormatter.cs
- StringStorage.cs
- UserControlBuildProvider.cs
- XmlILOptimizerVisitor.cs
- VarInfo.cs
- AttributeSetAction.cs
- TreeIterators.cs