Code:
/ 4.0 / 4.0 / untmp / DEVDIV_TFS / Dev10 / Releases / RTMRel / ndp / cdf / src / WCF / IdentityModel / System / IdentityModel / Tokens / SamlNameIdentifierClaimResource.cs / 1305376 / SamlNameIdentifierClaimResource.cs
//------------------------------------------------------------------------------ // Copyright (c) Microsoft Corporation. All rights reserved. //----------------------------------------------------------------------------- using System; using System.Collections.Generic; using System.Text; using System.Runtime.Serialization; namespace System.IdentityModel.Tokens { [DataContract] public class SamlNameIdentifierClaimResource { [DataMember] string nameQualifier; [DataMember] string format; [DataMember] string name; [OnDeserialized] void OnDeserialized(StreamingContext ctx) { if (String.IsNullOrEmpty(this.name)) throw DiagnosticUtility.ExceptionUtility.ThrowHelperArgument("name"); } public SamlNameIdentifierClaimResource(string name, string nameQualifier, string format) { if (String.IsNullOrEmpty(name)) throw DiagnosticUtility.ExceptionUtility.ThrowHelperArgument("name"); this.name = name; this.nameQualifier = nameQualifier; this.format = format; } public string NameQualifier { get { return this.nameQualifier; } } public string Format { get { return this.format; } } public string Name { get { return this.name; } } public override bool Equals(object obj) { if (obj == null) return false; if (ReferenceEquals(this, obj)) return true; SamlNameIdentifierClaimResource rhs = obj as SamlNameIdentifierClaimResource; if (rhs == null) return false; return ((this.nameQualifier == rhs.nameQualifier) && (this.format == rhs.format) && (this.name == rhs.name)); } public override int GetHashCode() { return this.name.GetHashCode(); } } } // 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
- ParallelDesigner.cs
- ItemCheckEvent.cs
- GeneralTransform3DTo2DTo3D.cs
- WindowsAuthenticationModule.cs
- DescendantBaseQuery.cs
- XmlSchemaExternal.cs
- WebPartConnectionsCloseVerb.cs
- StylusPointPropertyInfoDefaults.cs
- HijriCalendar.cs
- WebPartHeaderCloseVerb.cs
- ComboBoxItem.cs
- ContextStack.cs
- BlurEffect.cs
- Int32CAMarshaler.cs
- BindUriHelper.cs
- EmptyCollection.cs
- MdiWindowListItemConverter.cs
- PointValueSerializer.cs
- FileSystemEventArgs.cs
- PackageProperties.cs
- IntegerValidator.cs
- DataGridToolTip.cs
- AssemblyNameUtility.cs
- VariantWrapper.cs
- X509CertificateCollection.cs
- InfoCardSymmetricCrypto.cs
- StretchValidation.cs
- Registry.cs
- HtmlTableRow.cs
- StrokeNodeEnumerator.cs
- ColumnHeaderCollectionEditor.cs
- BamlLocalizabilityResolver.cs
- HttpVersion.cs
- Activator.cs
- CellQuery.cs
- SerializationSectionGroup.cs
- GeneralTransform3DGroup.cs
- DbProviderServices.cs
- ConstNode.cs
- XmlCompatibilityReader.cs
- ItemDragEvent.cs
- ObjectFactoryCodeDomTreeGenerator.cs
- FolderBrowserDialog.cs
- AsymmetricKeyExchangeDeformatter.cs
- FlatButtonAppearance.cs
- SqlHelper.cs
- DeferredElementTreeState.cs
- ValueUtilsSmi.cs
- DbSetClause.cs
- Attributes.cs
- SettingsPropertyWrongTypeException.cs
- StateBag.cs
- TextPattern.cs
- SubMenuStyleCollection.cs
- TargetException.cs
- BoolLiteral.cs
- ISAPIRuntime.cs
- ViewLoader.cs
- ImmutableDispatchRuntime.cs
- XmlBinaryReader.cs
- ListControlConvertEventArgs.cs
- FreezableOperations.cs
- XamlTypeMapperSchemaContext.cs
- BuildManagerHost.cs
- RowUpdatedEventArgs.cs
- HebrewNumber.cs
- ProtocolsConfiguration.cs
- SafeArrayTypeMismatchException.cs
- util.cs
- XmlEncodedRawTextWriter.cs
- HttpModuleActionCollection.cs
- objectresult_tresulttype.cs
- ServerValidateEventArgs.cs
- MimeBasePart.cs
- Menu.cs
- COM2PictureConverter.cs
- WebPartConnectVerb.cs
- ScrollEventArgs.cs
- InstanceNameConverter.cs
- EntityDataSourceDesigner.cs
- TimelineGroup.cs
- ToolStripItemRenderEventArgs.cs
- sapiproxy.cs
- DataGridViewCheckBoxCell.cs
- DataGridTablesFactory.cs
- GiveFeedbackEvent.cs
- GridViewSelectEventArgs.cs
- DateTimeFormatInfoScanner.cs
- TraceHandler.cs
- CompoundFileStreamReference.cs
- CFGGrammar.cs
- PreviewKeyDownEventArgs.cs
- PortCache.cs
- IteratorFilter.cs
- SiteMapNodeItemEventArgs.cs
- XmlMapping.cs
- DefaultWorkflowTransactionService.cs
- ClientRuntimeConfig.cs
- DoubleCollection.cs
- AttachedPropertyInfo.cs