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
- FileCodeGroup.cs
- OdbcConnectionOpen.cs
- Int16AnimationBase.cs
- GetLedgerEntryForRecipientRequest.cs
- ScalarConstant.cs
- ItemAutomationPeer.cs
- KeyValuePair.cs
- OAVariantLib.cs
- Animatable.cs
- ColorEditor.cs
- LocationChangedEventArgs.cs
- InputScopeAttribute.cs
- RowSpanVector.cs
- PagesChangedEventArgs.cs
- HttpPostedFile.cs
- RepeatInfo.cs
- SymmetricKeyWrap.cs
- RevocationPoint.cs
- EntityCommandExecutionException.cs
- HtmlInputCheckBox.cs
- LayoutEditorPart.cs
- ColumnCollection.cs
- CalendarAutomationPeer.cs
- bidPrivateBase.cs
- DataServiceRequestOfT.cs
- VersionPair.cs
- ObjectParameterCollection.cs
- UnsafeNativeMethods.cs
- XmlUtil.cs
- AtomMaterializerLog.cs
- Panel.cs
- DataTemplateKey.cs
- TemplateBindingExtension.cs
- WebPartUtil.cs
- MediaEntryAttribute.cs
- DataColumnCollection.cs
- HttpListenerResponse.cs
- ServiceProviders.cs
- FixedTextSelectionProcessor.cs
- OleStrCAMarshaler.cs
- CheckedPointers.cs
- XamlWrappingReader.cs
- TdsParserSafeHandles.cs
- ListSourceHelper.cs
- TemplateColumn.cs
- PrincipalPermission.cs
- EntityCommand.cs
- IRCollection.cs
- WebBrowserUriTypeConverter.cs
- DateTimeParse.cs
- TypeUtil.cs
- DBProviderConfigurationHandler.cs
- IItemContainerGenerator.cs
- oledbmetadatacollectionnames.cs
- ScrollBarAutomationPeer.cs
- SqlMethodTransformer.cs
- NetworkAddressChange.cs
- NotifyParentPropertyAttribute.cs
- DataGridColumnHeadersPresenterAutomationPeer.cs
- NamespaceInfo.cs
- MessageSmuggler.cs
- PreviewPageInfo.cs
- Compiler.cs
- GridViewRowPresenterBase.cs
- XmlSchemaAnyAttribute.cs
- Dictionary.cs
- SurrogateSelector.cs
- DesignerTransaction.cs
- MinimizableAttributeTypeConverter.cs
- XmlSchemaAnyAttribute.cs
- Subordinate.cs
- PersistenceException.cs
- SettingsProperty.cs
- TreeWalker.cs
- DataGridViewEditingControlShowingEventArgs.cs
- WebPartManagerDesigner.cs
- UnauthorizedAccessException.cs
- AnimationClockResource.cs
- DataGridPagerStyle.cs
- SafeUserTokenHandle.cs
- PathTooLongException.cs
- AtomServiceDocumentSerializer.cs
- WindowsTab.cs
- ErasingStroke.cs
- BaseInfoTable.cs
- ChannelBinding.cs
- EntityDescriptor.cs
- StringAnimationUsingKeyFrames.cs
- StringValueConverter.cs
- AdjustableArrowCap.cs
- JournalEntryListConverter.cs
- HttpChannelHelpers.cs
- EntityEntry.cs
- Win32SafeHandles.cs
- AstTree.cs
- VarInfo.cs
- RequiredAttributeAttribute.cs
- EventProperty.cs
- XmlSchemaNotation.cs
- NonValidatingSecurityTokenAuthenticator.cs