Code:
/ Dotnetfx_Vista_SP2 / Dotnetfx_Vista_SP2 / 8.0.50727.4016 / DEVDIV / depot / DevDiv / releases / whidbey / NetFxQFE / 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. // // ==--== 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.
Link Menu
This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- StrokeNodeEnumerator.cs
- DataGridRelationshipRow.cs
- LinqDataSourceInsertEventArgs.cs
- XmlUtil.cs
- datacache.cs
- MobileUserControl.cs
- DPCustomTypeDescriptor.cs
- SafeRsaProviderHandle.cs
- ToolBarButtonClickEvent.cs
- AttachInfo.cs
- IgnoreFlushAndCloseStream.cs
- ObjectStateFormatter.cs
- XmlReflectionMember.cs
- XPathPatternParser.cs
- StreamWithDictionary.cs
- WebHttpDispatchOperationSelector.cs
- CodeAccessSecurityEngine.cs
- ResourceBinder.cs
- SafeBitVector32.cs
- HttpWebResponse.cs
- StylusDevice.cs
- SocketException.cs
- PolyLineSegment.cs
- Attribute.cs
- SmiMetaDataProperty.cs
- XsdBuildProvider.cs
- ExpandedWrapper.cs
- FieldDescriptor.cs
- CheckBoxRenderer.cs
- XmlSerializerAssemblyAttribute.cs
- Completion.cs
- ObjectDataSourceMethodEventArgs.cs
- EdmFunctionAttribute.cs
- AssemblyResourceLoader.cs
- TableLayoutRowStyleCollection.cs
- WebDescriptionAttribute.cs
- DocumentStatusResources.cs
- InitiatorSessionSymmetricMessageSecurityProtocol.cs
- StatusBar.cs
- httpserverutility.cs
- IISMapPath.cs
- ItemCheckedEvent.cs
- ImageInfo.cs
- DataMemberListEditor.cs
- CodeRegionDirective.cs
- WebPartConnectionCollection.cs
- DataBoundControlDesigner.cs
- ObjectItemCollectionAssemblyCacheEntry.cs
- StateWorkerRequest.cs
- GregorianCalendar.cs
- CodePageUtils.cs
- CompatibleIComparer.cs
- Substitution.cs
- securestring.cs
- Track.cs
- SqlMethods.cs
- UpdatePanel.cs
- Publisher.cs
- SchemaManager.cs
- ImageCollectionCodeDomSerializer.cs
- SecondaryIndexDefinition.cs
- NativeMethods.cs
- CanonicalizationDriver.cs
- DataGridItem.cs
- RTLAwareMessageBox.cs
- Floater.cs
- DriveNotFoundException.cs
- AnyReturnReader.cs
- BaseConfigurationRecord.cs
- UpdateException.cs
- CodeTypeOfExpression.cs
- AnnotationMap.cs
- DataBoundControlAdapter.cs
- QueryAccessibilityHelpEvent.cs
- WindowPatternIdentifiers.cs
- ReflectTypeDescriptionProvider.cs
- LocalizableResourceBuilder.cs
- TypeUtil.cs
- CustomWebEventKey.cs
- updateconfighost.cs
- EUCJPEncoding.cs
- ProcessStartInfo.cs
- TargetControlTypeCache.cs
- Serialization.cs
- ParameterModifier.cs
- RSAPKCS1KeyExchangeDeformatter.cs
- WebEventCodes.cs
- PermissionRequestEvidence.cs
- SHA384.cs
- MenuItemCollection.cs
- BitArray.cs
- DeploymentSection.cs
- ProfileProvider.cs
- SecurityBindingElementImporter.cs
- ProfileServiceManager.cs
- ProviderIncompatibleException.cs
- DbBuffer.cs
- CallbackValidatorAttribute.cs
- PathFigure.cs
- DesignOnlyAttribute.cs