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
- ValidationError.cs
- ObjectListCommand.cs
- Compiler.cs
- ContentPropertyAttribute.cs
- ApplicationCommands.cs
- DefaultDialogButtons.cs
- FormsAuthenticationUser.cs
- InternalConfigHost.cs
- UpdateDelegates.Generated.cs
- ObjectDataSource.cs
- DbConnectionOptions.cs
- XmlEntity.cs
- XmlILStorageConverter.cs
- Comparer.cs
- AuthenticationModulesSection.cs
- GCHandleCookieTable.cs
- CacheHelper.cs
- ToolStripDropDownClosedEventArgs.cs
- SessionParameter.cs
- HierarchicalDataBoundControlAdapter.cs
- StyleBamlRecordReader.cs
- CompositeDataBoundControl.cs
- DbConnectionOptions.cs
- WaitHandleCannotBeOpenedException.cs
- ExpressionEditorSheet.cs
- ColorConvertedBitmapExtension.cs
- HTTPNotFoundHandler.cs
- XmlUtil.cs
- PrivilegedConfigurationManager.cs
- WebAdminConfigurationHelper.cs
- TypeToken.cs
- CacheDict.cs
- ValueSerializer.cs
- DataGridTable.cs
- XmlAtomErrorReader.cs
- TextBoxDesigner.cs
- messageonlyhwndwrapper.cs
- XmlSchemaSubstitutionGroup.cs
- HMACSHA256.cs
- SelectionManager.cs
- ControlType.cs
- FaultFormatter.cs
- OleDbDataReader.cs
- DtdParser.cs
- DiagnosticTraceSource.cs
- NameSpaceExtractor.cs
- dbenumerator.cs
- ControlValuePropertyAttribute.cs
- InvalidWMPVersionException.cs
- filewebresponse.cs
- CustomTrackingQuery.cs
- BitmapEffectGeneralTransform.cs
- DocumentXPathNavigator.cs
- XpsResourceDictionary.cs
- ClosureBinding.cs
- DragStartedEventArgs.cs
- Int64.cs
- NavigatorOutput.cs
- BrushMappingModeValidation.cs
- ZoneButton.cs
- DataSetMappper.cs
- ScrollBar.cs
- ToolStripMenuItemDesigner.cs
- ExceptionHelpers.cs
- Model3DGroup.cs
- IgnorePropertiesAttribute.cs
- NativeStructs.cs
- DataGridViewCellValueEventArgs.cs
- Int32CollectionValueSerializer.cs
- UIElementHelper.cs
- GeneralTransform2DTo3DTo2D.cs
- ObjectContextServiceProvider.cs
- CorePropertiesFilter.cs
- FileNameEditor.cs
- DataGridColumn.cs
- DoubleAnimationUsingPath.cs
- DBNull.cs
- EmptyTextWriter.cs
- MessageDescription.cs
- ConstructorBuilder.cs
- TaskFormBase.cs
- ImportCatalogPart.cs
- EntityDesignerUtils.cs
- HttpSessionStateBase.cs
- DataRow.cs
- XmlSerializerAssemblyAttribute.cs
- CodeTypeDeclarationCollection.cs
- SemaphoreSecurity.cs
- CounterCreationDataCollection.cs
- Point4DConverter.cs
- ContextStack.cs
- DataPagerField.cs
- StorageSetMapping.cs
- ArrayTypeMismatchException.cs
- AsyncContentLoadedEventArgs.cs
- OleDbRowUpdatedEvent.cs
- WorkflowTimerService.cs
- FixedSOMPage.cs
- EdgeProfileValidation.cs
- SQLInt64.cs