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
- BaseCAMarshaler.cs
- _BasicClient.cs
- MaterialGroup.cs
- ZoomPercentageConverter.cs
- IItemContainerGenerator.cs
- compensatingcollection.cs
- ViewCellSlot.cs
- RepeatInfo.cs
- __FastResourceComparer.cs
- RecognitionResult.cs
- XPathScanner.cs
- CharacterMetrics.cs
- ImageAttributes.cs
- HttpListenerTimeoutManager.cs
- XmlWriterTraceListener.cs
- AutomationEventArgs.cs
- Grant.cs
- SequentialWorkflowHeaderFooter.cs
- WindowsRegion.cs
- WeakReferenceEnumerator.cs
- XmlIgnoreAttribute.cs
- DatatypeImplementation.cs
- GridEntry.cs
- ResourceSetExpression.cs
- ListDictionaryInternal.cs
- BufferedReadStream.cs
- BinaryFormatterWriter.cs
- DataList.cs
- InstallerTypeAttribute.cs
- StreamedWorkflowDefinitionContext.cs
- WindowsContainer.cs
- XamlWriter.cs
- ProtocolsConfiguration.cs
- TextTreeInsertElementUndoUnit.cs
- ValueUtilsSmi.cs
- StrokeIntersection.cs
- ControlBindingsConverter.cs
- EventEntry.cs
- InputBinder.cs
- JsonCollectionDataContract.cs
- UIAgentCrashedException.cs
- ExtensionFile.cs
- X509Extension.cs
- complextypematerializer.cs
- Crypto.cs
- oledbconnectionstring.cs
- TextParentUndoUnit.cs
- SynchronizingStream.cs
- ScriptingWebServicesSectionGroup.cs
- BridgeDataRecord.cs
- thaishape.cs
- DateBoldEvent.cs
- Parsers.cs
- HttpCapabilitiesEvaluator.cs
- FileSystemWatcher.cs
- ServerValidateEventArgs.cs
- FormsAuthenticationUserCollection.cs
- MissingSatelliteAssemblyException.cs
- DCSafeHandle.cs
- LinqExpressionNormalizer.cs
- LocalizationParserHooks.cs
- UnsafePeerToPeerMethods.cs
- XmlElement.cs
- ComplexLine.cs
- StringBuilder.cs
- UserMapPath.cs
- PrimitiveSchema.cs
- RuntimeArgumentHandle.cs
- SecurityStateEncoder.cs
- CustomAttribute.cs
- AdornedElementPlaceholder.cs
- XmlAnyElementAttribute.cs
- StrokeNodeOperations.cs
- UnsafeNativeMethods.cs
- BindingBase.cs
- UnauthorizedWebPart.cs
- OpCodes.cs
- DataGridViewCellPaintingEventArgs.cs
- HttpEncoder.cs
- SerializationHelper.cs
- RegexMatchCollection.cs
- ButtonAutomationPeer.cs
- MappingModelBuildProvider.cs
- PeerName.cs
- TemplateBamlRecordReader.cs
- WebPageTraceListener.cs
- HtmlSelectionListAdapter.cs
- SelectionItemPattern.cs
- Int64Converter.cs
- FieldCollectionEditor.cs
- DataGridViewRowPrePaintEventArgs.cs
- Error.cs
- StrongTypingException.cs
- DefaultEvaluationContext.cs
- BitmapFrameDecode.cs
- DataContext.cs
- PathNode.cs
- DesignerTextWriter.cs
- ThreadPool.cs
- UserControlBuildProvider.cs