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
- CapabilitiesUse.cs
- SqlLiftIndependentRowExpressions.cs
- EdmComplexPropertyAttribute.cs
- TemplatePropertyEntry.cs
- BinaryFormatter.cs
- ProfilePropertyMetadata.cs
- GridViewRowPresenterBase.cs
- RsaSecurityTokenAuthenticator.cs
- SiteMapSection.cs
- ContentValidator.cs
- RouteData.cs
- MultiSelector.cs
- NavigationWindowAutomationPeer.cs
- AssociatedControlConverter.cs
- ResponseBodyWriter.cs
- RectValueSerializer.cs
- XmlNamedNodeMap.cs
- XPathSelfQuery.cs
- Point.cs
- ValidatedMobileControlConverter.cs
- GAC.cs
- ColorAnimationBase.cs
- FixedSOMElement.cs
- XmlSchemaSimpleTypeRestriction.cs
- FunctionGenerator.cs
- MasterPageBuildProvider.cs
- CaseInsensitiveComparer.cs
- NativeMethods.cs
- WebPartTransformerCollection.cs
- NumberFormatter.cs
- CharEnumerator.cs
- StorageEntitySetMapping.cs
- _Semaphore.cs
- ExpandCollapsePattern.cs
- CounterCreationDataCollection.cs
- OleDbSchemaGuid.cs
- DataGridViewMethods.cs
- PolygonHotSpot.cs
- CloudCollection.cs
- ProviderCommandInfoUtils.cs
- cookiecontainer.cs
- DrawingGroup.cs
- MetadataArtifactLoaderCompositeResource.cs
- DesignRelation.cs
- PixelFormat.cs
- WebBrowserBase.cs
- CacheVirtualItemsEvent.cs
- ZipIOExtraFieldPaddingElement.cs
- SiteMapHierarchicalDataSourceView.cs
- XmlNavigatorStack.cs
- DrawingGroupDrawingContext.cs
- DataTableCollection.cs
- TrackingStringDictionary.cs
- PointLight.cs
- DesignerActionMethodItem.cs
- CatalogPartChrome.cs
- DataPagerField.cs
- Menu.cs
- PartialClassGenerationTask.cs
- ConfigurationLocationCollection.cs
- ColorMatrix.cs
- BrowserCapabilitiesFactoryBase.cs
- RoutingEndpointTrait.cs
- SynchronizedInputAdaptor.cs
- RealProxy.cs
- EnumerableValidator.cs
- Zone.cs
- SecuritySessionSecurityTokenProvider.cs
- DirectoryObjectSecurity.cs
- BuildProvider.cs
- EditorPart.cs
- FormViewInsertedEventArgs.cs
- SchemaMerger.cs
- AxHost.cs
- FolderLevelBuildProviderCollection.cs
- SettingsSection.cs
- ToolStrip.cs
- CompatibleIComparer.cs
- PropertyStore.cs
- XmlTextReader.cs
- WeakReferenceList.cs
- LingerOption.cs
- MdImport.cs
- DialogWindow.cs
- DataSourceExpression.cs
- WpfWebRequestHelper.cs
- MarginsConverter.cs
- FormatterConverter.cs
- XamlPathDataSerializer.cs
- CompilerScopeManager.cs
- HttpModuleCollection.cs
- WithStatement.cs
- SoapRpcServiceAttribute.cs
- HttpServerVarsCollection.cs
- CodeIterationStatement.cs
- CookieProtection.cs
- LambdaCompiler.Lambda.cs
- TableRow.cs
- TypeDependencyAttribute.cs
- New.cs