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
- DataView.cs
- PartitionerQueryOperator.cs
- PlatformNotSupportedException.cs
- DesignerEditorPartChrome.cs
- SQLDateTime.cs
- BlockCollection.cs
- SqlConnectionFactory.cs
- basevalidator.cs
- SQLDouble.cs
- ListViewGroupItemCollection.cs
- StylusPlugin.cs
- ModelVisual3D.cs
- ScriptBehaviorDescriptor.cs
- AutomationTextAttribute.cs
- SQLConvert.cs
- ImageAttributes.cs
- TextSimpleMarkerProperties.cs
- PackageDigitalSignatureManager.cs
- LinearQuaternionKeyFrame.cs
- ClientOperation.cs
- ScriptResourceInfo.cs
- LocalValueEnumerator.cs
- XmlSchemaAttributeGroup.cs
- DetailsViewRowCollection.cs
- ComplexPropertyEntry.cs
- AssemblyBuilder.cs
- SecurityHelper.cs
- MatrixTransform.cs
- Main.cs
- DataGridItem.cs
- SizeAnimationBase.cs
- TextStore.cs
- PTManager.cs
- ReflectionServiceProvider.cs
- PngBitmapDecoder.cs
- ReadOnlyDictionary.cs
- SwitchCase.cs
- DataViewManagerListItemTypeDescriptor.cs
- ButtonAutomationPeer.cs
- DefaultBindingPropertyAttribute.cs
- SqlErrorCollection.cs
- DecoderReplacementFallback.cs
- ObjectDataSource.cs
- CodeSnippetCompileUnit.cs
- BypassElement.cs
- PieceDirectory.cs
- ConnectionPointGlyph.cs
- DbProviderFactory.cs
- CodeSnippetTypeMember.cs
- ColorMatrix.cs
- AvTraceDetails.cs
- SafeSecurityHelper.cs
- TimeStampChecker.cs
- ContainerVisual.cs
- TextRangeBase.cs
- RemotingException.cs
- BindingList.cs
- TextElementCollection.cs
- KnownTypesHelper.cs
- TemplateControlCodeDomTreeGenerator.cs
- ExecutedRoutedEventArgs.cs
- Expr.cs
- SemanticResolver.cs
- Pen.cs
- GPPOINT.cs
- RijndaelCryptoServiceProvider.cs
- ExpandCollapsePattern.cs
- XPathNodeIterator.cs
- MessageLoggingFilterTraceRecord.cs
- ArgumentsParser.cs
- Roles.cs
- CodeTypeReferenceCollection.cs
- Part.cs
- StringStorage.cs
- ProcessHostServerConfig.cs
- View.cs
- DataFormats.cs
- PtsContext.cs
- EditorZoneBase.cs
- ListViewGroupItemCollection.cs
- Header.cs
- TextEditorCharacters.cs
- LOSFormatter.cs
- ProfileEventArgs.cs
- DbProviderServices.cs
- BaseCollection.cs
- ZipFileInfo.cs
- UpdatePanelTriggerCollection.cs
- JpegBitmapEncoder.cs
- StackBuilderSink.cs
- coordinatorscratchpad.cs
- SolidBrush.cs
- ProfileParameter.cs
- PathFigureCollection.cs
- GridEntryCollection.cs
- PolyLineSegmentFigureLogic.cs
- DataKeyArray.cs
- TraceContext.cs
- StorageEndPropertyMapping.cs
- DesignerSelectionListAdapter.cs