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
- BasicHttpMessageCredentialType.cs
- HttpWebRequest.cs
- IPAddressCollection.cs
- ArgumentNullException.cs
- XDRSchema.cs
- OleDbDataAdapter.cs
- AssemblyResourceLoader.cs
- DSASignatureDeformatter.cs
- HostingEnvironmentException.cs
- XmlValidatingReader.cs
- CustomAttributeBuilder.cs
- Int64AnimationUsingKeyFrames.cs
- ItemAutomationPeer.cs
- HttpValueCollection.cs
- TransactionContextValidator.cs
- EventSetter.cs
- Int32AnimationBase.cs
- PersonalizationEntry.cs
- TreeViewItem.cs
- PageContent.cs
- DataGridViewBindingCompleteEventArgs.cs
- _TransmitFileOverlappedAsyncResult.cs
- HttpHandlerAction.cs
- DataGrid.cs
- SoapTypeAttribute.cs
- GridErrorDlg.cs
- WindowsGraphicsWrapper.cs
- _DigestClient.cs
- Events.cs
- KnownTypesProvider.cs
- XmlDataSource.cs
- RowVisual.cs
- DataGridState.cs
- HighlightVisual.cs
- LogLogRecordHeader.cs
- XmlDictionaryString.cs
- ProfileWorkflowElement.cs
- AttachedPropertiesService.cs
- WindowsIdentity.cs
- Axis.cs
- ExpandCollapsePattern.cs
- GPPOINT.cs
- Attributes.cs
- ItemPager.cs
- RemotingAttributes.cs
- FixedPage.cs
- Popup.cs
- AggregateNode.cs
- DataSourceSerializationException.cs
- ObjectQueryExecutionPlan.cs
- InstanceHandle.cs
- AssertSection.cs
- ICspAsymmetricAlgorithm.cs
- Point.cs
- ObjectTypeMapping.cs
- GeneralTransform3DTo2DTo3D.cs
- MetadataWorkspace.cs
- XmlSchemaDatatype.cs
- DatagridviewDisplayedBandsData.cs
- Matrix3DConverter.cs
- ServiceNameCollection.cs
- ContentFileHelper.cs
- SetStateEventArgs.cs
- XmlReflectionImporter.cs
- BinaryReader.cs
- PointConverter.cs
- PageAsyncTaskManager.cs
- UIElementParaClient.cs
- SmiEventSink.cs
- Claim.cs
- Size.cs
- XmlSchemaDocumentation.cs
- OdbcParameter.cs
- MiniAssembly.cs
- Assert.cs
- DirectionalLight.cs
- RectangleHotSpot.cs
- AutoFocusStyle.xaml.cs
- StringDictionaryCodeDomSerializer.cs
- ExpandCollapsePattern.cs
- Attachment.cs
- BamlLocalizer.cs
- WpfPayload.cs
- RowSpanVector.cs
- PtsPage.cs
- DoubleAnimationUsingKeyFrames.cs
- BoolExpr.cs
- CharAnimationBase.cs
- ObjectStateFormatter.cs
- WebAdminConfigurationHelper.cs
- TextTreeTextNode.cs
- Pair.cs
- XmlDataFileEditor.cs
- InputBinder.cs
- SerializerProvider.cs
- RemoteHelper.cs
- ExtendedProtectionPolicy.cs
- ProfessionalColorTable.cs
- TrackingWorkflowEventArgs.cs
- DataGridHyperlinkColumn.cs