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
- SafeFileMappingHandle.cs
- StyleReferenceConverter.cs
- ExternalFile.cs
- PropertyValueUIItem.cs
- ComponentGlyph.cs
- EFAssociationProvider.cs
- FloaterBaseParaClient.cs
- SvcMapFile.cs
- ParserContext.cs
- UpdatePanelTriggerCollection.cs
- RemoteWebConfigurationHost.cs
- CodeGenerator.cs
- InternalControlCollection.cs
- BinHexEncoder.cs
- UnmanagedBitmapWrapper.cs
- AnnotationObservableCollection.cs
- System.Data_BID.cs
- EncryptedKeyIdentifierClause.cs
- QilDataSource.cs
- COM2IVsPerPropertyBrowsingHandler.cs
- HelloMessage11.cs
- OleDbParameter.cs
- ExceptionList.cs
- StyleXamlParser.cs
- PageHandlerFactory.cs
- Repeater.cs
- DrawingDrawingContext.cs
- OracleBFile.cs
- MarshalDirectiveException.cs
- GlobalEventManager.cs
- KeyGestureConverter.cs
- BufferedWebEventProvider.cs
- RequestDescription.cs
- DBSchemaTable.cs
- MailWebEventProvider.cs
- SqlCacheDependencyDatabaseCollection.cs
- StrongNameHelpers.cs
- ApplicationFileParser.cs
- SQLDateTime.cs
- ComplusTypeValidator.cs
- CodeSnippetExpression.cs
- UIElementPropertyUndoUnit.cs
- HttpRequestCacheValidator.cs
- SignatureConfirmations.cs
- Stylus.cs
- DynamicILGenerator.cs
- CodeConditionStatement.cs
- SafeCryptContextHandle.cs
- SoapIgnoreAttribute.cs
- XmlSchemaAttributeGroup.cs
- DetailsViewRowCollection.cs
- Misc.cs
- ToolStripDropDown.cs
- Error.cs
- CalculatedColumn.cs
- SchemaNotation.cs
- ResourceAssociationSet.cs
- IisTraceListener.cs
- HandlerMappingMemo.cs
- _Rfc2616CacheValidators.cs
- DataIdProcessor.cs
- TraceHandler.cs
- HtmlDocument.cs
- BamlTreeNode.cs
- PropertyEntry.cs
- BoundPropertyEntry.cs
- ScrollBarAutomationPeer.cs
- TableStyle.cs
- OutputCacheSection.cs
- DrawListViewColumnHeaderEventArgs.cs
- ListViewTableCell.cs
- MessageDecoder.cs
- LongSumAggregationOperator.cs
- EntityAdapter.cs
- Control.cs
- SqlDataSource.cs
- Point3DCollectionConverter.cs
- LineInfo.cs
- QueryExpression.cs
- securitycriticaldata.cs
- CodeDesigner.cs
- BrowsableAttribute.cs
- validationstate.cs
- DataSetViewSchema.cs
- Exceptions.cs
- CurrentChangingEventManager.cs
- ListBase.cs
- UpdateTranslator.cs
- RuntimeConfigLKG.cs
- FixedSOMTextRun.cs
- RuntimeResourceSet.cs
- LinkTarget.cs
- EntityKeyElement.cs
- IndexedGlyphRun.cs
- ResourceWriter.cs
- RedistVersionInfo.cs
- FontConverter.cs
- CustomAssemblyResolver.cs
- SqlErrorCollection.cs
- MatrixKeyFrameCollection.cs