Code:
/ 4.0 / 4.0 / untmp / DEVDIV_TFS / Dev10 / Releases / RTMRel / ndp / cdf / src / WCF / IdentityModel / System / IdentityModel / Tokens / SamlNameIdentifierClaimResource.cs / 1305376 / 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.
Link Menu
This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- ChangePasswordAutoFormat.cs
- ContainerUtilities.cs
- HandlerFactoryCache.cs
- BinaryParser.cs
- MD5.cs
- InterleavedZipPartStream.cs
- EasingFunctionBase.cs
- XMLSyntaxException.cs
- SequenceDesigner.xaml.cs
- LongPath.cs
- IndexedGlyphRun.cs
- SiteMembershipCondition.cs
- IncrementalHitTester.cs
- HealthMonitoringSectionHelper.cs
- AccessDataSource.cs
- DBSchemaRow.cs
- TextSelection.cs
- BindingExpression.cs
- SoapRpcMethodAttribute.cs
- SByte.cs
- ColorConvertedBitmapExtension.cs
- WebPartVerb.cs
- BindingListCollectionView.cs
- PathNode.cs
- CollectionBuilder.cs
- TransformConverter.cs
- CodeDomConfigurationHandler.cs
- SelectedCellsCollection.cs
- WorkflowDesignerColors.cs
- RegexRunnerFactory.cs
- PropertiesTab.cs
- CreatingCookieEventArgs.cs
- SchemaContext.cs
- SessionStateContainer.cs
- VirtualizingStackPanel.cs
- DataGridViewSortCompareEventArgs.cs
- ObjectSecurity.cs
- IncrementalCompileAnalyzer.cs
- GridViewColumnCollection.cs
- DelayDesigner.cs
- Grammar.cs
- SQLDecimalStorage.cs
- DataGridViewCellValidatingEventArgs.cs
- IssuedSecurityTokenProvider.cs
- TextTreePropertyUndoUnit.cs
- OdbcReferenceCollection.cs
- VirtualPathUtility.cs
- InkCanvasFeedbackAdorner.cs
- TreeNode.cs
- AsymmetricCryptoHandle.cs
- TextFindEngine.cs
- SignedXmlDebugLog.cs
- Message.cs
- WebControlsSection.cs
- TrackingDataItem.cs
- SqlDelegatedTransaction.cs
- Ops.cs
- HierarchicalDataTemplate.cs
- AccessorTable.cs
- ValidationHelper.cs
- DurableTimerExtension.cs
- SafeRightsManagementSessionHandle.cs
- KeyNameIdentifierClause.cs
- XmlUtil.cs
- ToolStripDropTargetManager.cs
- WinInetCache.cs
- SafeHandles.cs
- SchemaMerger.cs
- PasswordBoxAutomationPeer.cs
- ChannelDispatcher.cs
- MoveSizeWinEventHandler.cs
- StoreUtilities.cs
- UnicodeEncoding.cs
- CategoryAttribute.cs
- JsonReader.cs
- ServicePointManager.cs
- RSAOAEPKeyExchangeFormatter.cs
- DPCustomTypeDescriptor.cs
- FusionWrap.cs
- TextTreeFixupNode.cs
- SqlAliaser.cs
- CodeDelegateCreateExpression.cs
- ComboBoxHelper.cs
- Registration.cs
- TreeNodeCollection.cs
- DesignerProperties.cs
- BufferBuilder.cs
- BinaryObjectReader.cs
- ListManagerBindingsCollection.cs
- SmtpAuthenticationManager.cs
- WebPartConnectVerb.cs
- LinqDataSourceUpdateEventArgs.cs
- EditorZone.cs
- CounterSample.cs
- PeerTransportListenAddressValidator.cs
- URI.cs
- HashHelper.cs
- ProcessHostFactoryHelper.cs
- ObjectReferenceStack.cs
- SystemTcpConnection.cs