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
- WebMessageBodyStyleHelper.cs
- SmiContextFactory.cs
- AppearanceEditorPart.cs
- TextElementEnumerator.cs
- FigureParagraph.cs
- ValidationHelper.cs
- SafeNativeMethods.cs
- ConnectionInterfaceCollection.cs
- IDQuery.cs
- DebugView.cs
- XmlFormatExtensionPrefixAttribute.cs
- RSAPKCS1SignatureDeformatter.cs
- DateBoldEvent.cs
- SqlExpander.cs
- BlobPersonalizationState.cs
- ClientTargetCollection.cs
- XPathBinder.cs
- HopperCache.cs
- ExtensionQuery.cs
- AssemblyHash.cs
- XmlResolver.cs
- TypeResolver.cs
- DataGridHelper.cs
- PrintPreviewDialog.cs
- ClipboardProcessor.cs
- _ShellExpression.cs
- CultureSpecificStringDictionary.cs
- UnsafeNetInfoNativeMethods.cs
- DataGridViewComboBoxEditingControl.cs
- ToolStripLocationCancelEventArgs.cs
- CustomAttribute.cs
- DecimalAnimationUsingKeyFrames.cs
- StylusEventArgs.cs
- FlowNode.cs
- SafeIUnknown.cs
- ItemMap.cs
- BlockExpression.cs
- AttributedMetaModel.cs
- GridViewCancelEditEventArgs.cs
- MasterPageBuildProvider.cs
- TrackingMemoryStreamFactory.cs
- BindingMemberInfo.cs
- PartDesigner.cs
- FormsAuthenticationModule.cs
- IsolatedStorageFilePermission.cs
- QueryableDataSourceView.cs
- TableLayoutRowStyleCollection.cs
- XmlNode.cs
- ApplicationHost.cs
- Shape.cs
- ToolStripDropDownItem.cs
- UInt64Storage.cs
- SectionVisual.cs
- ModelFunction.cs
- Hyperlink.cs
- UserPreferenceChangingEventArgs.cs
- ThreadStateException.cs
- Predicate.cs
- MiniConstructorInfo.cs
- Literal.cs
- ListArgumentProvider.cs
- IndexedString.cs
- XmlCharCheckingReader.cs
- DecoderFallbackWithFailureFlag.cs
- FixedSOMTable.cs
- SQLString.cs
- HttpHandlerActionCollection.cs
- PropertyTab.cs
- BaseTemplatedMobileComponentEditor.cs
- PageAction.cs
- ToolStripSplitStackLayout.cs
- _SingleItemRequestCache.cs
- MouseActionValueSerializer.cs
- WebPartConnectionCollection.cs
- HtmlImageAdapter.cs
- ElementAction.cs
- UriParserTemplates.cs
- AlignmentXValidation.cs
- BuiltInExpr.cs
- WebPartConnectionsDisconnectVerb.cs
- PixelFormats.cs
- HtmlSelect.cs
- ToolStripTextBox.cs
- ContractCodeDomInfo.cs
- StylusTip.cs
- EventLogTraceListener.cs
- AppDomainFactory.cs
- Identifier.cs
- SymbolPair.cs
- ContentPosition.cs
- PrintDialog.cs
- CompressEmulationStream.cs
- ProcessModelInfo.cs
- DataGridPagerStyle.cs
- MatrixTransform.cs
- XmlName.cs
- HiddenFieldPageStatePersister.cs
- SqlTopReducer.cs
- ColumnHeader.cs
- SmiMetaData.cs