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
- XmlBoundElement.cs
- ToolStripProgressBar.cs
- InvalidPrinterException.cs
- Point3D.cs
- GenericWebPart.cs
- SmtpClient.cs
- MethodBody.cs
- SkipQueryOptionExpression.cs
- XmlWriterSettings.cs
- EnumerableCollectionView.cs
- SessionEndingCancelEventArgs.cs
- GatewayIPAddressInformationCollection.cs
- SqlGenerator.cs
- DataStorage.cs
- XsltSettings.cs
- DocumentViewerAutomationPeer.cs
- CodeExporter.cs
- Pair.cs
- Setter.cs
- RichTextBox.cs
- XmlDocumentFragment.cs
- AnnotationObservableCollection.cs
- DeferredReference.cs
- PerformanceCounterPermissionEntryCollection.cs
- Line.cs
- Timer.cs
- UnionCodeGroup.cs
- PolicyException.cs
- NonParentingControl.cs
- PermissionAttributes.cs
- ConditionalAttribute.cs
- input.cs
- SQLSingle.cs
- ServiceDesigner.xaml.cs
- dbenumerator.cs
- _BaseOverlappedAsyncResult.cs
- Listbox.cs
- WebConfigurationManager.cs
- ResourcePart.cs
- XmlDocumentSchema.cs
- ThicknessKeyFrameCollection.cs
- OdbcReferenceCollection.cs
- XPathBinder.cs
- BitmapCache.cs
- DoubleSumAggregationOperator.cs
- Object.cs
- RemotingSurrogateSelector.cs
- PrivilegedConfigurationManager.cs
- AppendHelper.cs
- SecureUICommand.cs
- GetKeyedHashRequest.cs
- SerializationException.cs
- HitTestWithPointDrawingContextWalker.cs
- TraceLevelStore.cs
- ConcurrencyBehavior.cs
- WebRequestModuleElement.cs
- BufferModesCollection.cs
- dtdvalidator.cs
- GridViewCommandEventArgs.cs
- WindowsListViewItem.cs
- SqlDataSourceRefreshSchemaForm.cs
- SessionPageStateSection.cs
- MediaCommands.cs
- TextAction.cs
- DelegateTypeInfo.cs
- Image.cs
- SamlDoNotCacheCondition.cs
- SecurityManager.cs
- MetafileHeader.cs
- ErrorBehavior.cs
- RolePrincipal.cs
- SecUtil.cs
- RuleRefElement.cs
- QilSortKey.cs
- SocketAddress.cs
- ReadOnlyDictionary.cs
- WebPartVerb.cs
- FormsIdentity.cs
- HttpListenerResponse.cs
- WebPartConnectionsDisconnectVerb.cs
- ModelItemExtensions.cs
- OptimizerPatterns.cs
- ServiceCredentials.cs
- RsaSecurityKey.cs
- Nullable.cs
- RepeatInfo.cs
- NullableDecimalAverageAggregationOperator.cs
- Highlights.cs
- SpellerHighlightLayer.cs
- EntityDataSourceEntityTypeFilterItem.cs
- SerialPort.cs
- ComMethodElementCollection.cs
- GPRECTF.cs
- NGCSerializerAsync.cs
- WebScriptEnablingBehavior.cs
- WorkflowQueuingService.cs
- AnnotationResource.cs
- FlowDecisionDesigner.xaml.cs
- PrinterSettings.cs
- DbConnectionPoolIdentity.cs