Code:
/ WCF / WCF / 3.5.30729.1 / untmp / Orcas / SP / ndp / cdf / src / WCF / IdentityModel / System / IdentityModel / Tokens / SamlNameIdentifierClaimResource.cs / 1 / 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. // Copyright (c) Microsoft Corporation. All rights reserved.
Link Menu
This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- DataTemplateKey.cs
- FixedDocumentPaginator.cs
- EvidenceBase.cs
- MenuAutomationPeer.cs
- CacheEntry.cs
- DataGridTableCollection.cs
- DataGridViewAutoSizeColumnsModeEventArgs.cs
- SqlMethods.cs
- ParserHooks.cs
- RoutedUICommand.cs
- XPathAncestorIterator.cs
- Int32Collection.cs
- SecurityUtils.cs
- TagPrefixInfo.cs
- TransactionOptions.cs
- ClientSettingsSection.cs
- BamlResourceSerializer.cs
- BitArray.cs
- DoubleLinkListEnumerator.cs
- _DisconnectOverlappedAsyncResult.cs
- FrameSecurityDescriptor.cs
- InvariantComparer.cs
- FixedSOMPageElement.cs
- IndicShape.cs
- BindingExpressionUncommonField.cs
- CharAnimationBase.cs
- SqlDataSourceCache.cs
- _SslSessionsCache.cs
- XDRSchema.cs
- DesignerEventService.cs
- KeyConverter.cs
- XamlToRtfParser.cs
- KeyGestureConverter.cs
- WhiteSpaceTrimStringConverter.cs
- UnsafeNativeMethods.cs
- LightweightEntityWrapper.cs
- APCustomTypeDescriptor.cs
- DiscoveryClientReferences.cs
- Baml2006KnownTypes.cs
- MessageParameterAttribute.cs
- CompositeCollectionView.cs
- PageVisual.cs
- TemplateManager.cs
- GridLengthConverter.cs
- SqlBulkCopy.cs
- TimeoutValidationAttribute.cs
- DSASignatureDeformatter.cs
- Dynamic.cs
- ProcessModelSection.cs
- XmlIncludeAttribute.cs
- Point3DKeyFrameCollection.cs
- Method.cs
- WinOEToolBoxItem.cs
- XmlElementAttribute.cs
- DataGridViewMethods.cs
- SplineQuaternionKeyFrame.cs
- XmlSchemaElement.cs
- CompilationUnit.cs
- Simplifier.cs
- EntityModelSchemaGenerator.cs
- SiteMap.cs
- OracleConnection.cs
- XamlParser.cs
- DataGridAutoFormat.cs
- GetRecipientRequest.cs
- SafeHandle.cs
- DataGridCellInfo.cs
- PropertyDescriptorCollection.cs
- SequentialUshortCollection.cs
- DXD.cs
- BitmapEffectDrawingContextState.cs
- _LocalDataStore.cs
- DataSpaceManager.cs
- RoleManagerModule.cs
- Predicate.cs
- ContainerParaClient.cs
- AutoCompleteStringCollection.cs
- DataGridViewCellStyleChangedEventArgs.cs
- InternalBase.cs
- ExeContext.cs
- LingerOption.cs
- ToolboxComponentsCreatedEventArgs.cs
- NamespaceInfo.cs
- DateTimeOffsetStorage.cs
- Metadata.cs
- CompositeScriptReferenceEventArgs.cs
- EventLogRecord.cs
- ParseNumbers.cs
- DetailsViewDeleteEventArgs.cs
- StaticResourceExtension.cs
- NativeMethods.cs
- Soap12ServerProtocol.cs
- MethodBody.cs
- ClipboardData.cs
- FlowDecision.cs
- EventManager.cs
- MSAAWinEventWrap.cs
- CodeGroup.cs
- ExceptionRoutedEventArgs.cs
- SecurityTimestamp.cs