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
- ClaimComparer.cs
- ResizeBehavior.cs
- DataSourceXmlSerializer.cs
- PageTheme.cs
- PriorityItem.cs
- xsdvalidator.cs
- EventLogReader.cs
- XmlNotation.cs
- SoapConverter.cs
- DeflateInput.cs
- ValueQuery.cs
- MouseActionConverter.cs
- MessageSecurityOverMsmq.cs
- X509Extension.cs
- SchemaLookupTable.cs
- MSHTMLHost.cs
- arabicshape.cs
- MarkedHighlightComponent.cs
- _AutoWebProxyScriptHelper.cs
- FieldBuilder.cs
- cookieexception.cs
- DataSvcMapFileSerializer.cs
- Misc.cs
- Blend.cs
- MatrixAnimationUsingKeyFrames.cs
- FilteredDataSetHelper.cs
- GenericEnumerator.cs
- WsatAdminException.cs
- SiteMapNodeCollection.cs
- Scene3D.cs
- DataProviderNameConverter.cs
- HttpCapabilitiesBase.cs
- StackOverflowException.cs
- AggregateNode.cs
- XmlName.cs
- ServiceHttpHandlerFactory.cs
- AssemblySettingAttributes.cs
- ParallelEnumerable.cs
- FramingEncoders.cs
- TextSegment.cs
- CodeExpressionCollection.cs
- XPathNodeInfoAtom.cs
- NavigatorInput.cs
- ValueQuery.cs
- MenuItemCollection.cs
- BufferModeSettings.cs
- ServiceDesigner.xaml.cs
- CommandEventArgs.cs
- ReadWriteSpinLock.cs
- Scanner.cs
- DataGridAddNewRow.cs
- MouseGestureConverter.cs
- AppDomainResourcePerfCounters.cs
- ObjectCloneHelper.cs
- CollaborationHelperFunctions.cs
- IndicCharClassifier.cs
- TextBlock.cs
- MailAddress.cs
- MenuEventArgs.cs
- GatewayDefinition.cs
- WorkflowMarkupSerializer.cs
- TransactionContextManager.cs
- LocalizabilityAttribute.cs
- AutoScrollHelper.cs
- ValidatingPropertiesEventArgs.cs
- PersistChildrenAttribute.cs
- AbstractDataSvcMapFileLoader.cs
- AsymmetricKeyExchangeFormatter.cs
- CanonicalXml.cs
- EmptyControlCollection.cs
- PrimitiveOperationFormatter.cs
- RolePrincipal.cs
- InputLanguageManager.cs
- PasswordTextNavigator.cs
- MemberPathMap.cs
- EventListener.cs
- Int32Animation.cs
- XamlTypeMapper.cs
- EntityClientCacheEntry.cs
- RunWorkerCompletedEventArgs.cs
- SynchronizedDispatch.cs
- ItemType.cs
- Conditional.cs
- JsonDeserializer.cs
- CTreeGenerator.cs
- ManagementEventWatcher.cs
- XamlTreeBuilder.cs
- CodePageUtils.cs
- UriParserTemplates.cs
- MailWebEventProvider.cs
- ResXBuildProvider.cs
- RtfToken.cs
- AttachedPropertyMethodSelector.cs
- CaseCqlBlock.cs
- CrossAppDomainChannel.cs
- PrimarySelectionAdorner.cs
- Geometry.cs
- ExternalException.cs
- ModelItemDictionary.cs
- FloaterParaClient.cs