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
- PropertyTabChangedEvent.cs
- Operand.cs
- DateTimeParse.cs
- Composition.cs
- FixedLineResult.cs
- FocusTracker.cs
- translator.cs
- SessionStateUtil.cs
- Axis.cs
- Fx.cs
- Trace.cs
- HtmlSelect.cs
- SimpleHandlerFactory.cs
- WebMessageEncoderFactory.cs
- TextSpanModifier.cs
- SecurityException.cs
- DesigntimeLicenseContextSerializer.cs
- LinearGradientBrush.cs
- X509RawDataKeyIdentifierClause.cs
- hwndwrapper.cs
- SelfIssuedTokenFactoryCredential.cs
- CryptoHelper.cs
- ScrollViewer.cs
- ParenthesizePropertyNameAttribute.cs
- GraphicsState.cs
- PointConverter.cs
- IdentityValidationException.cs
- DialogResultConverter.cs
- TextFormatterImp.cs
- SqlNodeTypeOperators.cs
- Nullable.cs
- TypeExtensionConverter.cs
- MemberRelationshipService.cs
- PeerApplication.cs
- WinEventTracker.cs
- SmtpNtlmAuthenticationModule.cs
- TdsEnums.cs
- BufferAllocator.cs
- WeakHashtable.cs
- CatalogPartCollection.cs
- SQLInt16Storage.cs
- WebPartCatalogCloseVerb.cs
- URLIdentityPermission.cs
- EarlyBoundInfo.cs
- IDictionary.cs
- SafeNativeMethods.cs
- DataServiceQuery.cs
- AttributeUsageAttribute.cs
- TextParentUndoUnit.cs
- PropertyConverter.cs
- DataGridViewAutoSizeColumnsModeEventArgs.cs
- TextHidden.cs
- StorageModelBuildProvider.cs
- ContainerVisual.cs
- SamlAudienceRestrictionCondition.cs
- DataMisalignedException.cs
- NamedObject.cs
- HtmlFormAdapter.cs
- SmiEventSink_DeferedProcessing.cs
- TreeViewAutomationPeer.cs
- PeerCollaborationPermission.cs
- __Error.cs
- ElementAction.cs
- Semaphore.cs
- ZipIOFileItemStream.cs
- FullTextLine.cs
- EllipticalNodeOperations.cs
- TraceRecords.cs
- LinearGradientBrush.cs
- dbenumerator.cs
- WriterOutput.cs
- WebPartConnectionsConfigureVerb.cs
- TerminatorSinks.cs
- SchemaCollectionCompiler.cs
- SpellerError.cs
- UnsafeNativeMethodsTablet.cs
- CustomErrorsSectionWrapper.cs
- EventSinkHelperWriter.cs
- MSG.cs
- GridViewRowCollection.cs
- DataGridColumn.cs
- DrawingContextDrawingContextWalker.cs
- PersonalizableTypeEntry.cs
- Deserializer.cs
- ForeignKeyConstraint.cs
- MetadataItemCollectionFactory.cs
- DeflateEmulationStream.cs
- DataGridViewAutoSizeModeEventArgs.cs
- ImageDrawing.cs
- Decoder.cs
- UnionExpr.cs
- TypeUnloadedException.cs
- RepeatButton.cs
- SequenceFullException.cs
- XPathPatternParser.cs
- PromptStyle.cs
- SoapIncludeAttribute.cs
- SettingsBase.cs
- InternalRelationshipCollection.cs
- BindableAttribute.cs