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
- SiteMapDataSource.cs
- GroupItem.cs
- DecimalAnimation.cs
- DbDeleteCommandTree.cs
- StreamInfo.cs
- DynamicRouteExpression.cs
- DebugManager.cs
- Translator.cs
- ExclusiveHandleList.cs
- KeyMatchBuilder.cs
- RowParagraph.cs
- ThumbAutomationPeer.cs
- AdPostCacheSubstitution.cs
- FixedDSBuilder.cs
- DataContractJsonSerializerOperationFormatter.cs
- VScrollBar.cs
- Button.cs
- AsymmetricSignatureDeformatter.cs
- LongTypeConverter.cs
- CapabilitiesState.cs
- HiddenField.cs
- UrlMappingCollection.cs
- Mappings.cs
- SelectionUIHandler.cs
- Point3DCollection.cs
- Inline.cs
- ReaderWriterLockWrapper.cs
- DataListItemEventArgs.cs
- FloaterBaseParaClient.cs
- ButtonStandardAdapter.cs
- EdmItemError.cs
- MemberPath.cs
- COM2ColorConverter.cs
- WebPartActionVerb.cs
- BindingOperations.cs
- EntityChangedParams.cs
- ResourceIDHelper.cs
- ProgressBarRenderer.cs
- StringUtil.cs
- COM2PictureConverter.cs
- HtmlWindowCollection.cs
- DecoderNLS.cs
- TextServicesCompartment.cs
- CssClassPropertyAttribute.cs
- GridItemPatternIdentifiers.cs
- NullableBoolConverter.cs
- LayoutSettings.cs
- ConnectionPointCookie.cs
- keycontainerpermission.cs
- HtmlTableRowCollection.cs
- AppSettingsExpressionBuilder.cs
- SchemaSetCompiler.cs
- DbDataReader.cs
- PeerInvitationResponse.cs
- ButtonStandardAdapter.cs
- CompositionAdorner.cs
- RSACryptoServiceProvider.cs
- XDeferredAxisSource.cs
- WebServiceData.cs
- DispatchChannelSink.cs
- ResourcePool.cs
- StateElementCollection.cs
- ConstructorNeedsTagAttribute.cs
- BinaryEditor.cs
- DataRecordInfo.cs
- cookiecollection.cs
- UpdatePanel.cs
- SizeF.cs
- TypedTableBaseExtensions.cs
- ConfigXmlDocument.cs
- InvokeWebServiceDesigner.cs
- StringStorage.cs
- DateBoldEvent.cs
- PasswordBox.cs
- PartitionedStream.cs
- DrawingBrush.cs
- TextSelectionHighlightLayer.cs
- PriorityQueue.cs
- Block.cs
- PageTheme.cs
- ButtonPopupAdapter.cs
- SafeEventLogWriteHandle.cs
- HttpSessionStateBase.cs
- PhysicalFontFamily.cs
- HttpConfigurationSystem.cs
- SafeUserTokenHandle.cs
- SlipBehavior.cs
- NetworkInformationPermission.cs
- ExternalFile.cs
- AppDomainFactory.cs
- RequestCacheManager.cs
- SecurityCriticalDataForSet.cs
- BuildProvider.cs
- HttpException.cs
- NCryptNative.cs
- ResourceBinder.cs
- LocatorPartList.cs
- ZoneMembershipCondition.cs
- DataGridHelper.cs
- TemplateFactory.cs