Code:
/ Dotnetfx_Win7_3.5.1 / Dotnetfx_Win7_3.5.1 / 3.5.1 / DEVDIV / depot / DevDiv / releases / Orcas / NetFXw7 / 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
- SessionChannels.cs
- ServiceBehaviorElement.cs
- DecimalFormatter.cs
- ObjectStateManagerMetadata.cs
- XmlProcessingInstruction.cs
- CodeDelegateInvokeExpression.cs
- SQLMembershipProvider.cs
- XmlEncodedRawTextWriter.cs
- DirtyTextRange.cs
- GlobalizationSection.cs
- HtmlAnchor.cs
- FormatConvertedBitmap.cs
- LoginAutoFormat.cs
- RIPEMD160.cs
- PenContexts.cs
- ContainerActivationHelper.cs
- ServiceMemoryGates.cs
- Listen.cs
- XmlTextWriter.cs
- Span.cs
- Grid.cs
- QueryCursorEventArgs.cs
- Attachment.cs
- HtmlForm.cs
- ConfigXmlWhitespace.cs
- DataBindingCollection.cs
- CodeDomSerializerBase.cs
- CompilerInfo.cs
- IPPacketInformation.cs
- HashAlgorithm.cs
- FileSystemWatcher.cs
- DrawingGroup.cs
- DataServiceHost.cs
- FixedBufferAttribute.cs
- HttpListenerResponse.cs
- Rotation3D.cs
- Assert.cs
- SettingsSection.cs
- DataTableClearEvent.cs
- EnumConverter.cs
- BaseAddressElement.cs
- DataRecordInfo.cs
- ExeConfigurationFileMap.cs
- SessionStateUtil.cs
- Membership.cs
- ComplexLine.cs
- ScopedMessagePartSpecification.cs
- TextServicesProperty.cs
- SecurityContext.cs
- SqlDataRecord.cs
- ChannelSettingsElement.cs
- SkinBuilder.cs
- MobileUserControlDesigner.cs
- StandardOleMarshalObject.cs
- SafeCryptHandles.cs
- ServiceRoute.cs
- DataGridViewCell.cs
- RouteValueExpressionBuilder.cs
- EventListener.cs
- MultitargetUtil.cs
- VersionPair.cs
- XmlTextWriter.cs
- FusionWrap.cs
- XmlEntity.cs
- XmlNullResolver.cs
- RestHandler.cs
- MenuItemStyleCollection.cs
- HitTestWithGeometryDrawingContextWalker.cs
- WebPartHeaderCloseVerb.cs
- SchemaImporterExtensionElementCollection.cs
- XmlIlVisitor.cs
- WorkflowValidationFailedException.cs
- EntityDataSourceChangingEventArgs.cs
- ComponentRenameEvent.cs
- BitmapEffectGeneralTransform.cs
- HiddenFieldDesigner.cs
- NegotiateStream.cs
- ConfigXmlWhitespace.cs
- ReadWriteSpinLock.cs
- SqlReferenceCollection.cs
- DataGridViewLayoutData.cs
- NotConverter.cs
- MethodRental.cs
- WindowsEditBox.cs
- CodeGroup.cs
- DelegatedStream.cs
- EntityDescriptor.cs
- Missing.cs
- PopOutPanel.cs
- _LocalDataStoreMgr.cs
- WindowsGrip.cs
- StyleCollectionEditor.cs
- StdRegProviderWrapper.cs
- Semaphore.cs
- ComEventsMethod.cs
- SyndicationDeserializer.cs
- DownloadProgressEventArgs.cs
- MonthCalendar.cs
- UniqueTransportManagerRegistration.cs
- DataGridComboBoxColumn.cs