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
- DisplayNameAttribute.cs
- QilNode.cs
- IconHelper.cs
- IDReferencePropertyAttribute.cs
- PrintDocument.cs
- MatrixValueSerializer.cs
- TraceInternal.cs
- AssemblyHash.cs
- XmlDocumentFragment.cs
- HttpDigestClientCredential.cs
- ParserHooks.cs
- DelegateSerializationHolder.cs
- AsyncPostBackTrigger.cs
- SiteMapSection.cs
- ListViewItem.cs
- ScriptingJsonSerializationSection.cs
- ConfigurationFileMap.cs
- InternalDispatchObject.cs
- ClientProxyGenerator.cs
- ProfileEventArgs.cs
- PriorityQueue.cs
- SmiSettersStream.cs
- DiagnosticsElement.cs
- Missing.cs
- DynamicHyperLink.cs
- SubMenuStyle.cs
- XamlFilter.cs
- TextDecorationCollection.cs
- StickyNoteContentControl.cs
- RelatedImageListAttribute.cs
- SerialPinChanges.cs
- PrintingPermission.cs
- LineVisual.cs
- SecurityTokenValidationException.cs
- ProjectedSlot.cs
- DataContractFormatAttribute.cs
- TypeUnloadedException.cs
- EraserBehavior.cs
- NameScope.cs
- CodeRegionDirective.cs
- Axis.cs
- ToolStripRenderer.cs
- ProcessInputEventArgs.cs
- FixedDocumentPaginator.cs
- EncryptedData.cs
- StateChangeEvent.cs
- CellRelation.cs
- ParenthesizePropertyNameAttribute.cs
- MouseOverProperty.cs
- DigitShape.cs
- XmlSchemaDocumentation.cs
- EntityException.cs
- FixedPageStructure.cs
- NodeFunctions.cs
- GroupBoxRenderer.cs
- Normalization.cs
- UICuesEvent.cs
- IRCollection.cs
- Point4DValueSerializer.cs
- SafeNativeMethodsCLR.cs
- XPathEmptyIterator.cs
- Nodes.cs
- SafeRightsManagementSessionHandle.cs
- ArgumentReference.cs
- HScrollProperties.cs
- TreeNodeCollection.cs
- AliasGenerator.cs
- EntityDataSourceChangedEventArgs.cs
- FreezableDefaultValueFactory.cs
- COM2FontConverter.cs
- DecoderNLS.cs
- OracleCommandSet.cs
- EventWaitHandle.cs
- TargetInvocationException.cs
- DynamicValidatorEventArgs.cs
- ZipQueryOperator.cs
- PolyLineSegment.cs
- DateTimeOffset.cs
- ErrorHandler.cs
- CategoryValueConverter.cs
- StringPropertyBuilder.cs
- DictionaryBase.cs
- PermissionAttributes.cs
- CodeCastExpression.cs
- BaseHashHelper.cs
- FormsAuthenticationTicket.cs
- NativeRecognizer.cs
- SapiGrammar.cs
- EntityViewGenerationConstants.cs
- WindowsSidIdentity.cs
- DbConnectionHelper.cs
- SimpleHandlerFactory.cs
- EntityDataSourceChangingEventArgs.cs
- ListItemsCollectionEditor.cs
- UpdatePanelTrigger.cs
- SafeRightsManagementQueryHandle.cs
- DbConnectionOptions.cs
- AppLevelCompilationSectionCache.cs
- IDictionary.cs
- ListDictionary.cs