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
- Int16Converter.cs
- ExtendedPropertyDescriptor.cs
- StringValueSerializer.cs
- Utility.cs
- ClassicBorderDecorator.cs
- ChangePassword.cs
- LoginAutoFormat.cs
- Imaging.cs
- RepeaterCommandEventArgs.cs
- CellTreeNodeVisitors.cs
- ExceptionHelpers.cs
- WebPartDisplayModeEventArgs.cs
- ChildDocumentBlock.cs
- RegexStringValidator.cs
- Point4DValueSerializer.cs
- LocationReference.cs
- Msec.cs
- mansign.cs
- DbConnectionStringBuilder.cs
- BuildManagerHost.cs
- XmlSchemaSimpleContentRestriction.cs
- BamlLocalizationDictionary.cs
- ManagementScope.cs
- SqlDataSourceSummaryPanel.cs
- StringExpressionSet.cs
- StrongNamePublicKeyBlob.cs
- PassportAuthentication.cs
- DetailsViewModeEventArgs.cs
- ListViewTableCell.cs
- Cursors.cs
- CategoryGridEntry.cs
- Crc32.cs
- TreeNodeConverter.cs
- PartitionResolver.cs
- MimeFormReflector.cs
- Binding.cs
- PathSegmentCollection.cs
- CellNormalizer.cs
- AssociationTypeEmitter.cs
- BindingOperations.cs
- NameService.cs
- DelayDesigner.cs
- Task.cs
- Blend.cs
- WrapPanel.cs
- WindowsHyperlink.cs
- prompt.cs
- HttpChannelHelper.cs
- CredentialSelector.cs
- XmlSecureResolver.cs
- HierarchicalDataSourceControl.cs
- SystemPens.cs
- AlignmentYValidation.cs
- UriTemplatePathPartiallyEquivalentSet.cs
- DynamicPropertyReader.cs
- COMException.cs
- SchemaElement.cs
- ProcessHostServerConfig.cs
- UnsafeNativeMethods.cs
- XmlSequenceWriter.cs
- InfoCardArgumentException.cs
- ControlPropertyNameConverter.cs
- OperationResponse.cs
- Rotation3DAnimationBase.cs
- PerformanceCounter.cs
- DbDeleteCommandTree.cs
- XmlEncodedRawTextWriter.cs
- UnmanagedMarshal.cs
- SQLGuid.cs
- MobilePage.cs
- MimeParameters.cs
- PeerCollaboration.cs
- _UriSyntax.cs
- ProcessMessagesAsyncResult.cs
- XmlValueConverter.cs
- DbParameterCollectionHelper.cs
- TrustLevel.cs
- BindUriHelper.cs
- QueryGenerator.cs
- SqlDataSourceWizardForm.cs
- SplitterEvent.cs
- ListBoxItem.cs
- Attributes.cs
- TypeSystem.cs
- LineVisual.cs
- AnnotationComponentManager.cs
- ForeignKeyConstraint.cs
- GridToolTip.cs
- ThumbButtonInfo.cs
- ParameterToken.cs
- Listbox.cs
- Intellisense.cs
- securitycriticaldata.cs
- Speller.cs
- COM2TypeInfoProcessor.cs
- _LazyAsyncResult.cs
- FamilyTypefaceCollection.cs
- DateTimeOffsetConverter.cs
- XmlSchemaNotation.cs
- HtmlHead.cs