Code:
/ Net / Net / 3.5.50727.3053 / DEVDIV / depot / DevDiv / releases / Orcas / SP / 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
- SqlTopReducer.cs
- DataSourceComponent.cs
- IteratorFilter.cs
- ErrorFormatterPage.cs
- StatusBarDesigner.cs
- DataGridComboBoxColumn.cs
- EventEntry.cs
- PathParser.cs
- RotateTransform3D.cs
- ConfigXmlSignificantWhitespace.cs
- DataServiceOperationContext.cs
- TypeDescriptionProviderAttribute.cs
- ToolStripDropDownClosingEventArgs.cs
- DataTableExtensions.cs
- DelayedRegex.cs
- ApplyImportsAction.cs
- ColorTransformHelper.cs
- Attributes.cs
- VerificationException.cs
- ObjectDataSourceEventArgs.cs
- FontStyle.cs
- PropertyEmitterBase.cs
- RotateTransform.cs
- EmbeddedMailObjectsCollection.cs
- JavaScriptString.cs
- UnionQueryOperator.cs
- Operator.cs
- TreeView.cs
- DesignerEventService.cs
- AnimatedTypeHelpers.cs
- PolicyFactory.cs
- IconConverter.cs
- NegationPusher.cs
- QilTargetType.cs
- InvalidEnumArgumentException.cs
- OleDbDataAdapter.cs
- SafeHandle.cs
- ActivityMarkupSerializationProvider.cs
- File.cs
- QueryCursorEventArgs.cs
- VSWCFServiceContractGenerator.cs
- COM2IProvidePropertyBuilderHandler.cs
- UserControl.cs
- CapiSafeHandles.cs
- InputScopeAttribute.cs
- ReferencedAssembly.cs
- ContourSegment.cs
- FontConverter.cs
- MapPathBasedVirtualPathProvider.cs
- RegistryExceptionHelper.cs
- InternalConfigRoot.cs
- Message.cs
- ToolStripSeparatorRenderEventArgs.cs
- ComEventsSink.cs
- NativeMethods.cs
- SecurityKeyUsage.cs
- RegistryPermission.cs
- TripleDESCryptoServiceProvider.cs
- CharEntityEncoderFallback.cs
- ContentElementAutomationPeer.cs
- EntityViewGenerator.cs
- NameTable.cs
- PropertyDescriptor.cs
- WebPartDisplayModeEventArgs.cs
- OracleDataAdapter.cs
- EnumerableRowCollection.cs
- OutputScope.cs
- IgnoreDeviceFilterElementCollection.cs
- DateTimeFormatInfoScanner.cs
- Grid.cs
- UnsafeNativeMethodsCLR.cs
- DataGridCell.cs
- LocalFileSettingsProvider.cs
- ManagedWndProcTracker.cs
- XmlWhitespace.cs
- externdll.cs
- GeneralTransform2DTo3D.cs
- RowType.cs
- PrintPageEvent.cs
- XmlHierarchicalDataSourceView.cs
- BindingContext.cs
- TabControlToolboxItem.cs
- ExeConfigurationFileMap.cs
- SectionVisual.cs
- DataTableReaderListener.cs
- XmlBinaryReader.cs
- NetworkInformationPermission.cs
- DiscoveryClientElement.cs
- M3DUtil.cs
- NativeMethods.cs
- OracleFactory.cs
- CatalogPart.cs
- ResourcesChangeInfo.cs
- QilParameter.cs
- BrushValueSerializer.cs
- X509CertificateCollection.cs
- OraclePermission.cs
- DetailsViewInsertEventArgs.cs
- ConfigurationException.cs
- TimeSpanOrInfiniteValidator.cs