Code:
/ 4.0 / 4.0 / untmp / DEVDIV_TFS / Dev10 / Releases / RTMRel / wpf / src / Framework / System / Windows / ResourceKey.cs / 1305600 / ResourceKey.cs
/****************************************************************************\ * * File: ResourceKey.cs * * Base class for various types of key objects to use in resource dictionaries. * * Copyright (C) 2005 by Microsoft Corporation. All rights reserved. * \***************************************************************************/ using System; using System.Reflection; using System.Windows.Markup; namespace System.Windows { ////// Abstract base class for various resource keys. /// Provides a common base for simple key detection in resource components. /// [MarkupExtensionReturnType(typeof(ResourceKey))] public abstract class ResourceKey : MarkupExtension { ////// Used to determine where to look for the resource dictionary that holds this resource. /// public abstract Assembly Assembly { get; } ////// Return this object. ResourceKeys are typically used as a key in a dictionary. /// public override object ProvideValue(IServiceProvider serviceProvider) { return this; } } } // 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
- Version.cs
- XmlUTF8TextWriter.cs
- PackWebResponse.cs
- InvokeMethod.cs
- GridToolTip.cs
- ThicknessAnimationUsingKeyFrames.cs
- ListSourceHelper.cs
- AttributeCollection.cs
- TimeSpanOrInfiniteValidator.cs
- _HeaderInfo.cs
- XmlSerializerVersionAttribute.cs
- PenLineJoinValidation.cs
- XmlReader.cs
- OdbcEnvironmentHandle.cs
- CustomTypeDescriptor.cs
- EntryWrittenEventArgs.cs
- ProfileProvider.cs
- WebBaseEventKeyComparer.cs
- BaseContextMenu.cs
- WebServiceClientProxyGenerator.cs
- DataGridSortCommandEventArgs.cs
- CustomExpression.cs
- AnimatedTypeHelpers.cs
- DataServiceProcessingPipelineEventArgs.cs
- FontDriver.cs
- FixedLineResult.cs
- XmlDataCollection.cs
- NGCSerializationManager.cs
- AsnEncodedData.cs
- PipelineModuleStepContainer.cs
- DataControlPagerLinkButton.cs
- AvTrace.cs
- ChildDocumentBlock.cs
- RecognizeCompletedEventArgs.cs
- SrgsText.cs
- SoapEnvelopeProcessingElement.cs
- DefaultHttpHandler.cs
- IgnoreSection.cs
- XmlIlVisitor.cs
- MatchSingleFxEngineOpcode.cs
- FixedSchema.cs
- WaitHandle.cs
- PeerCredential.cs
- ServiceDescriptionData.cs
- KeyValuePairs.cs
- SharedPerformanceCounter.cs
- CombinedGeometry.cs
- SpotLight.cs
- UICuesEvent.cs
- FontInfo.cs
- WebServiceEnumData.cs
- CompositeDataBoundControl.cs
- FigureHelper.cs
- DateTimeConstantAttribute.cs
- RemotingConfiguration.cs
- SqlGatherConsumedAliases.cs
- PenThreadWorker.cs
- UIntPtr.cs
- ControlBuilder.cs
- GatewayIPAddressInformationCollection.cs
- AttributeData.cs
- TypeLoadException.cs
- CookieParameter.cs
- DrawingImage.cs
- DateTime.cs
- SpecialFolderEnumConverter.cs
- NativeMethods.cs
- TextEffectCollection.cs
- FaultContext.cs
- SqlClientMetaDataCollectionNames.cs
- MachineKeySection.cs
- XmlSchemaExporter.cs
- ToolStripContainer.cs
- FrameSecurityDescriptor.cs
- ValidatingPropertiesEventArgs.cs
- SafeRightsManagementEnvironmentHandle.cs
- QueuePathDialog.cs
- XMLSchema.cs
- WebWorkflowRole.cs
- DataKey.cs
- SpellerHighlightLayer.cs
- ExtenderControl.cs
- MatrixConverter.cs
- StaticExtension.cs
- Ticks.cs
- JsonReaderWriterFactory.cs
- SqlUtils.cs
- BufferAllocator.cs
- XmlUrlResolver.cs
- DecoderNLS.cs
- ConfigPathUtility.cs
- HMACSHA384.cs
- EntityDataSourceQueryBuilder.cs
- ToolstripProfessionalRenderer.cs
- FormsAuthenticationUser.cs
- NativeMethods.cs
- PaperSize.cs
- DecoderReplacementFallback.cs
- ItemsControlAutomationPeer.cs
- OrderedHashRepartitionEnumerator.cs