Code:
/ Net / Net / 3.5.50727.3053 / DEVDIV / depot / DevDiv / releases / Orcas / SP / 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
- LateBoundBitmapDecoder.cs
- CompilerResults.cs
- ExpressionVisitor.cs
- HttpContextWrapper.cs
- TransformedBitmap.cs
- SpecialTypeDataContract.cs
- ValueProviderWrapper.cs
- ZoneButton.cs
- InstanceData.cs
- PropertyManager.cs
- Calendar.cs
- XmlSchemaComplexType.cs
- MethodToken.cs
- listitem.cs
- XmlSortKey.cs
- XPathException.cs
- UriTemplateTrieLocation.cs
- IfJoinedCondition.cs
- StorageEntityContainerMapping.cs
- PrivateFontCollection.cs
- ToolStripContentPanelRenderEventArgs.cs
- ApplicationHost.cs
- ServiceRoute.cs
- DataGridViewComboBoxEditingControl.cs
- AvtEvent.cs
- VirtualPathProvider.cs
- MetafileHeader.cs
- InvalidTimeZoneException.cs
- ScriptComponentDescriptor.cs
- EditorZoneBase.cs
- ToolStripSplitButton.cs
- ProcessInputEventArgs.cs
- AuthStoreRoleProvider.cs
- shaperfactoryquerycacheentry.cs
- dbenumerator.cs
- EntityType.cs
- InternalTypeHelper.cs
- TypeConverterHelper.cs
- PhysicalFontFamily.cs
- DataSourceHelper.cs
- ClientSettingsProvider.cs
- MouseGestureConverter.cs
- ObjectDataSourceStatusEventArgs.cs
- OleDbPropertySetGuid.cs
- NativeMethods.cs
- TextUtf8RawTextWriter.cs
- DrawingContext.cs
- SettingsProviderCollection.cs
- AssemblyEvidenceFactory.cs
- TextParaClient.cs
- SimpleMailWebEventProvider.cs
- TextElementEnumerator.cs
- SymmetricCryptoHandle.cs
- XmlStreamNodeWriter.cs
- StylusPointDescription.cs
- AssemblyResourceLoader.cs
- DataProtectionSecurityStateEncoder.cs
- JumpTask.cs
- WebPartAuthorizationEventArgs.cs
- TrustManagerMoreInformation.cs
- ToolStripPanelRow.cs
- GeneralTransformGroup.cs
- ColorTransformHelper.cs
- Stack.cs
- InputReportEventArgs.cs
- InlineCollection.cs
- NamespaceCollection.cs
- LeaseManager.cs
- XmlSchemaAnnotation.cs
- DesignTimeParseData.cs
- _LocalDataStoreMgr.cs
- ObjectAnimationBase.cs
- BeginEvent.cs
- VScrollProperties.cs
- XmlBinaryReader.cs
- EventDrivenDesigner.cs
- EventListener.cs
- SqlProviderServices.cs
- DataGridTable.cs
- RPIdentityRequirement.cs
- OleDbCommandBuilder.cs
- ChangeDirector.cs
- OuterGlowBitmapEffect.cs
- InternalControlCollection.cs
- ToolStripItemClickedEventArgs.cs
- ListDictionary.cs
- TextRangeProviderWrapper.cs
- XmlNamespaceManager.cs
- BindingGraph.cs
- ActiveDocumentEvent.cs
- Encoder.cs
- DataView.cs
- WebPartCollection.cs
- RightsManagementEncryptedStream.cs
- ImageSource.cs
- SourceChangedEventArgs.cs
- Condition.cs
- autovalidator.cs
- ParameterToken.cs
- RuleElement.cs