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
- ByteStream.cs
- SymbolEqualComparer.cs
- DbConnectionOptions.cs
- CachingHintValidation.cs
- XmlEntity.cs
- WindowsPen.cs
- VisualProxy.cs
- OleDbFactory.cs
- ItemMap.cs
- RestClientProxyHandler.cs
- TabOrder.cs
- MissingMemberException.cs
- NotSupportedException.cs
- RoleExceptions.cs
- DataGridViewSortCompareEventArgs.cs
- ThrowHelper.cs
- ChangesetResponse.cs
- GrammarBuilderBase.cs
- XhtmlTextWriter.cs
- DeferrableContentConverter.cs
- ParagraphVisual.cs
- dbdatarecord.cs
- XsltContext.cs
- UserNameSecurityToken.cs
- PriorityBindingExpression.cs
- Base64Encoding.cs
- ControlParameter.cs
- MachineKeySection.cs
- XmlAttributeCollection.cs
- StandardToolWindows.cs
- PropertyMap.cs
- WindowsFont.cs
- SqlClientFactory.cs
- PenLineCapValidation.cs
- KnownAssembliesSet.cs
- objectresult_tresulttype.cs
- BuilderPropertyEntry.cs
- GAC.cs
- HashCodeCombiner.cs
- InternalTypeHelper.cs
- RegistrationServices.cs
- CurrencyManager.cs
- SqlFlattener.cs
- PrintDialogException.cs
- WindowsFormsEditorServiceHelper.cs
- PriorityQueue.cs
- WpfXamlLoader.cs
- TakeQueryOptionExpression.cs
- FormsAuthenticationUserCollection.cs
- ObjectStateEntryDbUpdatableDataRecord.cs
- ExpressionBinding.cs
- XmlSerializer.cs
- ErrorWebPart.cs
- HTMLTextWriter.cs
- QilXmlWriter.cs
- ContentPlaceHolderDesigner.cs
- MessageSecurityOverTcpElement.cs
- StringCollection.cs
- DeclaredTypeValidator.cs
- CryptoStream.cs
- TreeNodeStyleCollection.cs
- FloaterBaseParagraph.cs
- ListViewSortEventArgs.cs
- SchemaAttDef.cs
- CachedPathData.cs
- ConfigurationManager.cs
- thaishape.cs
- SafeFindHandle.cs
- ClientConfigurationHost.cs
- LowerCaseStringConverter.cs
- PropertyInformation.cs
- WindowExtensionMethods.cs
- Wildcard.cs
- UITypeEditor.cs
- DataGridViewRowHeaderCell.cs
- ValidatorCompatibilityHelper.cs
- URIFormatException.cs
- SByte.cs
- XmlBoundElement.cs
- SecurityCredentialsManager.cs
- MimeObjectFactory.cs
- DebugView.cs
- AVElementHelper.cs
- PageSetupDialog.cs
- CodeArrayIndexerExpression.cs
- PermissionRequestEvidence.cs
- SelectionHighlightInfo.cs
- DefaultValidator.cs
- DebuggerService.cs
- LogicalTreeHelper.cs
- KeyedQueue.cs
- EventHandlingScope.cs
- Collection.cs
- HttpCacheParams.cs
- XmlSerializationWriter.cs
- ReleaseInstanceMode.cs
- RelationshipWrapper.cs
- DocComment.cs
- StorageEndPropertyMapping.cs
- APCustomTypeDescriptor.cs