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
- SqlCommandSet.cs
- MediaScriptCommandRoutedEventArgs.cs
- DefinitionUpdate.cs
- NonBatchDirectoryCompiler.cs
- TakeOrSkipWhileQueryOperator.cs
- JoinCqlBlock.cs
- DrawListViewSubItemEventArgs.cs
- AsyncContentLoadedEventArgs.cs
- LoginStatusDesigner.cs
- LassoSelectionBehavior.cs
- Propagator.JoinPropagator.cs
- CommonDialog.cs
- SmtpReplyReader.cs
- NullNotAllowedCollection.cs
- Select.cs
- CellParaClient.cs
- HtmlInputReset.cs
- PlainXmlWriter.cs
- WSHttpBindingCollectionElement.cs
- HitTestFilterBehavior.cs
- UnsafeNativeMethods.cs
- ServiceObjectContainer.cs
- Parameter.cs
- ImageMap.cs
- DateTimeParse.cs
- ProtectedConfigurationSection.cs
- FontSource.cs
- BitmapEffectState.cs
- LogLogRecordEnumerator.cs
- TimeoutException.cs
- ConnectionManagementElement.cs
- Point4DValueSerializer.cs
- WindowsSysHeader.cs
- IdentityNotMappedException.cs
- ZipIOExtraFieldZip64Element.cs
- SoapTransportImporter.cs
- LambdaCompiler.Generated.cs
- SqlTypesSchemaImporter.cs
- StrokeNodeOperations2.cs
- HtmlTernaryTree.cs
- Package.cs
- FixedStringLookup.cs
- infer.cs
- XmlTextAttribute.cs
- StylusPointProperties.cs
- WebPartMenuStyle.cs
- CodeDirectoryCompiler.cs
- Rect3D.cs
- FlagsAttribute.cs
- DataSourceXmlSerializationAttribute.cs
- Encoder.cs
- FragmentNavigationEventArgs.cs
- SqlHelper.cs
- NullRuntimeConfig.cs
- JumpList.cs
- DataSourceHelper.cs
- Vars.cs
- TrackingStringDictionary.cs
- Panel.cs
- ToolStripDropDownMenu.cs
- UIHelper.cs
- PageBuildProvider.cs
- WindowsToolbarItemAsMenuItem.cs
- FontDriver.cs
- BamlLocalizationDictionary.cs
- Icon.cs
- ContractHandle.cs
- PropertyValueUIItem.cs
- MouseCaptureWithinProperty.cs
- FormattedTextSymbols.cs
- BooleanStorage.cs
- SequenceDesignerAccessibleObject.cs
- MouseButtonEventArgs.cs
- OdbcConnectionString.cs
- TemplateInstanceAttribute.cs
- HMACMD5.cs
- GrowingArray.cs
- oledbmetadatacollectionnames.cs
- ToolStripPanelRow.cs
- FragmentQueryKB.cs
- COM2ExtendedBrowsingHandler.cs
- UserControl.cs
- _ProxyChain.cs
- CacheMemory.cs
- GridViewDeleteEventArgs.cs
- TextBoxLine.cs
- MediaTimeline.cs
- XmlSchemaAttributeGroup.cs
- CommandBindingCollection.cs
- DbProviderServices.cs
- StandardBindingReliableSessionElement.cs
- PenContexts.cs
- ProtocolsSection.cs
- RoleGroupCollection.cs
- HtmlTableRow.cs
- GridViewEditEventArgs.cs
- x509store.cs
- StreamGeometry.cs
- Internal.cs
- DataObjectEventArgs.cs