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
- NonVisualControlAttribute.cs
- ProfilePropertySettingsCollection.cs
- DataGridViewButtonColumn.cs
- InputLangChangeEvent.cs
- DataGridBoolColumn.cs
- ClientSettings.cs
- WorkflowCreationContext.cs
- InputQueue.cs
- ContentIterators.cs
- MobileTemplatedControlDesigner.cs
- UpdateCompiler.cs
- UnconditionalPolicy.cs
- SafeThreadHandle.cs
- TemplatedAdorner.cs
- TypeListConverter.cs
- TextEditorThreadLocalStore.cs
- RuleSetCollection.cs
- HtmlTitle.cs
- SqlDataSourceQueryEditorForm.cs
- TextEmbeddedObject.cs
- EntityClassGenerator.cs
- Tile.cs
- ButtonBaseAdapter.cs
- DefaultCompensation.cs
- XmlNodeChangedEventArgs.cs
- QuaternionValueSerializer.cs
- ToolboxItemAttribute.cs
- ProxyOperationRuntime.cs
- InputMethodStateChangeEventArgs.cs
- ToolBarButtonClickEvent.cs
- SystemUnicastIPAddressInformation.cs
- ZipIOFileItemStream.cs
- FileDialog_Vista.cs
- EditorZone.cs
- HScrollProperties.cs
- Transform3D.cs
- ReflectionUtil.cs
- RefreshPropertiesAttribute.cs
- SetStoryboardSpeedRatio.cs
- SchemaElementDecl.cs
- SynchronizingStream.cs
- MarkupExtensionReturnTypeAttribute.cs
- HostingEnvironmentException.cs
- RoamingStoreFile.cs
- LongTypeConverter.cs
- RealizationContext.cs
- RelatedCurrencyManager.cs
- GenericWebPart.cs
- AutoScrollHelper.cs
- QueryCreatedEventArgs.cs
- ColumnWidthChangedEvent.cs
- LocalizationCodeDomSerializer.cs
- AnnotationResourceChangedEventArgs.cs
- CurrentChangedEventManager.cs
- HttpCapabilitiesEvaluator.cs
- XPathDocumentIterator.cs
- CodeAssignStatement.cs
- EdmPropertyAttribute.cs
- DelimitedListTraceListener.cs
- SqlTriggerAttribute.cs
- UIElementAutomationPeer.cs
- DataGridrowEditEndingEventArgs.cs
- OutputScopeManager.cs
- HtmlInputText.cs
- CurrencyWrapper.cs
- CachedPathData.cs
- CellPartitioner.cs
- HttpMethodAttribute.cs
- CorrelationHandle.cs
- LocalizedNameDescriptionPair.cs
- CodeMethodMap.cs
- ToolStripManager.cs
- ToolBarButtonDesigner.cs
- XmlSchemaObjectCollection.cs
- MessageBox.cs
- QueryContinueDragEventArgs.cs
- TimeoutException.cs
- Authorization.cs
- ITextView.cs
- PointF.cs
- XDRSchema.cs
- LocalBuilder.cs
- XmlWriter.cs
- StringWriter.cs
- grammarelement.cs
- CurrencyManager.cs
- Bits.cs
- DesignerWidgets.cs
- ClientOptions.cs
- DoubleCollectionConverter.cs
- EntityModelSchemaGenerator.cs
- LoginAutoFormat.cs
- ResourceDictionary.cs
- COAUTHIDENTITY.cs
- SqlProviderManifest.cs
- ToolStripSettings.cs
- UpdatePanelControlTrigger.cs
- OdbcConnectionHandle.cs
- SimpleMailWebEventProvider.cs
- SerialReceived.cs