Code:
/ 4.0 / 4.0 / DEVDIV_TFS / Dev10 / Releases / RTMRel / wpf / src / Core / CSharp / System / Windows / Resources / AssemblyAssociatedContentFileAttribute.cs / 1305600 / AssemblyAssociatedContentFileAttribute.cs
//---------------------------------------------------------------------------- // //// Copyright (C) Microsoft Corporation. All rights reserved. // // // Description: // Attribute definition for loose content files // // // History: // 06/14/2005: [....] 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: [....] 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
- XmlSchemaSet.cs
- TreeBuilderXamlTranslator.cs
- MultipleViewProviderWrapper.cs
- UriWriter.cs
- SafeFileMappingHandle.cs
- OptimizerPatterns.cs
- Material.cs
- PlainXmlDeserializer.cs
- RichTextBoxConstants.cs
- MetricEntry.cs
- CodeTypeReferenceCollection.cs
- MetadataArtifactLoaderXmlReaderWrapper.cs
- WindowsComboBox.cs
- Page.cs
- WorkflowWebHostingModule.cs
- TextTreeText.cs
- TraceHwndHost.cs
- GridViewColumnHeaderAutomationPeer.cs
- LogWriteRestartAreaAsyncResult.cs
- BCLDebug.cs
- KnownBoxes.cs
- MsmqException.cs
- PathGeometry.cs
- CollectionEditor.cs
- Grid.cs
- UIElement3D.cs
- baseaxisquery.cs
- DataGridHeaderBorder.cs
- SecurityProtocolCorrelationState.cs
- odbcmetadatacolumnnames.cs
- FullTrustAssembliesSection.cs
- WpfSharedXamlSchemaContext.cs
- Point.cs
- XmlSubtreeReader.cs
- MouseDevice.cs
- ACL.cs
- XmlCountingReader.cs
- AppModelKnownContentFactory.cs
- MethodBuilderInstantiation.cs
- HandlerMappingMemo.cs
- Html32TextWriter.cs
- ConnectivityStatus.cs
- UpdatePanelTrigger.cs
- SQLGuidStorage.cs
- oledbmetadatacolumnnames.cs
- FormViewDeletedEventArgs.cs
- DeclarationUpdate.cs
- AdRotator.cs
- TemplateApplicationHelper.cs
- ParseHttpDate.cs
- XmlValidatingReaderImpl.cs
- SystemTcpStatistics.cs
- WebPart.cs
- ResourceLoader.cs
- ColorKeyFrameCollection.cs
- DesignerRegionMouseEventArgs.cs
- XamlReaderHelper.cs
- _FtpControlStream.cs
- sqlstateclientmanager.cs
- MultiViewDesigner.cs
- BuildProviderCollection.cs
- baseaxisquery.cs
- TextAutomationPeer.cs
- remotingproxy.cs
- TransportConfigurationTypeElementCollection.cs
- Literal.cs
- TrailingSpaceComparer.cs
- ClientSettingsStore.cs
- SymbolEqualComparer.cs
- CustomCategoryAttribute.cs
- Soap.cs
- CompositeKey.cs
- ToolStripProfessionalLowResolutionRenderer.cs
- ComboBox.cs
- XmlConvert.cs
- RunWorkerCompletedEventArgs.cs
- FragmentQuery.cs
- TimeoutHelper.cs
- Helper.cs
- CssTextWriter.cs
- ThrowHelper.cs
- TextBoxRenderer.cs
- MappingSource.cs
- SynchronizationLockException.cs
- DataGridViewRowsRemovedEventArgs.cs
- SupportingTokenBindingElement.cs
- ResourcesChangeInfo.cs
- ReachSerializer.cs
- DoubleCollectionConverter.cs
- ExtendedProtectionPolicyTypeConverter.cs
- SoapCodeExporter.cs
- X509ClientCertificateAuthenticationElement.cs
- MD5CryptoServiceProvider.cs
- SqlCaseSimplifier.cs
- ReferenceService.cs
- EntityModelSchemaGenerator.cs
- MonthChangedEventArgs.cs
- NameValueConfigurationElement.cs
- FileLoadException.cs
- InputBinding.cs