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
- ReadOnlyDataSource.cs
- InputProcessorProfilesLoader.cs
- DrawingImage.cs
- ToolboxComponentsCreatingEventArgs.cs
- BatchServiceHost.cs
- MessageDecoder.cs
- EntityConnection.cs
- ISFClipboardData.cs
- UnsafeNativeMethods.cs
- DataGridRelationshipRow.cs
- ModelPropertyCollectionImpl.cs
- ResourcePermissionBase.cs
- EditingScope.cs
- TemplateBindingExtensionConverter.cs
- ScalarOps.cs
- ExtensionFile.cs
- SpeakInfo.cs
- OperationCanceledException.cs
- MessageDroppedTraceRecord.cs
- MatchingStyle.cs
- DesignerActionItem.cs
- ThreadStateException.cs
- ResourceCategoryAttribute.cs
- ValueUnavailableException.cs
- SharedStream.cs
- PackageStore.cs
- ToolStripGripRenderEventArgs.cs
- XhtmlTextWriter.cs
- HttpDebugHandler.cs
- QilParameter.cs
- WebPartRestoreVerb.cs
- ExtentKey.cs
- ManagementObject.cs
- DoubleCollection.cs
- HitTestResult.cs
- StorageMappingFragment.cs
- ConfigurationManagerHelperFactory.cs
- ToolStripDropTargetManager.cs
- BooleanStorage.cs
- PackageRelationshipCollection.cs
- PropertiesTab.cs
- dataprotectionpermission.cs
- InputBuffer.cs
- MarkupCompilePass2.cs
- XmlSerializationWriter.cs
- ImageConverter.cs
- Assembly.cs
- GraphicsState.cs
- HMACSHA1.cs
- PersonalizationDictionary.cs
- TagPrefixInfo.cs
- MsmqIntegrationProcessProtocolHandler.cs
- OrderedDictionary.cs
- HorizontalAlignConverter.cs
- SystemWebExtensionsSectionGroup.cs
- TrackingRecord.cs
- TailCallAnalyzer.cs
- CancelEventArgs.cs
- FastPropertyAccessor.cs
- RemoteWebConfigurationHostServer.cs
- SelectionListDesigner.cs
- SocketException.cs
- PasswordRecovery.cs
- BamlRecords.cs
- NameTable.cs
- InputLanguageEventArgs.cs
- BaseParser.cs
- log.cs
- ServiceEndpoint.cs
- OlePropertyStructs.cs
- mactripleDES.cs
- ColumnResizeAdorner.cs
- OutputScope.cs
- IntegrationExceptionEventArgs.cs
- NavigationPropertyAccessor.cs
- CharacterShapingProperties.cs
- ConnectionPoint.cs
- SiteMapNodeItemEventArgs.cs
- ContextMenuStripGroupCollection.cs
- CommandValueSerializer.cs
- ActivationArguments.cs
- ContainerParaClient.cs
- PtsHelper.cs
- ExceptQueryOperator.cs
- DetailsViewDeleteEventArgs.cs
- InvalidateEvent.cs
- RemoteWebConfigurationHostStream.cs
- ProxyHwnd.cs
- OleDbEnumerator.cs
- DataGridViewColumnCollection.cs
- DrawingContextFlattener.cs
- ObjectDataSourceMethodEventArgs.cs
- HebrewNumber.cs
- ResXResourceReader.cs
- Subtree.cs
- ParameterToken.cs
- WmlTextViewAdapter.cs
- RandomNumberGenerator.cs
- AuthenticationModuleElement.cs
- XmlRootAttribute.cs