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
- BooleanProjectedSlot.cs
- SqlDataSourceQuery.cs
- FileChangesMonitor.cs
- SecurityKeyIdentifier.cs
- JumpItem.cs
- StylusPoint.cs
- BamlRecordHelper.cs
- InstanceDataCollection.cs
- httpapplicationstate.cs
- TextEffect.cs
- FileDialog.cs
- PathFigure.cs
- PrivateFontCollection.cs
- MemberNameValidator.cs
- XamlParser.cs
- BaseCodeDomTreeGenerator.cs
- XslAstAnalyzer.cs
- GeometryModel3D.cs
- FileDialog_Vista_Interop.cs
- JsonWriter.cs
- UpDownEvent.cs
- DmlSqlGenerator.cs
- EntityDataSourceContextCreatingEventArgs.cs
- Int32Animation.cs
- Positioning.cs
- UInt32.cs
- InitializationEventAttribute.cs
- XmlWriter.cs
- DataGridHelper.cs
- ClientEndpointLoader.cs
- TableRowCollection.cs
- HotSpot.cs
- ContentHostHelper.cs
- DataGridColumnCollectionEditor.cs
- GuidelineCollection.cs
- bindurihelper.cs
- WebPartUtil.cs
- BasicDesignerLoader.cs
- MaskPropertyEditor.cs
- ApplicationTrust.cs
- BitArray.cs
- DockingAttribute.cs
- AvTrace.cs
- XamlSerializerUtil.cs
- TemplateColumn.cs
- ValueTable.cs
- Pair.cs
- UnescapedXmlDiagnosticData.cs
- EventItfInfo.cs
- XmlExpressionDumper.cs
- DependencyObjectProvider.cs
- Switch.cs
- EventLogQuery.cs
- ButtonFlatAdapter.cs
- CapiHashAlgorithm.cs
- PagesSection.cs
- Bidi.cs
- ToolBarButton.cs
- ScriptManager.cs
- DateTimeOffsetConverter.cs
- CodeConstructor.cs
- ToolZone.cs
- CounterSet.cs
- UserPreferenceChangingEventArgs.cs
- KeyInstance.cs
- OdbcDataAdapter.cs
- FontUnitConverter.cs
- XmlAttributes.cs
- GlobalizationAssembly.cs
- XmlHierarchicalEnumerable.cs
- Action.cs
- ImageBrush.cs
- PermissionAttributes.cs
- Transform.cs
- ConditionValidator.cs
- TextParaClient.cs
- DateTimeConstantAttribute.cs
- TargetInvocationException.cs
- DateTimeValueSerializer.cs
- pingexception.cs
- VoiceObjectToken.cs
- DrawingImage.cs
- ToolConsole.cs
- TypeUnloadedException.cs
- IdentityNotMappedException.cs
- Attributes.cs
- KeyValuePair.cs
- TextElementCollection.cs
- ImageField.cs
- JournalNavigationScope.cs
- TypeSchema.cs
- PermissionSet.cs
- DbLambda.cs
- ParserStreamGeometryContext.cs
- safemediahandle.cs
- DataIdProcessor.cs
- TextServicesContext.cs
- GZipStream.cs
- NativeMethods.cs
- WorkflowMessageEventArgs.cs