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
- SetStoryboardSpeedRatio.cs
- CollectionChangeEventArgs.cs
- RegisteredDisposeScript.cs
- ChannelEndpointElement.cs
- DispatchRuntime.cs
- XsdDuration.cs
- DependencyObjectPropertyDescriptor.cs
- TextBoxBase.cs
- Range.cs
- TextServicesDisplayAttributePropertyRanges.cs
- MouseDevice.cs
- FileLevelControlBuilderAttribute.cs
- XmlSchemaInfo.cs
- AssertFilter.cs
- SevenBitStream.cs
- EntityDescriptor.cs
- LayoutTable.cs
- SharedPersonalizationStateInfo.cs
- CommandPlan.cs
- DefaultParameterValueAttribute.cs
- WithStatement.cs
- BamlRecordHelper.cs
- WebPartDeleteVerb.cs
- SchemaNotation.cs
- Attributes.cs
- PerSessionInstanceContextProvider.cs
- Rotation3D.cs
- httpserverutility.cs
- RSAPKCS1SignatureFormatter.cs
- GroupDescription.cs
- CircleHotSpot.cs
- FileSecurity.cs
- AxWrapperGen.cs
- MissingMemberException.cs
- MemberAccessException.cs
- DataGridViewCellValidatingEventArgs.cs
- FormsAuthenticationModule.cs
- ValueQuery.cs
- QilDataSource.cs
- QuotedPrintableStream.cs
- XmlStreamNodeWriter.cs
- WaitHandleCannotBeOpenedException.cs
- RadialGradientBrush.cs
- SessionEndedEventArgs.cs
- ImageCodecInfoPrivate.cs
- CodeMethodInvokeExpression.cs
- ExpressionConverter.cs
- Or.cs
- AssemblyContextControlItem.cs
- AsyncStreamReader.cs
- SiteMembershipCondition.cs
- PointAnimationClockResource.cs
- ExtractedStateEntry.cs
- WebPartCloseVerb.cs
- XmlSchemaImport.cs
- AtomPub10CategoriesDocumentFormatter.cs
- TableAdapterManagerGenerator.cs
- ActivityBuilder.cs
- SqlCommandSet.cs
- DoubleLink.cs
- ProvidersHelper.cs
- HttpBufferlessInputStream.cs
- SqlDataSource.cs
- TraceHandlerErrorFormatter.cs
- ContextStaticAttribute.cs
- MailMessage.cs
- PrintController.cs
- WebPartZone.cs
- SelectionRange.cs
- MailSettingsSection.cs
- MaskedTextProvider.cs
- ReceiveSecurityHeader.cs
- XPathBinder.cs
- UndoUnit.cs
- ConfigurationValue.cs
- SimpleWebHandlerParser.cs
- FormView.cs
- Internal.cs
- HeaderedContentControl.cs
- ValidationEventArgs.cs
- BufferModesCollection.cs
- EntityContainerAssociationSet.cs
- RegexMatchCollection.cs
- ToolStripSeparator.cs
- FixUp.cs
- NetworkCredential.cs
- MultiSelectRootGridEntry.cs
- DefaultTraceListener.cs
- Char.cs
- DateTimeFormatInfoScanner.cs
- TargetControlTypeCache.cs
- Encoder.cs
- StringExpressionSet.cs
- XmlCollation.cs
- _OSSOCK.cs
- SmtpSpecifiedPickupDirectoryElement.cs
- HexParser.cs
- TagNameToTypeMapper.cs
- SystemFonts.cs
- MaterialCollection.cs