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
- HighContrastHelper.cs
- InspectionWorker.cs
- ButtonBase.cs
- QilReplaceVisitor.cs
- DataObjectMethodAttribute.cs
- HashStream.cs
- TextElementCollectionHelper.cs
- ExpressionBuilderContext.cs
- DrawingDrawingContext.cs
- XmlSchemaSimpleContentRestriction.cs
- ProfileModule.cs
- ButtonAutomationPeer.cs
- WebBrowsableAttribute.cs
- XmlSchemaAnnotation.cs
- ControlCollection.cs
- DbCommandTree.cs
- DocumentOutline.cs
- HttpBufferlessInputStream.cs
- HtmlTextBoxAdapter.cs
- Events.cs
- ToolboxItemCollection.cs
- sqlmetadatafactory.cs
- ListSortDescriptionCollection.cs
- ConfigUtil.cs
- StreamingContext.cs
- StylusPlugInCollection.cs
- TaskFileService.cs
- XmlNavigatorStack.cs
- ItemList.cs
- __TransparentProxy.cs
- AuthenticationModulesSection.cs
- PreviewPrintController.cs
- DataGridViewRowsRemovedEventArgs.cs
- FormatException.cs
- ConnectionInterfaceCollection.cs
- TemplateBindingExpressionConverter.cs
- SupportingTokenAuthenticatorSpecification.cs
- OleDbInfoMessageEvent.cs
- Ref.cs
- MetadataCache.cs
- MemberNameValidator.cs
- Nullable.cs
- BooleanStorage.cs
- SystemIPv4InterfaceProperties.cs
- MessageSecurityVersionConverter.cs
- CngKeyCreationParameters.cs
- TranslateTransform3D.cs
- Rotation3DKeyFrameCollection.cs
- BitmapFrameEncode.cs
- CacheSection.cs
- CapabilitiesUse.cs
- HtmlHead.cs
- remotingproxy.cs
- TableRow.cs
- ReadOnlyDataSourceView.cs
- DBDataPermissionAttribute.cs
- MulticastNotSupportedException.cs
- ContentElement.cs
- altserialization.cs
- SequentialActivityDesigner.cs
- VisualProxy.cs
- EntityDataSourceViewSchema.cs
- DBBindings.cs
- _FtpControlStream.cs
- DataListItemEventArgs.cs
- TypeElementCollection.cs
- RegistryKey.cs
- AssemblyHash.cs
- VectorConverter.cs
- PopupRootAutomationPeer.cs
- ObjectIDGenerator.cs
- NamedObject.cs
- ListBoxAutomationPeer.cs
- DataRelation.cs
- EnumBuilder.cs
- AppDomainFactory.cs
- IdentityNotMappedException.cs
- RuleInfoComparer.cs
- QuestionEventArgs.cs
- ManagementInstaller.cs
- SqlUtils.cs
- Logging.cs
- handlecollector.cs
- XPathChildIterator.cs
- EventListener.cs
- Pts.cs
- ListViewGroupConverter.cs
- _ReceiveMessageOverlappedAsyncResult.cs
- SequenceDesigner.cs
- DesignerView.cs
- ByteKeyFrameCollection.cs
- RecognizerInfo.cs
- ContextMenuService.cs
- TextSearch.cs
- ZipIOLocalFileHeader.cs
- TraceEventCache.cs
- QilTargetType.cs
- DataGridViewCheckBoxColumn.cs
- Control.cs
- WebBrowserSiteBase.cs