Code:
/ DotNET / DotNET / 8.0 / untmp / whidbey / REDBITS / ndp / clr / src / BCL / System / Security / Principal / IdentityReference.cs / 1 / IdentityReference.cs
// ==++== // // Copyright (c) Microsoft Corporation. All rights reserved. // // ==--== using System; using System.Security.Policy; // defines Url class using System.Globalization; namespace System.Security.Principal { [System.Runtime.InteropServices.ComVisible(false)] public abstract class IdentityReference { internal IdentityReference() { // exists to prevent creation user-derived classes (for now) } // public abstract string Scheme { get; } public abstract string Value { get; } // public virtual Url Url // { // get { return new Url(""); } // public abstract bool IsValidTargetType( Type targetType ); public abstract IdentityReference Translate( Type targetType ); public override abstract bool Equals( object o ); public override abstract int GetHashCode(); public override abstract string ToString(); public static bool operator==( IdentityReference left, IdentityReference right ) { object l = left; object r = right; if ( l == null && r == null ) { return true; } else if ( l == null || r == null ) { return false; } else { return left.Equals( right ); } } public static bool operator!=( IdentityReference left, IdentityReference right ) { return !( left == right ); // invoke operator== } } }
Link Menu

This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- CodeIdentifier.cs
- StyleBamlTreeBuilder.cs
- HttpInputStream.cs
- ParserContext.cs
- XsltContext.cs
- DisposableCollectionWrapper.cs
- CodeIdentifiers.cs
- CDSCollectionETWBCLProvider.cs
- WasAdminWrapper.cs
- XmlNamedNodeMap.cs
- FormsAuthenticationCredentials.cs
- PropertyReference.cs
- ZipIOExtraFieldZip64Element.cs
- mactripleDES.cs
- _Events.cs
- EncoderParameters.cs
- RequiredFieldValidator.cs
- StateDesigner.LayoutSelectionGlyph.cs
- QilCloneVisitor.cs
- CatalogPartDesigner.cs
- NextPreviousPagerField.cs
- WebPartConnectionsConnectVerb.cs
- DataGridPagerStyle.cs
- ScriptControlManager.cs
- SynchronizationContext.cs
- ErrorEventArgs.cs
- Collection.cs
- Lookup.cs
- InputBinder.cs
- ItemCheckEvent.cs
- XmlName.cs
- XPathBuilder.cs
- NameValuePair.cs
- SingleKeyFrameCollection.cs
- ControlDesignerState.cs
- PropertyItemInternal.cs
- FixUpCollection.cs
- CompoundFileReference.cs
- EventlogProvider.cs
- WindowsToolbar.cs
- SchemaTableOptionalColumn.cs
- ToolStripDropTargetManager.cs
- ZipIOEndOfCentralDirectoryBlock.cs
- XslAst.cs
- AuthenticationServiceManager.cs
- basecomparevalidator.cs
- SqlNodeAnnotations.cs
- COM2FontConverter.cs
- HttpListenerResponse.cs
- ExpressionPrefixAttribute.cs
- SortedSetDebugView.cs
- NativeRecognizer.cs
- GridViewUpdatedEventArgs.cs
- ContentType.cs
- SapiRecognizer.cs
- XmlWrappingWriter.cs
- GeneralTransform3DGroup.cs
- DataGridViewCellValidatingEventArgs.cs
- TraceContextEventArgs.cs
- AttachedPropertyBrowsableForTypeAttribute.cs
- PeerObject.cs
- SmtpLoginAuthenticationModule.cs
- DynamicRendererThreadManager.cs
- IApplicationTrustManager.cs
- FreezableCollection.cs
- ItemCheckedEvent.cs
- CodeIterationStatement.cs
- OutputCacheModule.cs
- DataFormats.cs
- ToolTipService.cs
- Point3DConverter.cs
- FixedSOMLineRanges.cs
- LambdaCompiler.Logical.cs
- DbConnectionOptions.cs
- OdbcPermission.cs
- ReliableMessagingHelpers.cs
- OdbcTransaction.cs
- XPathParser.cs
- SessionSwitchEventArgs.cs
- DataConnectionHelper.cs
- SqlGenerator.cs
- CustomMenuItemCollection.cs
- FlatButtonAppearance.cs
- ProcessModelSection.cs
- TabControl.cs
- CommandSet.cs
- EncryptedXml.cs
- AgileSafeNativeMemoryHandle.cs
- TreeNodeCollection.cs
- ApplicationId.cs
- ServicePointManagerElement.cs
- VScrollBar.cs
- FrameworkElementFactory.cs
- SemanticTag.cs
- OrderPreservingPipeliningSpoolingTask.cs
- PersistChildrenAttribute.cs
- SqlTriggerAttribute.cs
- SqlProviderServices.cs
- XPathPatternParser.cs
- DecoderReplacementFallback.cs