Code:
/ 4.0 / 4.0 / untmp / 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.
Link Menu
This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- LinkAreaEditor.cs
- DataSetUtil.cs
- WebPart.cs
- DPTypeDescriptorContext.cs
- _TimerThread.cs
- COM2PropertyDescriptor.cs
- SrgsDocument.cs
- XmlDataSource.cs
- DataGridColumnEventArgs.cs
- CriticalExceptions.cs
- MetadataCacheItem.cs
- XmlRootAttribute.cs
- SEHException.cs
- EntityDataSourceWrapperCollection.cs
- UniformGrid.cs
- ApplicationProxyInternal.cs
- GridLength.cs
- XmlSchemaAttribute.cs
- _TransmitFileOverlappedAsyncResult.cs
- odbcmetadatacolumnnames.cs
- Italic.cs
- FixUpCollection.cs
- serverconfig.cs
- ObjectView.cs
- PageContent.cs
- CornerRadius.cs
- PeerUnsafeNativeMethods.cs
- IPAddressCollection.cs
- NavigationHelper.cs
- TemplateLookupAction.cs
- MetadataArtifactLoaderCompositeResource.cs
- ProcessProtocolHandler.cs
- MemberRelationshipService.cs
- CodeVariableDeclarationStatement.cs
- Composition.cs
- BaseDataBoundControl.cs
- ShaderEffect.cs
- IpcClientManager.cs
- CurrentTimeZone.cs
- TableRowCollection.cs
- GlobalEventManager.cs
- ApplicationInfo.cs
- XPathScanner.cs
- FixedPage.cs
- UpdatableWrapper.cs
- EventMappingSettings.cs
- ExpressionBuilder.cs
- ComponentConverter.cs
- SHA384CryptoServiceProvider.cs
- SqlBooleanizer.cs
- Propagator.Evaluator.cs
- DisplayClaim.cs
- _IPv4Address.cs
- ConfigurationLockCollection.cs
- BindableTemplateBuilder.cs
- GlyphRunDrawing.cs
- FillRuleValidation.cs
- UnsafeNativeMethodsTablet.cs
- GeneralTransform.cs
- SelectionHighlightInfo.cs
- SqlRecordBuffer.cs
- CallbackException.cs
- RadioButton.cs
- ScriptControlManager.cs
- AuthenticationService.cs
- Point.cs
- ACE.cs
- DataControlField.cs
- FormatSettings.cs
- MultiTrigger.cs
- SystemInfo.cs
- DataGridViewCell.cs
- InteropAutomationProvider.cs
- SimpleTypeResolver.cs
- XslTransform.cs
- HasCopySemanticsAttribute.cs
- Rotation3DAnimationUsingKeyFrames.cs
- SiteMapNodeItemEventArgs.cs
- DayRenderEvent.cs
- HtmlControl.cs
- SQLRoleProvider.cs
- HandlerFactoryCache.cs
- SchemaConstraints.cs
- BamlLocalizableResourceKey.cs
- DecimalAnimationUsingKeyFrames.cs
- MethodExpr.cs
- X509InitiatorCertificateServiceElement.cs
- PersonalizableAttribute.cs
- ValidatedControlConverter.cs
- ActivationServices.cs
- XmlImplementation.cs
- ProcessHostServerConfig.cs
- UpdateProgress.cs
- XmlComment.cs
- CounterCreationDataCollection.cs
- WMIGenerator.cs
- EntitySetDataBindingList.cs
- DataGridViewButtonCell.cs
- XhtmlBasicListAdapter.cs
- AssertSection.cs