Code:
/ WCF / WCF / 3.5.30729.1 / untmp / Orcas / SP / ndp / cdf / src / WCF / ServiceModel / System / ServiceModel / Security / RequestSecurityTokenResponseCollection.cs / 1 / RequestSecurityTokenResponseCollection.cs
//------------------------------------------------------------------------------ // Copyright (c) Microsoft Corporation. All rights reserved. //----------------------------------------------------------------------------- namespace System.ServiceModel.Security { using System.ServiceModel; using System.ServiceModel.Channels; using System.IdentityModel.Claims; using System.IdentityModel.Policy; using System.Xml; using System.Collections.Generic; using System.ServiceModel.Security; using System.Globalization; sealed class RequestSecurityTokenResponseCollection : BodyWriter { IEnumerablerstrCollection; SecurityStandardsManager standardsManager; public RequestSecurityTokenResponseCollection(IEnumerable rstrCollection) : this(rstrCollection, SecurityStandardsManager.DefaultInstance) {} public RequestSecurityTokenResponseCollection(IEnumerable rstrCollection, SecurityStandardsManager standardsManager) : base(true) { if (rstrCollection == null) throw DiagnosticUtility.ExceptionUtility.ThrowHelperArgumentNull("rstrCollection"); int index = 0; foreach (RequestSecurityTokenResponse rstr in rstrCollection) { if (rstr == null) throw DiagnosticUtility.ExceptionUtility.ThrowHelperArgumentNull(String.Format(CultureInfo.InvariantCulture, "rstrCollection[{0}]", index)); ++index; } this.rstrCollection = rstrCollection; if (standardsManager == null) { throw DiagnosticUtility.ExceptionUtility.ThrowHelperError(new ArgumentNullException("standardsManager")); } this.standardsManager = standardsManager; } public IEnumerable RstrCollection { get { return this.rstrCollection; } } public void WriteTo(XmlWriter writer) { this.standardsManager.TrustDriver.WriteRequestSecurityTokenResponseCollection(this, writer); } protected override void OnWriteBodyContents(XmlDictionaryWriter writer) { WriteTo(writer); } } } // 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
- SchemaMapping.cs
- ColorConvertedBitmap.cs
- WindowsPrincipal.cs
- OpenTypeLayoutCache.cs
- TextBox.cs
- ResolveNameEventArgs.cs
- ExpandedWrapper.cs
- Dictionary.cs
- LongTypeConverter.cs
- XmlUrlResolver.cs
- JsonCollectionDataContract.cs
- _OverlappedAsyncResult.cs
- DoubleStorage.cs
- MetaChildrenColumn.cs
- Marshal.cs
- Util.cs
- SchemaMapping.cs
- LiteralControl.cs
- PropertyIDSet.cs
- XmlArrayItemAttribute.cs
- SourceChangedEventArgs.cs
- Int32Rect.cs
- SiteMap.cs
- SafeThemeHandle.cs
- FormDocumentDesigner.cs
- Type.cs
- XmlSchemaSubstitutionGroup.cs
- SpanIndex.cs
- DateBoldEvent.cs
- ConfigurationValues.cs
- bindurihelper.cs
- returneventsaver.cs
- DocumentPaginator.cs
- FixUp.cs
- ObjectListItemCollection.cs
- CodeExporter.cs
- _KerberosClient.cs
- PropertyIDSet.cs
- Stack.cs
- Trigger.cs
- ResourcesBuildProvider.cs
- SafeFindHandle.cs
- ArrayList.cs
- SmtpCommands.cs
- SchemaNames.cs
- LinkArea.cs
- PersonalizableTypeEntry.cs
- ContourSegment.cs
- MemberAssignment.cs
- X509SecurityToken.cs
- QueryAsyncResult.cs
- StateItem.cs
- FormViewModeEventArgs.cs
- ResourceReferenceKeyNotFoundException.cs
- Color.cs
- SystemException.cs
- XmlNodeChangedEventManager.cs
- TreeChangeInfo.cs
- cookie.cs
- CompilationRelaxations.cs
- FileDialog.cs
- Regex.cs
- AsyncResult.cs
- QueryPageSettingsEventArgs.cs
- GridViewDeletedEventArgs.cs
- StorageModelBuildProvider.cs
- ListBindableAttribute.cs
- DiscoveryServerProtocol.cs
- ThreadTrace.cs
- IntSecurity.cs
- XmlCountingReader.cs
- OletxVolatileEnlistment.cs
- SiteMapSection.cs
- CommonObjectSecurity.cs
- Rect3DValueSerializer.cs
- XslTransform.cs
- BaseWebProxyFinder.cs
- EndpointAddress10.cs
- EUCJPEncoding.cs
- DrawingContextWalker.cs
- GenericPrincipal.cs
- NamespaceCollection.cs
- Margins.cs
- SByteConverter.cs
- RemotingClientProxy.cs
- ProcessInputEventArgs.cs
- InProcStateClientManager.cs
- MetadataItemCollectionFactory.cs
- HttpModulesInstallComponent.cs
- ComplusTypeValidator.cs
- Trace.cs
- CompModHelpers.cs
- Stopwatch.cs
- NavigationEventArgs.cs
- OdbcPermission.cs
- TemplateBamlRecordReader.cs
- KeyFrames.cs
- InputElement.cs
- EditorPartChrome.cs
- MonthCalendar.cs