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
- MiniParameterInfo.cs
- Rules.cs
- FlowDocument.cs
- HtmlElementCollection.cs
- XamlUtilities.cs
- EntityDataSourceColumn.cs
- DependencyPropertyChangedEventArgs.cs
- ProtectedProviderSettings.cs
- FontWeights.cs
- CommandExpr.cs
- DecimalStorage.cs
- BooleanFunctions.cs
- OracleLob.cs
- CTreeGenerator.cs
- WmlSelectionListAdapter.cs
- ArrangedElement.cs
- DataGridDesigner.cs
- OLEDB_Util.cs
- ExpanderAutomationPeer.cs
- PriorityBinding.cs
- DataGridViewHitTestInfo.cs
- SqlDataSourceSelectingEventArgs.cs
- BitmapCodecInfo.cs
- TableCellCollection.cs
- PropertyIDSet.cs
- ShaderEffect.cs
- dataprotectionpermission.cs
- PageCache.cs
- Pkcs9Attribute.cs
- Compiler.cs
- SignatureDescription.cs
- Hashtable.cs
- ExtendLockAsyncResult.cs
- MetadataFile.cs
- SqlDataSourceStatusEventArgs.cs
- linebase.cs
- Parameter.cs
- RuntimeVariableList.cs
- WebService.cs
- CustomPopupPlacement.cs
- MetadataSection.cs
- ErrorRuntimeConfig.cs
- TransformationRules.cs
- OdbcConnectionFactory.cs
- StructuralType.cs
- SimpleFieldTemplateUserControl.cs
- DiscoveryViaBehavior.cs
- PointConverter.cs
- ParameterModifier.cs
- RangeBaseAutomationPeer.cs
- FontUnitConverter.cs
- ProtocolViolationException.cs
- StopRoutingHandler.cs
- ResXFileRef.cs
- DataListItem.cs
- Propagator.JoinPropagator.cs
- SynchronizationContextHelper.cs
- TreeViewTemplateSelector.cs
- WebRequest.cs
- PassportAuthentication.cs
- XmlText.cs
- ChildrenQuery.cs
- KernelTypeValidation.cs
- FromReply.cs
- SimpleParser.cs
- EventHandlersStore.cs
- PictureBox.cs
- Font.cs
- XmlDictionaryReaderQuotas.cs
- ToolBarButtonClickEvent.cs
- RecordConverter.cs
- GetWinFXPath.cs
- XmlUrlEditor.cs
- TreeNodeBindingCollection.cs
- RawStylusInputReport.cs
- RelationshipEntry.cs
- CompressStream.cs
- SchemaTableColumn.cs
- PaperSource.cs
- SqlDataReaderSmi.cs
- BypassElementCollection.cs
- ArrangedElement.cs
- SchemaManager.cs
- SerializationUtilities.cs
- ScriptingJsonSerializationSection.cs
- DataStreamFromComStream.cs
- DataObject.cs
- DocumentSequenceHighlightLayer.cs
- XmlWriter.cs
- CustomValidator.cs
- ObjectPropertyMapping.cs
- CatalogPart.cs
- DirtyTextRange.cs
- XmlSchemaAnyAttribute.cs
- ButtonField.cs
- HashCryptoHandle.cs
- CodePageEncoding.cs
- _CommandStream.cs
- DrawingContextWalker.cs
- XPathParser.cs