Code:
/ 4.0 / 4.0 / DEVDIV_TFS / Dev10 / Releases / RTMRel / ndp / cdf / src / WCF / infocard / Client / System / IdentityModel / Selectors / CardSpacePolicyElement.cs / 1305376 / 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. //----------------------------------------------------------------------------- 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; Collection m_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.
Link Menu
This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- SecurityCriticalDataForSet.cs
- SqlComparer.cs
- ColumnPropertiesGroup.cs
- InfoCardClaimCollection.cs
- SecurityException.cs
- DuplexSecurityProtocolFactory.cs
- XmlElementList.cs
- AutomationElement.cs
- AutoResetEvent.cs
- BooleanToVisibilityConverter.cs
- SurrogateChar.cs
- RijndaelManaged.cs
- StrokeIntersection.cs
- DataAdapter.cs
- SemaphoreFullException.cs
- RunInstallerAttribute.cs
- KnownBoxes.cs
- WeakRefEnumerator.cs
- SimpleRecyclingCache.cs
- UniqueIdentifierService.cs
- AnimationException.cs
- FormatterConverter.cs
- SmtpCommands.cs
- AssociationTypeEmitter.cs
- GraphicsContext.cs
- SaveFileDialog.cs
- Listbox.cs
- DataGridViewHeaderCell.cs
- ActivityCodeDomSerializer.cs
- MarshalDirectiveException.cs
- DnsElement.cs
- OperatingSystem.cs
- SystemIPInterfaceStatistics.cs
- FileSystemInfo.cs
- ValidatorCompatibilityHelper.cs
- CapabilitiesRule.cs
- LoginName.cs
- AnnotationResourceChangedEventArgs.cs
- ByteArrayHelperWithString.cs
- ProxyWebPartManagerDesigner.cs
- RijndaelManagedTransform.cs
- TemplateBuilder.cs
- dataobject.cs
- ListDataHelper.cs
- OpenFileDialog.cs
- XmlDocument.cs
- KeyValuePairs.cs
- ToolTipService.cs
- AuthStoreRoleProvider.cs
- HtmlToClrEventProxy.cs
- WebPartCancelEventArgs.cs
- MetadataArtifactLoader.cs
- ButtonRenderer.cs
- RecordsAffectedEventArgs.cs
- PreProcessor.cs
- IDQuery.cs
- TreeBuilderBamlTranslator.cs
- OdbcConnectionHandle.cs
- EventBuilder.cs
- PolicyManager.cs
- SqlDataSourceView.cs
- NetworkStream.cs
- StopRoutingHandler.cs
- Sql8ConformanceChecker.cs
- StylusTip.cs
- SqlServer2KCompatibilityCheck.cs
- SQLChars.cs
- SafeWaitHandle.cs
- DBBindings.cs
- XmlSchemaValidator.cs
- CryptoKeySecurity.cs
- Site.cs
- TimelineClockCollection.cs
- RoleManagerEventArgs.cs
- ListViewSelectEventArgs.cs
- XsltContext.cs
- UnconditionalPolicy.cs
- SpeechSynthesizer.cs
- DataGridViewRowPostPaintEventArgs.cs
- CallbackException.cs
- RegexTree.cs
- _IPv6Address.cs
- XmlSerializationGeneratedCode.cs
- HtmlTableCellCollection.cs
- CharEnumerator.cs
- HttpRuntime.cs
- PrivilegedConfigurationManager.cs
- ConfigurationManagerInternal.cs
- Context.cs
- DataGridTablesFactory.cs
- PermissionSet.cs
- ParseHttpDate.cs
- BamlLocalizabilityResolver.cs
- Decimal.cs
- ListViewItem.cs
- ActivityDesignerResources.cs
- HtmlObjectListAdapter.cs
- OrderPreservingSpoolingTask.cs
- AsymmetricKeyExchangeFormatter.cs
- WpfGeneratedKnownTypes.cs