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
- SqlCacheDependencyDatabaseCollection.cs
- SecurityDocument.cs
- Vector3DAnimation.cs
- AssemblyResourceLoader.cs
- SingleAnimationUsingKeyFrames.cs
- MenuItemCollection.cs
- CapiHashAlgorithm.cs
- LoginViewDesigner.cs
- SoapException.cs
- TcpTransportSecurity.cs
- GroupItemAutomationPeer.cs
- WebServiceHost.cs
- WebServiceEnumData.cs
- EUCJPEncoding.cs
- ClientTarget.cs
- Propagator.Evaluator.cs
- AQNBuilder.cs
- RuntimeConfigurationRecord.cs
- OletxDependentTransaction.cs
- Wizard.cs
- EdgeProfileValidation.cs
- HtmlSelect.cs
- BulletedListEventArgs.cs
- QueryRewriter.cs
- XmlComment.cs
- DefaultMemberAttribute.cs
- DesignerActionService.cs
- validationstate.cs
- DetailsViewUpdatedEventArgs.cs
- SafeMILHandleMemoryPressure.cs
- FormatSelectingMessageInspector.cs
- LogEntry.cs
- DynamicUpdateCommand.cs
- WebException.cs
- Descriptor.cs
- DrawListViewItemEventArgs.cs
- RestClientProxyHandler.cs
- ErrorEventArgs.cs
- infer.cs
- TaiwanCalendar.cs
- SqlUserDefinedTypeAttribute.cs
- UserInitiatedNavigationPermission.cs
- Stopwatch.cs
- MonitorWrapper.cs
- ExpandableObjectConverter.cs
- PreloadHost.cs
- MenuItemStyle.cs
- WebPartChrome.cs
- ActivityFunc.cs
- Size3D.cs
- VoiceInfo.cs
- ObjectListSelectEventArgs.cs
- DesignerDataSchemaClass.cs
- FtpWebRequest.cs
- MailWriter.cs
- PropertyPushdownHelper.cs
- XsltArgumentList.cs
- EntityProviderServices.cs
- DynamicMetaObject.cs
- Transform3DGroup.cs
- InstanceLockTracking.cs
- StorageComplexPropertyMapping.cs
- RegexStringValidator.cs
- MemberInfoSerializationHolder.cs
- ResourcesBuildProvider.cs
- DataTableExtensions.cs
- IndexedGlyphRun.cs
- FullTextBreakpoint.cs
- QueryOptionExpression.cs
- FontFamilyValueSerializer.cs
- RequestTimeoutManager.cs
- ClientScriptManagerWrapper.cs
- UpdateTracker.cs
- AttachedPropertyBrowsableForChildrenAttribute.cs
- WpfPayload.cs
- CodeDomConfigurationHandler.cs
- CustomAttributeBuilder.cs
- WebPartZoneAutoFormat.cs
- CompilationSection.cs
- sqlpipe.cs
- CodeCompiler.cs
- DesignDataSource.cs
- TrustManager.cs
- SafeHandles.cs
- baseaxisquery.cs
- ExternalCalls.cs
- WebControl.cs
- LineBreakRecord.cs
- DataGridRowEventArgs.cs
- FrameworkRichTextComposition.cs
- StickyNoteHelper.cs
- IndexedString.cs
- TiffBitmapDecoder.cs
- DependencyPropertyValueSerializer.cs
- LinkLabelLinkClickedEvent.cs
- StreamHelper.cs
- RectAnimationUsingKeyFrames.cs
- EditingCoordinator.cs
- FieldMetadata.cs
- Error.cs