Code:
/ Dotnetfx_Vista_SP2 / Dotnetfx_Vista_SP2 / 8.0.50727.4016 / DEVDIV / depot / DevDiv / releases / Orcas / QFE / 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
- ACE.cs
- KeyFrames.cs
- SafeNativeMethods.cs
- XslTransform.cs
- TrustManagerPromptUI.cs
- CompareValidator.cs
- StatusBarPanelClickEvent.cs
- BufferModeSettings.cs
- MessageDescription.cs
- SqlTypeSystemProvider.cs
- AsymmetricKeyExchangeFormatter.cs
- NativeCppClassAttribute.cs
- ColorMatrix.cs
- _ChunkParse.cs
- DialogWindow.cs
- InfoCardClaim.cs
- LocalValueEnumerator.cs
- ClaimTypeRequirement.cs
- OwnerDrawPropertyBag.cs
- DesignRelation.cs
- ItemsChangedEventArgs.cs
- ProjectedSlot.cs
- MaskDescriptor.cs
- TextBoxBase.cs
- SimpleType.cs
- VisualStyleInformation.cs
- File.cs
- Slider.cs
- NonSerializedAttribute.cs
- SrgsGrammarCompiler.cs
- XPathExpr.cs
- WindowsToolbarItemAsMenuItem.cs
- AssemblyHelper.cs
- OwnerDrawPropertyBag.cs
- Nodes.cs
- PrintDocument.cs
- InputProcessorProfiles.cs
- XmlWellformedWriter.cs
- ISO2022Encoding.cs
- UrlMappingCollection.cs
- XmlBindingWorker.cs
- MdiWindowListItemConverter.cs
- XmlSchemaInclude.cs
- PropertyFilterAttribute.cs
- HeaderedContentControl.cs
- MatrixCamera.cs
- CryptoApi.cs
- TextParagraph.cs
- XmlSerializationGeneratedCode.cs
- EdmSchemaAttribute.cs
- WebBrowserUriTypeConverter.cs
- BooleanConverter.cs
- RecommendedAsConfigurableAttribute.cs
- DataGridViewCellLinkedList.cs
- versioninfo.cs
- webbrowsersite.cs
- SuppressMergeCheckAttribute.cs
- CngProperty.cs
- ConnectionPoint.cs
- TraceContextRecord.cs
- Automation.cs
- RSAProtectedConfigurationProvider.cs
- WorkflowInstanceRecord.cs
- AttachInfo.cs
- RequestQueue.cs
- BulletChrome.cs
- ConsoleCancelEventArgs.cs
- ProfileManager.cs
- TextBoxDesigner.cs
- OleDbStruct.cs
- SqlRemoveConstantOrderBy.cs
- DBConcurrencyException.cs
- UpdateExpressionVisitor.cs
- DynamicControl.cs
- SqlDataSourceWizardForm.cs
- URLMembershipCondition.cs
- Column.cs
- GenerateScriptTypeAttribute.cs
- CommandLibraryHelper.cs
- VideoDrawing.cs
- IsolatedStorageException.cs
- SHA256Managed.cs
- FrameSecurityDescriptor.cs
- GZipUtils.cs
- ContentElementAutomationPeer.cs
- RegexWorker.cs
- TabControl.cs
- SchemaDeclBase.cs
- ProgressBarRenderer.cs
- EntityConnection.cs
- CompositeDispatchFormatter.cs
- TypeReference.cs
- PropertyDescriptorGridEntry.cs
- Directory.cs
- XmlConvert.cs
- DataListAutoFormat.cs
- DynamicPropertyReader.cs
- ProfilePropertySettings.cs
- ADMembershipProvider.cs
- SecurityContext.cs