Code:
/ FXUpdate3074 / FXUpdate3074 / 1.1 / untmp / whidbey / QFE / 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== } } } // 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
- EventToken.cs
- NullToBooleanConverter.cs
- SafeCoTaskMem.cs
- WinFormsSecurity.cs
- Hash.cs
- wgx_render.cs
- OleDbCommand.cs
- EncoderParameters.cs
- XamlRtfConverter.cs
- StringComparer.cs
- JavaScriptString.cs
- WriteableBitmap.cs
- pingexception.cs
- Int32Animation.cs
- DefaultObjectMappingItemCollection.cs
- HotSpotCollection.cs
- DesignerOptionService.cs
- XmlTextEncoder.cs
- XmlArrayItemAttributes.cs
- FacetEnabledSchemaElement.cs
- PositiveTimeSpanValidatorAttribute.cs
- SqlConnectionHelper.cs
- SemanticResultValue.cs
- DictionaryContent.cs
- XmlAttributes.cs
- InputBuffer.cs
- SamlConstants.cs
- DLinqColumnProvider.cs
- MenuItemBindingCollection.cs
- FrameDimension.cs
- HttpRequestCacheValidator.cs
- WebPartVerb.cs
- SrgsElement.cs
- HostedHttpRequestAsyncResult.cs
- BaseTreeIterator.cs
- TreeWalkHelper.cs
- PagesSection.cs
- FormViewRow.cs
- UriTemplateClientFormatter.cs
- KeyValuePair.cs
- FactoryGenerator.cs
- DnsEndpointIdentity.cs
- ApplicationServicesHostFactory.cs
- ConfigurationValidatorBase.cs
- EncryptedKey.cs
- DriveNotFoundException.cs
- Facet.cs
- TypeLibConverter.cs
- Convert.cs
- XPathBinder.cs
- MembershipSection.cs
- CategoryNameCollection.cs
- ResXResourceSet.cs
- DataTableReaderListener.cs
- Timeline.cs
- NameValueCollection.cs
- PointConverter.cs
- EntityCodeGenerator.cs
- PagedDataSource.cs
- RegistrySecurity.cs
- FrameworkElementFactory.cs
- SqlBulkCopyColumnMappingCollection.cs
- DescriptionAttribute.cs
- Substitution.cs
- controlskin.cs
- ScriptResourceAttribute.cs
- InteropBitmapSource.cs
- CodeDOMUtility.cs
- StackOverflowException.cs
- Trace.cs
- SafeArrayTypeMismatchException.cs
- EmbeddedObject.cs
- MobilePage.cs
- DefinitionBase.cs
- ToolStripCustomTypeDescriptor.cs
- Interop.cs
- ColorIndependentAnimationStorage.cs
- PrtCap_Base.cs
- ExeConfigurationFileMap.cs
- SpeechEvent.cs
- MsmqException.cs
- MenuRendererClassic.cs
- externdll.cs
- SqlDataSourceSelectingEventArgs.cs
- SectionUpdates.cs
- TextModifier.cs
- ComAdminInterfaces.cs
- GeometryModel3D.cs
- ApplicationDirectory.cs
- OdbcConnectionStringbuilder.cs
- DispatcherExceptionEventArgs.cs
- GridItemProviderWrapper.cs
- WebPartTransformerAttribute.cs
- BooleanExpr.cs
- PageBuildProvider.cs
- IconConverter.cs
- Component.cs
- SessionState.cs
- UnsafeNetInfoNativeMethods.cs
- SqlAliaser.cs