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
- BaseProcessProtocolHandler.cs
- WebExceptionStatus.cs
- MissingManifestResourceException.cs
- IndicShape.cs
- ArglessEventHandlerProxy.cs
- ThumbButtonInfo.cs
- SQLRoleProvider.cs
- NullableFloatMinMaxAggregationOperator.cs
- TraceEventCache.cs
- XmlSerializerOperationBehavior.cs
- WindowsListViewSubItem.cs
- DeploymentSection.cs
- MemberAccessException.cs
- AttributeEmitter.cs
- DebugView.cs
- BooleanAnimationBase.cs
- XmlCharCheckingReader.cs
- ProgressPage.cs
- DbCommandDefinition.cs
- AppSettingsExpressionBuilder.cs
- SQLInt64Storage.cs
- WsatServiceAddress.cs
- DelegatingHeader.cs
- SQLDecimalStorage.cs
- DirectionalAction.cs
- AssemblyAssociatedContentFileAttribute.cs
- PeerPresenceInfo.cs
- TypeBuilder.cs
- ActivityExecutionContext.cs
- StringCollection.cs
- ListViewItemSelectionChangedEvent.cs
- ExpressionHelper.cs
- DataServiceEntityAttribute.cs
- exports.cs
- RootAction.cs
- Helpers.cs
- InstallerTypeAttribute.cs
- _SslSessionsCache.cs
- TreeNodeStyle.cs
- RoleManagerSection.cs
- HttpListenerException.cs
- XPathCompileException.cs
- TypeInformation.cs
- Attachment.cs
- ProfilePropertySettingsCollection.cs
- Shape.cs
- WindowsListViewSubItem.cs
- FilterFactory.cs
- DesignerActionVerbItem.cs
- Int64KeyFrameCollection.cs
- StylusPointProperties.cs
- ExtendedPropertyDescriptor.cs
- SkipStoryboardToFill.cs
- DeferredSelectedIndexReference.cs
- TextBlockAutomationPeer.cs
- CanonicalizationDriver.cs
- Wizard.cs
- KeyEvent.cs
- ObjectContextServiceProvider.cs
- PointConverter.cs
- TimeSpanValidator.cs
- GridEntryCollection.cs
- WmiInstallComponent.cs
- SizeFConverter.cs
- DesignerInterfaces.cs
- GeneralTransform2DTo3DTo2D.cs
- TypeValidationEventArgs.cs
- VerifyHashRequest.cs
- HttpCachePolicy.cs
- XmlILStorageConverter.cs
- X509CertificateStore.cs
- CachingHintValidation.cs
- _TimerThread.cs
- CornerRadiusConverter.cs
- ResourceDescriptionAttribute.cs
- SmtpAuthenticationManager.cs
- XmlSchemaAttributeGroupRef.cs
- IPEndPoint.cs
- WinCategoryAttribute.cs
- CalloutQueueItem.cs
- CompositionAdorner.cs
- XPathSingletonIterator.cs
- AnonymousIdentificationSection.cs
- EntityKey.cs
- MediaCommands.cs
- SQLDouble.cs
- SplineKeyFrames.cs
- MultiTrigger.cs
- SynchronizedInputPattern.cs
- QilInvokeLateBound.cs
- EdmError.cs
- WebPartCancelEventArgs.cs
- AdvancedBindingEditor.cs
- TileBrush.cs
- ResourcePool.cs
- AsymmetricSignatureDeformatter.cs
- InvalidAsynchronousStateException.cs
- ToolStripLabel.cs
- Attributes.cs
- MarkedHighlightComponent.cs