Code:
/ 4.0 / 4.0 / untmp / DEVDIV_TFS / Dev10 / Releases / RTMRel / ndp / clr / src / BCL / System / Security / Principal / IdentityReference.cs / 1305376 / IdentityReference.cs
// ==++== // // Copyright (c) Microsoft Corporation. All rights reserved. // // ==--== //[....] // using System; using System.Security.Policy; // defines Url class using System.Globalization; using System.Diagnostics.Contracts; 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.
Link Menu

This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- ToolStripRenderEventArgs.cs
- ViewValidator.cs
- DecoderBestFitFallback.cs
- ReadOnlyCollectionBase.cs
- CultureMapper.cs
- Duration.cs
- XmlAttributeAttribute.cs
- RTLAwareMessageBox.cs
- XmlComplianceUtil.cs
- WsdlInspector.cs
- MenuItem.cs
- EncoderFallback.cs
- MenuItemCollection.cs
- WriterOutput.cs
- PointCollection.cs
- CacheHelper.cs
- ToolStripContentPanelRenderEventArgs.cs
- HighlightVisual.cs
- ConditionalDesigner.cs
- SqlTypeSystemProvider.cs
- MinMaxParagraphWidth.cs
- TextChange.cs
- WizardPanelChangingEventArgs.cs
- AgileSafeNativeMemoryHandle.cs
- ControlType.cs
- _LazyAsyncResult.cs
- EntityParameter.cs
- CodeDomSerializer.cs
- Rights.cs
- IPCCacheManager.cs
- HtmlControlPersistable.cs
- validationstate.cs
- TokenFactoryFactory.cs
- ExpressionWriter.cs
- RubberbandSelector.cs
- SelectionWordBreaker.cs
- SqlUtil.cs
- RayMeshGeometry3DHitTestResult.cs
- SerialPinChanges.cs
- ConnectionsZoneAutoFormat.cs
- ExpressionCopier.cs
- DiscreteKeyFrames.cs
- securestring.cs
- RSAPKCS1SignatureFormatter.cs
- XmlSchemaValidator.cs
- PolyBezierSegment.cs
- BasicExpressionVisitor.cs
- TagPrefixAttribute.cs
- Section.cs
- SecurityContextSecurityTokenAuthenticator.cs
- Label.cs
- RemotingConfiguration.cs
- ArgumentOutOfRangeException.cs
- WorkflowViewManager.cs
- ModelChangedEventArgsImpl.cs
- TypeInfo.cs
- DockAndAnchorLayout.cs
- CalendarButtonAutomationPeer.cs
- ThicknessConverter.cs
- BindingList.cs
- DispatchRuntime.cs
- ButtonChrome.cs
- ClientConvert.cs
- dataSvcMapFileLoader.cs
- TextRange.cs
- DataGridPageChangedEventArgs.cs
- BinaryWriter.cs
- MessageAction.cs
- ASCIIEncoding.cs
- TemplateBindingExpressionConverter.cs
- DesignerView.Commands.cs
- EnvironmentPermission.cs
- HttpChannelHelper.cs
- VariableQuery.cs
- EncodingInfo.cs
- QueryStoreStatusRequest.cs
- TemplateManager.cs
- X509InitiatorCertificateClientElement.cs
- NetTcpBinding.cs
- OrderedHashRepartitionEnumerator.cs
- DialogBaseForm.cs
- AnnotationComponentChooser.cs
- SoapElementAttribute.cs
- ScrollEvent.cs
- BaseDataList.cs
- FileLoadException.cs
- AuthenticateEventArgs.cs
- ToolBarDesigner.cs
- StringArrayEditor.cs
- BaseProcessor.cs
- ConfigurationLockCollection.cs
- KnownBoxes.cs
- AuthenticationModuleElement.cs
- ThreadAbortException.cs
- SHA512Managed.cs
- CodeLinePragma.cs
- ModuleBuilderData.cs
- SpellerHighlightLayer.cs
- WindowsPrincipal.cs
- BuildResult.cs