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
- GregorianCalendarHelper.cs
- xmlglyphRunInfo.cs
- Control.cs
- TableLayoutSettings.cs
- COM2ComponentEditor.cs
- HwndMouseInputProvider.cs
- HiddenField.cs
- AddingNewEventArgs.cs
- GroupDescription.cs
- SQLGuid.cs
- HostedBindingBehavior.cs
- CellNormalizer.cs
- IntranetCredentialPolicy.cs
- XmlSchemaSimpleTypeRestriction.cs
- HotCommands.cs
- WebBrowserEvent.cs
- PropertyMetadata.cs
- Util.cs
- XPathEmptyIterator.cs
- ExpressionBindingCollection.cs
- WriteStateInfoBase.cs
- ObjectDataSourceView.cs
- ACE.cs
- Exceptions.cs
- GroupItem.cs
- BaseAsyncResult.cs
- XmlBinaryReader.cs
- TransformDescriptor.cs
- MetadataSource.cs
- TypeFieldSchema.cs
- PassportIdentity.cs
- HtmlTableRow.cs
- WorkflowPrinting.cs
- RadioButton.cs
- XmlAttribute.cs
- HtmlTableCellCollection.cs
- WorkflowItemsPresenter.cs
- RenderingBiasValidation.cs
- DataServiceRequestException.cs
- ScriptingRoleServiceSection.cs
- ConsoleKeyInfo.cs
- ImageMap.cs
- IsolatedStorageFileStream.cs
- WorkflowInstanceSuspendedRecord.cs
- FixedElement.cs
- ComponentSerializationService.cs
- TraceListener.cs
- SByte.cs
- TextTreeObjectNode.cs
- StatusBarDrawItemEvent.cs
- FormView.cs
- HasCopySemanticsAttribute.cs
- GridSplitterAutomationPeer.cs
- ConnectionManager.cs
- FileNotFoundException.cs
- TextAdaptor.cs
- DataGridViewCheckBoxColumn.cs
- MaterializeFromAtom.cs
- Visual3D.cs
- WebHttpSecurity.cs
- PackageDigitalSignatureManager.cs
- SchemaImporterExtensionsSection.cs
- WindowsListBox.cs
- TraceProvider.cs
- MetadataCollection.cs
- MultilineStringConverter.cs
- SafeLocalMemHandle.cs
- UserControl.cs
- DetailsViewRowCollection.cs
- DataRowView.cs
- ApplicationServiceManager.cs
- ProcessRequestAsyncResult.cs
- DataQuery.cs
- SerialErrors.cs
- Nullable.cs
- WsdlHelpGeneratorElement.cs
- StaticSiteMapProvider.cs
- TextEffect.cs
- MemberRestriction.cs
- PrtTicket_Editor.cs
- HttpChannelBindingToken.cs
- TraceContext.cs
- Parser.cs
- ObservableDictionary.cs
- AlternateViewCollection.cs
- DrawingImage.cs
- FusionWrap.cs
- BamlStream.cs
- SqlProfileProvider.cs
- Part.cs
- PathSegmentCollection.cs
- NameValueConfigurationElement.cs
- SrgsNameValueTag.cs
- StatusBar.cs
- XmlSchemaAnnotation.cs
- JoinTreeSlot.cs
- SafeSecurityHandles.cs
- NullRuntimeConfig.cs
- RegexReplacement.cs
- HtmlFormParameterReader.cs