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
- StylusPointPropertyInfoDefaults.cs
- ClearCollection.cs
- UpdateTracker.cs
- CompilerResults.cs
- HttpCachePolicyBase.cs
- StylusButton.cs
- SequenceQuery.cs
- SqlRemoveConstantOrderBy.cs
- RepeatEnumerable.cs
- DriveInfo.cs
- ForwardPositionQuery.cs
- DataTablePropertyDescriptor.cs
- WebPartTracker.cs
- Symbol.cs
- InputQueue.cs
- SchemaType.cs
- dbdatarecord.cs
- ping.cs
- ToolTip.cs
- SqlCacheDependencySection.cs
- SoapConverter.cs
- DataGridViewAutoSizeModeEventArgs.cs
- ModelItemDictionaryImpl.cs
- ErrorWebPart.cs
- MULTI_QI.cs
- recordstatescratchpad.cs
- HttpStreamMessageEncoderFactory.cs
- ReflectionHelper.cs
- TemplateEditingFrame.cs
- MenuItemStyle.cs
- BitVector32.cs
- SrgsElementFactory.cs
- SQLDoubleStorage.cs
- WebContext.cs
- SamlConditions.cs
- ParentUndoUnit.cs
- StrongTypingException.cs
- TextBoxDesigner.cs
- GAC.cs
- GridViewUpdatedEventArgs.cs
- VideoDrawing.cs
- ContentFilePart.cs
- RIPEMD160Managed.cs
- DesignBindingConverter.cs
- AdornerPresentationContext.cs
- CurrentChangedEventManager.cs
- EraserBehavior.cs
- LinkedDataMemberFieldEditor.cs
- DataGridDetailsPresenter.cs
- SerializationSectionGroup.cs
- PrtCap_Reader.cs
- Error.cs
- FullTextBreakpoint.cs
- RequestUriProcessor.cs
- IdentifierCreationService.cs
- ApplicationActivator.cs
- TimelineCollection.cs
- HScrollProperties.cs
- ProviderConnectionPoint.cs
- Html32TextWriter.cs
- BindingMemberInfo.cs
- DataGridViewSortCompareEventArgs.cs
- NamespaceQuery.cs
- AsymmetricSignatureFormatter.cs
- FontEmbeddingManager.cs
- MemberCollection.cs
- CalendarDateChangedEventArgs.cs
- DataServiceConfiguration.cs
- WebPageTraceListener.cs
- MSG.cs
- ShadowGlyph.cs
- Point3D.cs
- _DisconnectOverlappedAsyncResult.cs
- StateDesigner.LayoutSelectionGlyph.cs
- QuaternionValueSerializer.cs
- DbConnectionStringCommon.cs
- ArraySubsetEnumerator.cs
- EnvelopedPkcs7.cs
- BoundsDrawingContextWalker.cs
- ResolveDuplex11AsyncResult.cs
- WorkflowInstanceExtensionProvider.cs
- DataMemberConverter.cs
- CellLabel.cs
- WebPartsSection.cs
- WebPartMovingEventArgs.cs
- XmlDocumentSerializer.cs
- ToolStripDropDown.cs
- COM2TypeInfoProcessor.cs
- ChineseLunisolarCalendar.cs
- ValidatedMobileControlConverter.cs
- RoutedPropertyChangedEventArgs.cs
- ResourcePropertyMemberCodeDomSerializer.cs
- ObjectTag.cs
- VBCodeProvider.cs
- MultilineStringEditor.cs
- Focus.cs
- KeyToListMap.cs
- HttpContextWrapper.cs
- DropTarget.cs
- selecteditemcollection.cs