Code:
/ Net / Net / 3.5.50727.3053 / DEVDIV / depot / DevDiv / releases / Orcas / SP / 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
- TimelineCollection.cs
- NamespaceQuery.cs
- SEHException.cs
- HttpResponseHeader.cs
- EventLogPermissionEntryCollection.cs
- AttributeProviderAttribute.cs
- ExeConfigurationFileMap.cs
- AdditionalEntityFunctions.cs
- IIS7WorkerRequest.cs
- MappedMetaModel.cs
- DataGridViewRowHeightInfoPushedEventArgs.cs
- HtmlEmptyTagControlBuilder.cs
- PrintPageEvent.cs
- MDIWindowDialog.cs
- WebPartDisplayModeCancelEventArgs.cs
- ObjectContext.cs
- AutoGeneratedFieldProperties.cs
- HttpCookie.cs
- PipelineDeploymentState.cs
- OptionalMessageQuery.cs
- KeyNotFoundException.cs
- VBIdentifierTrimConverter.cs
- StreamSecurityUpgradeAcceptorAsyncResult.cs
- RuleSettingsCollection.cs
- DesignerImageAdapter.cs
- WSTransactionSection.cs
- XpsDigitalSignature.cs
- XNameConverter.cs
- CodeBlockBuilder.cs
- ListViewItemSelectionChangedEvent.cs
- ResourceReferenceKeyNotFoundException.cs
- ValueUtilsSmi.cs
- PropertyReferenceExtension.cs
- NetWebProxyFinder.cs
- StreamInfo.cs
- DataGridViewCellStyleBuilderDialog.cs
- TableAutomationPeer.cs
- TagPrefixInfo.cs
- TableHeaderCell.cs
- DBAsyncResult.cs
- XhtmlConformanceSection.cs
- LinkArea.cs
- TypeSystem.cs
- CodeMethodReturnStatement.cs
- AssertSection.cs
- CustomTypeDescriptor.cs
- UpdateManifestForBrowserApplication.cs
- TypeUsageBuilder.cs
- PKCS1MaskGenerationMethod.cs
- AdornerLayer.cs
- RichTextBox.cs
- BehaviorEditorPart.cs
- ToolBar.cs
- InputBindingCollection.cs
- RuntimeCompatibilityAttribute.cs
- XsltLoader.cs
- Comparer.cs
- NamespaceDecl.cs
- AdapterDictionary.cs
- DictionaryBase.cs
- DetailsViewPageEventArgs.cs
- XmlNamespaceManager.cs
- LinearGradientBrush.cs
- ForwardPositionQuery.cs
- UnrecognizedPolicyAssertionElement.cs
- LineGeometry.cs
- CursorConverter.cs
- AutoResizedEvent.cs
- ToolStripSplitButton.cs
- XamlTypeWithExplicitNamespace.cs
- _ConnectionGroup.cs
- CheckoutException.cs
- PersonalizationStateInfo.cs
- MatrixTransform.cs
- FormClosedEvent.cs
- BridgeDataRecord.cs
- Rect.cs
- SoapSchemaMember.cs
- DecimalConverter.cs
- DBSqlParserColumnCollection.cs
- MetadataArtifactLoaderResource.cs
- BulletedListEventArgs.cs
- UserControl.cs
- VectorAnimation.cs
- StreamReader.cs
- AuthenticateEventArgs.cs
- DelegateTypeInfo.cs
- ConfigUtil.cs
- SafePEFileHandle.cs
- MessageSecurityOverHttp.cs
- EncoderParameters.cs
- RelatedImageListAttribute.cs
- ControlAdapter.cs
- SvcMapFile.cs
- SafeBitVector32.cs
- ExecutionEngineException.cs
- DesignerActionTextItem.cs
- InputScope.cs
- Rectangle.cs
- DataSetMappper.cs