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
- CustomGrammar.cs
- AssemblyHash.cs
- WindowsNonControl.cs
- GB18030Encoding.cs
- _StreamFramer.cs
- OracleSqlParser.cs
- DownloadProgressEventArgs.cs
- ConnectionPointCookie.cs
- FrameworkElement.cs
- SizeFConverter.cs
- DataGridViewTopRowAccessibleObject.cs
- DocumentApplication.cs
- TargetInvocationException.cs
- CompressEmulationStream.cs
- FormViewDesigner.cs
- NavigationFailedEventArgs.cs
- DefaultTextStoreTextComposition.cs
- SplineKeyFrames.cs
- SqlFacetAttribute.cs
- CodeAccessSecurityEngine.cs
- AsyncOperation.cs
- XPathDocument.cs
- MutexSecurity.cs
- Interop.cs
- RC2.cs
- IResourceProvider.cs
- StrongNameMembershipCondition.cs
- MachineKeyValidationConverter.cs
- ControlDesigner.cs
- TextViewBase.cs
- WebPartDisplayModeEventArgs.cs
- FreezableDefaultValueFactory.cs
- SiteOfOriginContainer.cs
- BoundsDrawingContextWalker.cs
- CorePropertiesFilter.cs
- MetadataAssemblyHelper.cs
- MouseBinding.cs
- ControlAdapter.cs
- StrongNameUtility.cs
- TextParagraphProperties.cs
- GeneratedContractType.cs
- ObjectHandle.cs
- XmlEncodedRawTextWriter.cs
- ADMembershipProvider.cs
- HtmlInputText.cs
- RepeatButtonAutomationPeer.cs
- DefinitionBase.cs
- LineGeometry.cs
- BindingManagerDataErrorEventArgs.cs
- ConfigurationErrorsException.cs
- WindowInteractionStateTracker.cs
- KeyPullup.cs
- TemplateField.cs
- EventManager.cs
- Int32CAMarshaler.cs
- BaseHashHelper.cs
- SafeSecurityHandles.cs
- OutputCacheEntry.cs
- WebPartDescriptionCollection.cs
- StringFreezingAttribute.cs
- BaseHashHelper.cs
- CompiledQuery.cs
- MenuItem.cs
- SQLGuidStorage.cs
- EntityCommandCompilationException.cs
- _SslState.cs
- Tuple.cs
- SqlUnionizer.cs
- ExportOptions.cs
- DynamicDataRouteHandler.cs
- WebPartZoneBase.cs
- VisualTreeHelper.cs
- JsonFormatMapping.cs
- BlockCollection.cs
- BamlRecordHelper.cs
- Registry.cs
- DtrList.cs
- StreamInfo.cs
- WindowsAuthenticationModule.cs
- Simplifier.cs
- HitTestWithPointDrawingContextWalker.cs
- ModelProperty.cs
- KeyboardNavigation.cs
- NCryptNative.cs
- SqlTypeConverter.cs
- EventWaitHandleSecurity.cs
- SamlSerializer.cs
- WebPartAuthorizationEventArgs.cs
- FixedNode.cs
- InputChannelBinder.cs
- codemethodreferenceexpression.cs
- TrustSection.cs
- PassportAuthenticationEventArgs.cs
- ManifestResourceInfo.cs
- ByteStorage.cs
- SafeBitVector32.cs
- DataViewSettingCollection.cs
- XmlSchemaAttributeGroup.cs
- TextProviderWrapper.cs
- KeyGestureValueSerializer.cs