Code:
/ Dotnetfx_Win7_3.5.1 / Dotnetfx_Win7_3.5.1 / 3.5.1 / DEVDIV / depot / DevDiv / releases / Orcas / NetFXw7 / 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
- WebPartZoneBase.cs
- GridViewDeleteEventArgs.cs
- SemanticTag.cs
- Sql8ConformanceChecker.cs
- SafeRightsManagementQueryHandle.cs
- RtfToXamlReader.cs
- TextFormatterContext.cs
- MembershipPasswordException.cs
- HttpContext.cs
- ScriptManagerProxy.cs
- GridItemProviderWrapper.cs
- FormsIdentity.cs
- DataObjectCopyingEventArgs.cs
- InitializationEventAttribute.cs
- WindowInteropHelper.cs
- InfoCardTrace.cs
- WebPartConnectionsConnectVerb.cs
- SpecialNameAttribute.cs
- PreservationFileReader.cs
- DataSourceXmlAttributeAttribute.cs
- HtmlLabelAdapter.cs
- HandlerBase.cs
- PointLight.cs
- ElementHost.cs
- BaseDataList.cs
- ValidatedControlConverter.cs
- CodeTypeParameter.cs
- ListViewPagedDataSource.cs
- ObjRef.cs
- DesignerActionKeyboardBehavior.cs
- TransactionTable.cs
- SplineKeyFrames.cs
- JpegBitmapDecoder.cs
- FixedSOMGroup.cs
- ResourcesGenerator.cs
- WhiteSpaceTrimStringConverter.cs
- MonitoringDescriptionAttribute.cs
- BinaryWriter.cs
- NamedPermissionSet.cs
- EqualityArray.cs
- COM2ICategorizePropertiesHandler.cs
- NamespaceInfo.cs
- GeneralTransformGroup.cs
- WindowsFormsSynchronizationContext.cs
- SvcMapFileSerializer.cs
- SafeNativeMethods.cs
- SlipBehavior.cs
- RijndaelManagedTransform.cs
- ChannelManager.cs
- WebBrowsableAttribute.cs
- IISMapPath.cs
- RequestCachePolicyConverter.cs
- SpeakProgressEventArgs.cs
- ValidateNames.cs
- Button.cs
- HTTPRemotingHandler.cs
- SmiMetaData.cs
- HostProtectionPermission.cs
- CodeNamespaceImport.cs
- ConsumerConnectionPoint.cs
- CircleHotSpot.cs
- DbConnectionOptions.cs
- InvalidAsynchronousStateException.cs
- TimeBoundedCache.cs
- SmiEventSink_DeferedProcessing.cs
- CodeEntryPointMethod.cs
- DBCommandBuilder.cs
- assemblycache.cs
- MediaContextNotificationWindow.cs
- HtmlElementEventArgs.cs
- DataStorage.cs
- EmbeddedMailObjectCollectionEditor.cs
- ValidationPropertyAttribute.cs
- ActiveDocumentEvent.cs
- FormsAuthenticationUser.cs
- PropertyCondition.cs
- KoreanCalendar.cs
- ToolStripPanel.cs
- Section.cs
- IWorkflowDebuggerService.cs
- TextDecorationCollectionConverter.cs
- TextEditorSpelling.cs
- SocketPermission.cs
- ReadOnlyDictionary.cs
- XmlElementAttribute.cs
- ObjectSecurity.cs
- FirstMatchCodeGroup.cs
- AccessibleObject.cs
- TemplateColumn.cs
- ReflectionHelper.cs
- PersonalizationAdministration.cs
- GlyphRunDrawing.cs
- ChtmlSelectionListAdapter.cs
- QilPatternFactory.cs
- entityreference_tresulttype.cs
- TypeConverterAttribute.cs
- Nullable.cs
- ProfileGroupSettingsCollection.cs
- EventHandlingScope.cs
- DragDeltaEventArgs.cs