Code:
/ Dotnetfx_Win7_3.5.1 / Dotnetfx_Win7_3.5.1 / 3.5.1 / DEVDIV / depot / DevDiv / releases / Orcas / NetFXw7 / wpf / src / Core / CSharp / System / Windows / Resources / AssemblyAssociatedContentFileAttribute.cs / 1 / AssemblyAssociatedContentFileAttribute.cs
//---------------------------------------------------------------------------- // //// Copyright (C) Microsoft Corporation. All rights reserved. // // // Description: // Attribute definition for loose content files // // // History: // 06/14/2005: erichar Created // //--------------------------------------------------------------------------- using System; namespace System.Windows.Resources { ////// This attribute is used by the compiler to associate loose content with the application /// at compile time. /// [AttributeUsage(AttributeTargets.Assembly, AllowMultiple = true)] public sealed class AssemblyAssociatedContentFileAttribute : Attribute { private string _path; ////// The default constructor recieves a relative path to the content. /// /// public AssemblyAssociatedContentFileAttribute(string relativeContentFilePath) { _path = relativeContentFilePath; } ////// The path to the associated content. /// public string RelativeContentFilePath { get { return _path; } } } } // File provided for Reference Use Only by Microsoft Corporation (c) 2007. // Copyright (c) Microsoft Corporation. All rights reserved. //---------------------------------------------------------------------------- // //// Copyright (C) Microsoft Corporation. All rights reserved. // // // Description: // Attribute definition for loose content files // // // History: // 06/14/2005: erichar Created // //--------------------------------------------------------------------------- using System; namespace System.Windows.Resources { ////// This attribute is used by the compiler to associate loose content with the application /// at compile time. /// [AttributeUsage(AttributeTargets.Assembly, AllowMultiple = true)] public sealed class AssemblyAssociatedContentFileAttribute : Attribute { private string _path; ////// The default constructor recieves a relative path to the content. /// /// public AssemblyAssociatedContentFileAttribute(string relativeContentFilePath) { _path = relativeContentFilePath; } ////// The path to the associated content. /// public string RelativeContentFilePath { get { return _path; } } } } // 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
- InstanceLockQueryResult.cs
- ProviderConnectionPointCollection.cs
- DictionaryChange.cs
- DataTransferEventArgs.cs
- WorkflowDesignerColors.cs
- UniqueConstraint.cs
- Util.cs
- PrinterResolution.cs
- CompiledRegexRunner.cs
- EndpointInfo.cs
- CreateCardRequest.cs
- RbTree.cs
- SoapTypeAttribute.cs
- SqlGenerator.cs
- HostProtectionException.cs
- GenericsInstances.cs
- DrawToolTipEventArgs.cs
- SortedList.cs
- CategoryGridEntry.cs
- GenericRootAutomationPeer.cs
- NativeCompoundFileAPIs.cs
- ObjectSecurity.cs
- RegexReplacement.cs
- HwndProxyElementProvider.cs
- MimeTypeMapper.cs
- AbandonedMutexException.cs
- EFAssociationProvider.cs
- Schema.cs
- SynchronizationContext.cs
- CqlGenerator.cs
- PathFigureCollection.cs
- DateTimeStorage.cs
- CompilerScopeManager.cs
- COM2EnumConverter.cs
- EventSinkActivity.cs
- XmlEncoding.cs
- ListViewEditEventArgs.cs
- SqlOuterApplyReducer.cs
- PageContentAsyncResult.cs
- _LazyAsyncResult.cs
- BuilderPropertyEntry.cs
- DesignerTransactionCloseEvent.cs
- RuleProcessor.cs
- XmlEncodedRawTextWriter.cs
- ItemList.cs
- CustomError.cs
- StringPropertyBuilder.cs
- FontSourceCollection.cs
- StandardOleMarshalObject.cs
- Random.cs
- RegistrationServices.cs
- OperandQuery.cs
- StorageAssociationTypeMapping.cs
- TreeNodeCollectionEditor.cs
- CatchDesigner.xaml.cs
- StorageModelBuildProvider.cs
- TemplateControlBuildProvider.cs
- RecommendedAsConfigurableAttribute.cs
- RectangleGeometry.cs
- CompleteWizardStep.cs
- DataControlPagerLinkButton.cs
- XmlWriterSettings.cs
- ItemCollection.cs
- DoubleLink.cs
- HtmlSelect.cs
- TrackingStringDictionary.cs
- shaperfactory.cs
- XmlSchemaObjectCollection.cs
- pingexception.cs
- DetailsViewModeEventArgs.cs
- XmlElementAttribute.cs
- NullableLongMinMaxAggregationOperator.cs
- CustomCredentialPolicy.cs
- XmlTypeMapping.cs
- DataListItem.cs
- SignedPkcs7.cs
- COM2PictureConverter.cs
- PartitionResolver.cs
- StagingAreaInputItem.cs
- mil_sdk_version.cs
- CodeDomLoader.cs
- StatusBar.cs
- ElementHostPropertyMap.cs
- SafeCryptoKeyHandle.cs
- CodeTypeMember.cs
- CryptographicAttribute.cs
- SortedDictionary.cs
- MatchingStyle.cs
- DataTableReaderListener.cs
- SortedDictionary.cs
- SystemDiagnosticsSection.cs
- XmlEnumAttribute.cs
- SamlSecurityToken.cs
- MenuRenderer.cs
- InstanceDescriptor.cs
- NegationPusher.cs
- ConfigurationValidatorAttribute.cs
- SharedMemory.cs
- LocalValueEnumerator.cs
- Parameter.cs