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
- XmlUtil.cs
- TdsParserSessionPool.cs
- WindowsListViewItem.cs
- XsltConvert.cs
- GenericTextProperties.cs
- PassportAuthenticationEventArgs.cs
- ContentType.cs
- PlaceHolder.cs
- IndexerNameAttribute.cs
- ComPlusThreadInitializer.cs
- ToolStripOverflow.cs
- wmiutil.cs
- DataListItem.cs
- AnonymousIdentificationModule.cs
- columnmapkeybuilder.cs
- WindowsFormsHostPropertyMap.cs
- DigitShape.cs
- XamlSerializerUtil.cs
- SmtpException.cs
- Label.cs
- OwnerDrawPropertyBag.cs
- DataGridViewIntLinkedList.cs
- WebPartPersonalization.cs
- TextElementEditingBehaviorAttribute.cs
- DynamicMethod.cs
- WebConfigurationFileMap.cs
- DBConnection.cs
- DayRenderEvent.cs
- BaseCAMarshaler.cs
- XmlSchemaImport.cs
- BlockingCollection.cs
- RecipientInfo.cs
- OpenFileDialog.cs
- SortDescriptionCollection.cs
- OpCodes.cs
- Size.cs
- IItemProperties.cs
- EventLogPermissionHolder.cs
- XmlNamedNodeMap.cs
- DataGridColumn.cs
- MailAddress.cs
- BoolLiteral.cs
- SupportsEventValidationAttribute.cs
- ItemCheckedEvent.cs
- XmlSchemaAnnotation.cs
- SiteMapDataSourceView.cs
- TextSelectionHighlightLayer.cs
- MostlySingletonList.cs
- StylusDownEventArgs.cs
- ManipulationVelocities.cs
- RedistVersionInfo.cs
- WebControlAdapter.cs
- Event.cs
- ByteFacetDescriptionElement.cs
- MenuScrollingVisibilityConverter.cs
- BindUriHelper.cs
- PrintDialog.cs
- DrawingAttributesDefaultValueFactory.cs
- ComAdminWrapper.cs
- HwndTarget.cs
- DrawingBrush.cs
- WindowPatternIdentifiers.cs
- ACL.cs
- CallSiteHelpers.cs
- NegotiateStream.cs
- TextEditorParagraphs.cs
- ParagraphVisual.cs
- UserNameSecurityTokenProvider.cs
- XAMLParseException.cs
- MdImport.cs
- HtmlTernaryTree.cs
- HandlerBase.cs
- COMException.cs
- UserPreferenceChangingEventArgs.cs
- TransformerInfo.cs
- DataExpression.cs
- FlatButtonAppearance.cs
- SessionStateModule.cs
- FrameSecurityDescriptor.cs
- MobilePage.cs
- CodeEntryPointMethod.cs
- ResourceWriter.cs
- ReverseInheritProperty.cs
- InfiniteTimeSpanConverter.cs
- linebase.cs
- base64Transforms.cs
- WebPartHeaderCloseVerb.cs
- WmfPlaceableFileHeader.cs
- AppSettings.cs
- AppSettingsReader.cs
- ImpersonateTokenRef.cs
- DataReaderContainer.cs
- WorkflowShape.cs
- SqlXml.cs
- EventlogProvider.cs
- FormConverter.cs
- CodeExpressionCollection.cs
- ConfigurationElementCollection.cs
- X509CertificateTokenFactoryCredential.cs
- XmlMembersMapping.cs