Code:
/ 4.0 / 4.0 / 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. /****************************************************************************\ * * 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
- MorphHelpers.cs
- TableLayoutPanelCodeDomSerializer.cs
- IOException.cs
- HebrewCalendar.cs
- QueryAsyncResult.cs
- GradientSpreadMethodValidation.cs
- RayMeshGeometry3DHitTestResult.cs
- GeneralTransformGroup.cs
- RemotingSurrogateSelector.cs
- MetafileHeaderWmf.cs
- ObjectHandle.cs
- ScrollBarRenderer.cs
- WindowsHyperlink.cs
- SmiContext.cs
- ChildDocumentBlock.cs
- ButtonBaseAutomationPeer.cs
- GridItemPattern.cs
- FtpCachePolicyElement.cs
- TypeDescriptionProvider.cs
- TaskFileService.cs
- CheckBoxBaseAdapter.cs
- ReadWriteSpinLock.cs
- Contracts.cs
- SqlConnectionPoolProviderInfo.cs
- FastEncoderWindow.cs
- ProfessionalColorTable.cs
- MemberPathMap.cs
- HitTestResult.cs
- OperationPickerDialog.cs
- ManualResetEventSlim.cs
- WCFBuildProvider.cs
- Vector3DKeyFrameCollection.cs
- webbrowsersite.cs
- _PooledStream.cs
- NullableIntSumAggregationOperator.cs
- PersistChildrenAttribute.cs
- ColorConvertedBitmap.cs
- DecimalStorage.cs
- CustomAttributeFormatException.cs
- FieldNameLookup.cs
- StatusBarAutomationPeer.cs
- SerializationStore.cs
- DataGridViewCellParsingEventArgs.cs
- PolicyValidator.cs
- MailSettingsSection.cs
- EdmType.cs
- WindowsFormsHostAutomationPeer.cs
- FileDetails.cs
- TransactionFlowBindingElementImporter.cs
- CopyOfAction.cs
- ValidationHelper.cs
- Model3DCollection.cs
- WeakEventManager.cs
- OptimizerPatterns.cs
- AppDomainFactory.cs
- Math.cs
- FlowDocumentPage.cs
- ToolStripRenderer.cs
- XPathSingletonIterator.cs
- HttpServerVarsCollection.cs
- RegexGroup.cs
- JournalNavigationScope.cs
- DbModificationCommandTree.cs
- PagesSection.cs
- KeyValuePairs.cs
- PrivateFontCollection.cs
- InputLangChangeEvent.cs
- HtmlFormWrapper.cs
- HandlerMappingMemo.cs
- Registry.cs
- TextChange.cs
- InfoCardRSAOAEPKeyExchangeDeformatter.cs
- WebBrowserNavigatedEventHandler.cs
- RecognizeCompletedEventArgs.cs
- ValidationEventArgs.cs
- StringSource.cs
- PasswordBox.cs
- StateMachineWorkflowInstance.cs
- SystemUdpStatistics.cs
- ListBoxItemAutomationPeer.cs
- FrameworkElement.cs
- DataGridViewRow.cs
- WorkerRequest.cs
- ComponentManagerBroker.cs
- ProgramNode.cs
- XmlSchemaSimpleContentExtension.cs
- XmlLangPropertyAttribute.cs
- InputGestureCollection.cs
- Misc.cs
- CommandHelper.cs
- NumericUpDownAcceleration.cs
- XmlNamespaceMappingCollection.cs
- SqlUDTStorage.cs
- BreakSafeBase.cs
- DataBindingCollection.cs
- DataGridViewCellPaintingEventArgs.cs
- HScrollProperties.cs
- TableHeaderCell.cs
- PrintingPermissionAttribute.cs
- UntrustedRecipientException.cs