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
- __ComObject.cs
- GeneratedCodeAttribute.cs
- XmlElementCollection.cs
- Point4D.cs
- AngleUtil.cs
- Task.cs
- ServiceDescriptionImporter.cs
- TabItem.cs
- StylusCollection.cs
- TaiwanCalendar.cs
- ReadOnlyDictionary.cs
- UnmanagedMemoryStream.cs
- XPathBinder.cs
- ParagraphResult.cs
- DecoderBestFitFallback.cs
- Rule.cs
- GcHandle.cs
- WebPartHeaderCloseVerb.cs
- ToolStripEditorManager.cs
- InputProcessorProfilesLoader.cs
- DoubleAnimationBase.cs
- SetIterators.cs
- ExpressionNormalizer.cs
- LocalizabilityAttribute.cs
- CacheOutputQuery.cs
- HandlerFactoryCache.cs
- Identity.cs
- ToolStripPanel.cs
- DispatcherExceptionEventArgs.cs
- ObjectListCommandEventArgs.cs
- StreamingContext.cs
- HtmlEncodedRawTextWriter.cs
- PointF.cs
- HttpPostServerProtocol.cs
- DebuggerAttributes.cs
- TableLayoutPanel.cs
- DirectoryInfo.cs
- FixedBufferAttribute.cs
- ExpressionStringBuilder.cs
- RelatedImageListAttribute.cs
- DBConcurrencyException.cs
- HttpValueCollection.cs
- SecurityUtils.cs
- ToolStripDropDownItemDesigner.cs
- OdbcCommand.cs
- HttpHostedTransportConfiguration.cs
- ControlCommandSet.cs
- DeploymentSection.cs
- RenamedEventArgs.cs
- LongAverageAggregationOperator.cs
- DataChangedEventManager.cs
- ErrorProvider.cs
- ObjectIDGenerator.cs
- GiveFeedbackEvent.cs
- MarshalByRefObject.cs
- TimeoutValidationAttribute.cs
- FunctionDescription.cs
- HostedHttpTransportManager.cs
- LogExtent.cs
- WebPartDeleteVerb.cs
- TriggerCollection.cs
- NotSupportedException.cs
- Empty.cs
- ILGenerator.cs
- HtmlInputImage.cs
- NavigationWindowAutomationPeer.cs
- UIElement3D.cs
- DataGridViewRowPrePaintEventArgs.cs
- XmlILModule.cs
- NetSectionGroup.cs
- CurrentChangingEventManager.cs
- XslTransform.cs
- ProfilePropertyNameValidator.cs
- SupportsEventValidationAttribute.cs
- UnsafeNativeMethods.cs
- SrgsItemList.cs
- RIPEMD160Managed.cs
- EnumType.cs
- SerializationException.cs
- DataGridViewRowsAddedEventArgs.cs
- CardSpaceSelector.cs
- HelpFileFileNameEditor.cs
- CompiledXpathExpr.cs
- StylusPointProperties.cs
- ADMembershipUser.cs
- AttributeTable.cs
- RTLAwareMessageBox.cs
- ToolStrip.cs
- SchemaElement.cs
- InstanceHandleConflictException.cs
- XmlKeywords.cs
- FrameworkPropertyMetadata.cs
- ProxyManager.cs
- FlowDocumentScrollViewer.cs
- RadioButtonFlatAdapter.cs
- RtfControlWordInfo.cs
- CrossAppDomainChannel.cs
- DataObjectPastingEventArgs.cs
- InputLanguageCollection.cs
- XmlWrappingReader.cs