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
- AssociationEndMember.cs
- ListControl.cs
- XmlAggregates.cs
- FlowDocumentFormatter.cs
- Clause.cs
- XslNumber.cs
- XamlGridLengthSerializer.cs
- BinaryNode.cs
- SiteMapNodeCollection.cs
- Clock.cs
- BufferedReadStream.cs
- fixedPageContentExtractor.cs
- ScriptReferenceEventArgs.cs
- InternalCache.cs
- PathSegment.cs
- IdentityHolder.cs
- SecurityUtils.cs
- ObjectConverter.cs
- FixedPageProcessor.cs
- ObjectContextServiceProvider.cs
- GenericTextProperties.cs
- DataGridViewCellCollection.cs
- VisualCollection.cs
- DecimalAnimation.cs
- WebBrowserProgressChangedEventHandler.cs
- FileNameEditor.cs
- CheckBoxAutomationPeer.cs
- cookie.cs
- EmptyQuery.cs
- HelpKeywordAttribute.cs
- OleDbReferenceCollection.cs
- TransportManager.cs
- LinkedDataMemberFieldEditor.cs
- DesignTimeType.cs
- HeaderPanel.cs
- HierarchicalDataBoundControl.cs
- ColorMatrix.cs
- IgnoreFlushAndCloseStream.cs
- WebPartRestoreVerb.cs
- HttpApplicationStateWrapper.cs
- WindowsRichEditRange.cs
- Quaternion.cs
- CreateUserWizardDesigner.cs
- CodeCastExpression.cs
- ImageFormatConverter.cs
- GraphicsPath.cs
- ISO2022Encoding.cs
- PermissionSetTriple.cs
- ItemAutomationPeer.cs
- SourceLineInfo.cs
- ViewEventArgs.cs
- DataGridTextBox.cs
- TabletCollection.cs
- ObjectSet.cs
- ZipIOCentralDirectoryFileHeader.cs
- QuaternionRotation3D.cs
- ErrorLog.cs
- MULTI_QI.cs
- ExtenderHelpers.cs
- NegotiateStream.cs
- XmlName.cs
- _OSSOCK.cs
- BackEase.cs
- TextRangeEditLists.cs
- XPathScanner.cs
- FunctionNode.cs
- TextureBrush.cs
- CellQuery.cs
- TreeNode.cs
- OpenFileDialog.cs
- Duration.cs
- NativeWindow.cs
- CipherData.cs
- NotConverter.cs
- QueryOutputWriterV1.cs
- RemoteWebConfigurationHostServer.cs
- ModelVisual3D.cs
- DesignerUtility.cs
- ComplusEndpointConfigContainer.cs
- Rules.cs
- NamespaceDisplay.xaml.cs
- keycontainerpermission.cs
- BindingList.cs
- DataGridViewRowsAddedEventArgs.cs
- TimelineGroup.cs
- BuildProviderUtils.cs
- DirectionalLight.cs
- RegisteredDisposeScript.cs
- OdbcEnvironmentHandle.cs
- BeginStoryboard.cs
- FocusManager.cs
- SafeLocalMemHandle.cs
- DesignTimeType.cs
- ViewService.cs
- EntityDataSourceDesignerHelper.cs
- TimeSpanParse.cs
- StatusBar.cs
- SamlAuthorizationDecisionStatement.cs
- FileUtil.cs
- ManipulationStartingEventArgs.cs