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
- ForwardPositionQuery.cs
- HttpPostServerProtocol.cs
- ExtenderProvidedPropertyAttribute.cs
- ECDsa.cs
- DataViewSettingCollection.cs
- Opcode.cs
- NativeCompoundFileAPIs.cs
- StringFunctions.cs
- XmlProcessingInstruction.cs
- TcpServerChannel.cs
- WebPartDisplayModeCollection.cs
- AnimationStorage.cs
- Attribute.cs
- EventItfInfo.cs
- StringConverter.cs
- NotImplementedException.cs
- SaveFileDialog.cs
- SingleConverter.cs
- ClientFormsAuthenticationCredentials.cs
- TextServicesHost.cs
- CharEnumerator.cs
- SafeProcessHandle.cs
- AsymmetricCryptoHandle.cs
- WeakReferenceKey.cs
- CompositeScriptReference.cs
- ReliabilityContractAttribute.cs
- RelatedPropertyManager.cs
- StateMachineDesignerPaint.cs
- BooleanToVisibilityConverter.cs
- CustomAttributeFormatException.cs
- TempFiles.cs
- DataGridColumnsPage.cs
- RegexRunner.cs
- XmlParser.cs
- ToolBarButton.cs
- SymLanguageType.cs
- PreviewPageInfo.cs
- InitializationEventAttribute.cs
- MiniMapControl.xaml.cs
- ISFTagAndGuidCache.cs
- ThousandthOfEmRealPoints.cs
- FocusManager.cs
- RectangleF.cs
- DataRelation.cs
- SqlMultiplexer.cs
- RuleValidation.cs
- OverflowException.cs
- CrossSiteScriptingValidation.cs
- InternalRelationshipCollection.cs
- _AutoWebProxyScriptEngine.cs
- ArgumentNullException.cs
- TriggerBase.cs
- _ProxyChain.cs
- RegistrationServices.cs
- LocalizedNameDescriptionPair.cs
- CustomErrorsSectionWrapper.cs
- TypeNameConverter.cs
- StoreAnnotationsMap.cs
- SchemaNamespaceManager.cs
- StyleSheetComponentEditor.cs
- DnsPermission.cs
- XslUrlEditor.cs
- XmlWrappingReader.cs
- Symbol.cs
- ServerProtocol.cs
- BaseTreeIterator.cs
- CLRBindingWorker.cs
- Model3D.cs
- Validator.cs
- SmtpSection.cs
- EntityParameterCollection.cs
- OrderablePartitioner.cs
- Matrix3D.cs
- HtmlInputFile.cs
- Scheduler.cs
- XmlNamedNodeMap.cs
- ContextBase.cs
- NameNode.cs
- BoolLiteral.cs
- templategroup.cs
- WebPartConnectionsCloseVerb.cs
- Row.cs
- Content.cs
- KeysConverter.cs
- StyleSelector.cs
- X509CertificateTrustedIssuerElementCollection.cs
- RtfFormatStack.cs
- BitmapPalette.cs
- sqlser.cs
- EventTrigger.cs
- WebPartManager.cs
- InstallHelper.cs
- RelationshipNavigation.cs
- MSHTMLHost.cs
- XhtmlBasicCalendarAdapter.cs
- TreeNode.cs
- DeleteCardRequest.cs
- FaultDescription.cs
- Animatable.cs
- DataGridViewSelectedCellsAccessibleObject.cs