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
- _ScatterGatherBuffers.cs
- SmiTypedGetterSetter.cs
- ResXResourceWriter.cs
- DataObject.cs
- StylusButtonEventArgs.cs
- IndexedDataBuffer.cs
- TemplateEditingService.cs
- PhysicalFontFamily.cs
- _Events.cs
- ListViewItemMouseHoverEvent.cs
- AspNetPartialTrustHelpers.cs
- Table.cs
- MimeObjectFactory.cs
- Calendar.cs
- SharedDp.cs
- TargetInvocationException.cs
- GlyphingCache.cs
- InfiniteIntConverter.cs
- X509IssuerSerialKeyIdentifierClause.cs
- ProxyOperationRuntime.cs
- Socket.cs
- DataGridDefaultColumnWidthTypeConverter.cs
- TableLayoutStyleCollection.cs
- HMACRIPEMD160.cs
- OneOfTypeConst.cs
- ButtonChrome.cs
- StorageConditionPropertyMapping.cs
- ImageInfo.cs
- ActivityBuilderHelper.cs
- MessagePropertyVariants.cs
- MenuItem.cs
- TTSEngineProxy.cs
- TextBlock.cs
- SafeIUnknown.cs
- WebPartUserCapability.cs
- ContentElement.cs
- SystemIPv4InterfaceProperties.cs
- PartialTrustVisibleAssemblyCollection.cs
- InternalPermissions.cs
- ValidatingReaderNodeData.cs
- DesignSurfaceCollection.cs
- BeginGetFileNameFromUserRequest.cs
- EntitySetDataBindingList.cs
- SiteMapNode.cs
- HttpHandlerActionCollection.cs
- Matrix3D.cs
- DispatcherOperation.cs
- WindowsAuthenticationEventArgs.cs
- XsltFunctions.cs
- CalendarAutoFormatDialog.cs
- AutomationPeer.cs
- ModuleBuilder.cs
- CustomCategoryAttribute.cs
- Wizard.cs
- DesignRelation.cs
- EnumerableCollectionView.cs
- EventMappingSettingsCollection.cs
- DesignSurface.cs
- HtmlLink.cs
- DbUpdateCommandTree.cs
- PenLineJoinValidation.cs
- ExternalFile.cs
- StyleXamlTreeBuilder.cs
- SystemInformation.cs
- StringUtil.cs
- Menu.cs
- ApplicationSettingsBase.cs
- GeneralTransform3DCollection.cs
- XmlNamedNodeMap.cs
- X509ClientCertificateAuthentication.cs
- TokenBasedSet.cs
- DataSourceExpression.cs
- DateTimeConverter.cs
- KnownTypes.cs
- RIPEMD160Managed.cs
- SqlStream.cs
- ToolStripContentPanelDesigner.cs
- PassportAuthentication.cs
- SafeMemoryMappedFileHandle.cs
- DataGridViewCellEventArgs.cs
- RtfToXamlReader.cs
- SafeHandle.cs
- GeometryModel3D.cs
- TableLayoutPanel.cs
- IndentTextWriter.cs
- TextTreeUndo.cs
- RegexWorker.cs
- XPathPatternParser.cs
- UnauthorizedWebPart.cs
- UnknownBitmapEncoder.cs
- WebHttpSecurityModeHelper.cs
- ErrorHandler.cs
- DbConnectionPoolOptions.cs
- DesignerCommandSet.cs
- MethodInfo.cs
- XMLUtil.cs
- ResourcesBuildProvider.cs
- MembershipAdapter.cs
- EventLogInternal.cs
- NullableIntAverageAggregationOperator.cs