Code:
/ Dotnetfx_Vista_SP2 / Dotnetfx_Vista_SP2 / 8.0.50727.4016 / DEVDIV / depot / DevDiv / releases / Orcas / QFE / wpf / src / Framework / System / Windows / ResourceKey.cs / 1 / 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
- UserControlAutomationPeer.cs
- StorageBasedPackageProperties.cs
- XmlWhitespace.cs
- CodeTypeMemberCollection.cs
- LogSwitch.cs
- PbrsForward.cs
- SqlVisitor.cs
- RuntimeConfigLKG.cs
- IntSecurity.cs
- SmiGettersStream.cs
- AuthenticateEventArgs.cs
- CodeBlockBuilder.cs
- ControlDesignerState.cs
- WinFormsUtils.cs
- Freezable.cs
- unsafenativemethodsother.cs
- InkPresenterAutomationPeer.cs
- ComponentDispatcherThread.cs
- ApplicationId.cs
- ProcessInfo.cs
- ExpandSegmentCollection.cs
- MetadataUtilsSmi.cs
- Object.cs
- UIInitializationException.cs
- XmlSchemaObjectTable.cs
- Crc32Helper.cs
- BaseDataListPage.cs
- XpsPartBase.cs
- MappingItemCollection.cs
- MissingMethodException.cs
- SqlCacheDependency.cs
- XmlUnspecifiedAttribute.cs
- SectionXmlInfo.cs
- ObjectItemCollection.cs
- SqlServices.cs
- RectAnimationUsingKeyFrames.cs
- TcpConnectionPoolSettingsElement.cs
- MobileUserControl.cs
- BasicKeyConstraint.cs
- SafeNativeMethods.cs
- HtmlTitle.cs
- Touch.cs
- CircleHotSpot.cs
- SchemaCreator.cs
- TypeNameConverter.cs
- X509Certificate2Collection.cs
- SystemIPInterfaceStatistics.cs
- DataGridViewColumnEventArgs.cs
- SHA256Managed.cs
- DesignerAttribute.cs
- ErrorTableItemStyle.cs
- ProviderSettingsCollection.cs
- Perspective.cs
- EventProvider.cs
- DeviceContexts.cs
- DataGrid.cs
- StrokeSerializer.cs
- MediaPlayer.cs
- PrePrepareMethodAttribute.cs
- EmptyEnumerator.cs
- InfoCardProofToken.cs
- NetMsmqBindingElement.cs
- XsltLibrary.cs
- OutputCache.cs
- ByteStack.cs
- IOThreadTimer.cs
- VisualCollection.cs
- SchemaComplexType.cs
- MachineKeySection.cs
- UrlPropertyAttribute.cs
- RotateTransform3D.cs
- GenerateTemporaryTargetAssembly.cs
- SqlFunctionAttribute.cs
- SoapFault.cs
- MarkupCompilePass1.cs
- SafeThemeHandle.cs
- IxmlLineInfo.cs
- Inflater.cs
- PeerCollaboration.cs
- ResourceExpressionEditorSheet.cs
- TokenBasedSet.cs
- DataControlFieldCell.cs
- safesecurityhelperavalon.cs
- ItemCollectionEditor.cs
- SqlSelectClauseBuilder.cs
- TypeToken.cs
- ClientSettings.cs
- TrustLevel.cs
- ValueUnavailableException.cs
- ObjectSecurity.cs
- PropertyPath.cs
- HttpListenerRequestUriBuilder.cs
- XamlSerializerUtil.cs
- SimpleMailWebEventProvider.cs
- XsdBuildProvider.cs
- InvalidOleVariantTypeException.cs
- ContainerTracking.cs
- DataChangedEventManager.cs
- DisplayNameAttribute.cs
- RSAPKCS1SignatureDeformatter.cs