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
- CheckoutException.cs
- DataReaderContainer.cs
- XhtmlBasicTextViewAdapter.cs
- IPipelineRuntime.cs
- SmiRecordBuffer.cs
- HealthMonitoringSectionHelper.cs
- TdsParserStaticMethods.cs
- HtmlWindow.cs
- WebConfigurationHostFileChange.cs
- TableParaClient.cs
- EncodingInfo.cs
- _HeaderInfo.cs
- IgnorePropertiesAttribute.cs
- CollectionTraceRecord.cs
- HttpListenerResponse.cs
- XmlAttribute.cs
- RsaKeyIdentifierClause.cs
- ProfileManager.cs
- FacetDescriptionElement.cs
- BaseUriHelper.cs
- ForwardPositionQuery.cs
- NonParentingControl.cs
- SetterBase.cs
- SqlDataSourceCustomCommandPanel.cs
- UnitySerializationHolder.cs
- TraceRecord.cs
- XmlElementElementCollection.cs
- Stream.cs
- MeasureData.cs
- UpDownEvent.cs
- WindowsAuthenticationEventArgs.cs
- DependencyPropertyChangedEventArgs.cs
- XmlCustomFormatter.cs
- FunctionImportMapping.cs
- UInt32.cs
- ButtonFieldBase.cs
- BrowserCapabilitiesFactory.cs
- PassportAuthenticationEventArgs.cs
- RequestNavigateEventArgs.cs
- RNGCryptoServiceProvider.cs
- HttpDictionary.cs
- GiveFeedbackEventArgs.cs
- PartManifestEntry.cs
- QilPatternFactory.cs
- EncodingConverter.cs
- ArrayElementGridEntry.cs
- ModelChangedEventArgsImpl.cs
- PassportPrincipal.cs
- EntityProviderServices.cs
- DetailsViewPagerRow.cs
- RoleManagerEventArgs.cs
- WindowCollection.cs
- StyleXamlTreeBuilder.cs
- WpfGeneratedKnownTypes.cs
- DataColumnPropertyDescriptor.cs
- ParagraphResult.cs
- FlowchartDesigner.Helpers.cs
- StrongNameKeyPair.cs
- SizeChangedEventArgs.cs
- AnnotationAuthorChangedEventArgs.cs
- WebPartConnectionsCancelEventArgs.cs
- PenThreadPool.cs
- ConversionContext.cs
- StylusDevice.cs
- DocumentManager.cs
- Label.cs
- COAUTHINFO.cs
- FileRecordSequenceHelper.cs
- BuildProviderAppliesToAttribute.cs
- DelegatingTypeDescriptionProvider.cs
- XmlFormatExtensionAttribute.cs
- MsmqBindingFilter.cs
- ContentTextAutomationPeer.cs
- DNS.cs
- ProcessManager.cs
- CustomErrorsSection.cs
- HMACSHA384.cs
- MetadataCacheItem.cs
- ImageAnimator.cs
- StringResourceManager.cs
- GridViewCommandEventArgs.cs
- PopOutPanel.cs
- HiddenFieldDesigner.cs
- TextContainer.cs
- HttpSessionStateBase.cs
- SignatureHelper.cs
- DataGridColumnCollection.cs
- Rotation3D.cs
- TextAdaptor.cs
- TypedTableHandler.cs
- HuffmanTree.cs
- StylusButtonEventArgs.cs
- ToolStripContentPanel.cs
- BasicHttpSecurityMode.cs
- XmlSerializableReader.cs
- Odbc32.cs
- QueryRelOp.cs
- TransformGroup.cs
- ModelVisual3D.cs
- EditingScope.cs