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
- WmlControlAdapter.cs
- CacheModeConverter.cs
- UriWriter.cs
- IdentityNotMappedException.cs
- PrePostDescendentsWalker.cs
- InputBuffer.cs
- WmfPlaceableFileHeader.cs
- ArrayTypeMismatchException.cs
- Button.cs
- ConfigurationProviderException.cs
- Transform.cs
- String.cs
- EntityParameterCollection.cs
- ObjectParameter.cs
- Directory.cs
- XmlAttributeCollection.cs
- CmsUtils.cs
- SerializationAttributes.cs
- OdbcUtils.cs
- SID.cs
- ErrorFormatterPage.cs
- ToolStripManager.cs
- Label.cs
- ContextActivityUtils.cs
- TypedTableBase.cs
- BeginEvent.cs
- PassportIdentity.cs
- LightweightCodeGenerator.cs
- XmlSchemaSequence.cs
- EntityConnectionStringBuilderItem.cs
- SizeKeyFrameCollection.cs
- DesignerView.cs
- StorageAssociationSetMapping.cs
- ConfigurationManagerInternalFactory.cs
- Bezier.cs
- AllowedAudienceUriElement.cs
- StateChangeEvent.cs
- SessionStateSection.cs
- ConfigXmlAttribute.cs
- TraceContextRecord.cs
- ParserStack.cs
- LinkedList.cs
- ServiceDescriptionImporter.cs
- SystemTcpStatistics.cs
- PerformanceCounterPermission.cs
- TemplateControl.cs
- UnaryNode.cs
- EventRouteFactory.cs
- WbemProvider.cs
- ResetableIterator.cs
- _CacheStreams.cs
- OdbcError.cs
- DrawingBrush.cs
- DBSqlParserTable.cs
- NetworkInterface.cs
- FrameworkElementAutomationPeer.cs
- NullReferenceException.cs
- StateValidator.cs
- OrthographicCamera.cs
- HScrollBar.cs
- StylusButtonEventArgs.cs
- FloaterParaClient.cs
- XmlUrlResolver.cs
- RoleService.cs
- AttributeData.cs
- IResourceProvider.cs
- TreeViewImageIndexConverter.cs
- ComponentEditorForm.cs
- DesignerLabelAdapter.cs
- ImageAutomationPeer.cs
- TimeoutException.cs
- ScrollBarRenderer.cs
- TemporaryBitmapFile.cs
- OleCmdHelper.cs
- NetPeerTcpBindingElement.cs
- SatelliteContractVersionAttribute.cs
- XsltConvert.cs
- LocatorGroup.cs
- TablePattern.cs
- DynamicDataManager.cs
- IDReferencePropertyAttribute.cs
- UrlMappingsSection.cs
- DbDataAdapter.cs
- CreateParams.cs
- LongTypeConverter.cs
- GPStream.cs
- SqlIdentifier.cs
- XmlRootAttribute.cs
- WpfSharedXamlSchemaContext.cs
- RtfToXamlLexer.cs
- GetIndexBinder.cs
- SamlAction.cs
- BindingMAnagerBase.cs
- ReferenceEqualityComparer.cs
- SqlResolver.cs
- SchemaTableOptionalColumn.cs
- TargetException.cs
- XPathNodeIterator.cs
- NameSpaceEvent.cs
- QilValidationVisitor.cs