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
- DataSourceControlBuilder.cs
- ExtensionQuery.cs
- X509CertificateChain.cs
- BCryptHashAlgorithm.cs
- NameValueFileSectionHandler.cs
- Matrix3D.cs
- PolicyManager.cs
- MbpInfo.cs
- CodeRemoveEventStatement.cs
- Latin1Encoding.cs
- IPAddress.cs
- WebPartDeleteVerb.cs
- IisTraceListener.cs
- RemoteWebConfigurationHostStream.cs
- FileInfo.cs
- NamespaceInfo.cs
- X509ChainElement.cs
- TemplateBindingExpression.cs
- CompressionTransform.cs
- ConfigXmlReader.cs
- ThreadSafeList.cs
- ExpressionBuilder.cs
- GridEntryCollection.cs
- Int32Storage.cs
- SessionParameter.cs
- ProfileSettingsCollection.cs
- SpanIndex.cs
- SQLDecimalStorage.cs
- BookmarkScopeHandle.cs
- ContentTextAutomationPeer.cs
- Pair.cs
- FormatConvertedBitmap.cs
- OleDbParameter.cs
- ProjectionQueryOptionExpression.cs
- DecoderFallbackWithFailureFlag.cs
- AmbientLight.cs
- Rect3D.cs
- LoginCancelEventArgs.cs
- InputBinder.cs
- Int32.cs
- TextBoxBase.cs
- LocalizabilityAttribute.cs
- CompilationSection.cs
- EventLogLink.cs
- VBIdentifierName.cs
- SqlCachedBuffer.cs
- HyperLinkField.cs
- TextServicesCompartment.cs
- DbMetaDataColumnNames.cs
- ConstNode.cs
- TableCellCollection.cs
- RouteValueDictionary.cs
- SimpleHandlerFactory.cs
- WmlLiteralTextAdapter.cs
- MessageSecurityOverTcpElement.cs
- ModifiableIteratorCollection.cs
- WsiProfilesElementCollection.cs
- AnonymousIdentificationSection.cs
- MasterPageParser.cs
- QualifiedCellIdBoolean.cs
- Exceptions.cs
- PositiveTimeSpanValidatorAttribute.cs
- ColumnMapCopier.cs
- NamedObject.cs
- BrowserCapabilitiesFactoryBase.cs
- DesignerResources.cs
- DelayedRegex.cs
- Translator.cs
- GcHandle.cs
- FunctionUpdateCommand.cs
- ScalarConstant.cs
- X500Name.cs
- SerializationSectionGroup.cs
- ServiceContractViewControl.cs
- DesignerTransaction.cs
- ElementUtil.cs
- ScriptingRoleServiceSection.cs
- RenameRuleObjectDialog.cs
- LogicalCallContext.cs
- Registry.cs
- StyleSheetComponentEditor.cs
- ObjectListFieldsPage.cs
- StringFreezingAttribute.cs
- DurableEnlistmentState.cs
- SystemWebCachingSectionGroup.cs
- BitmapSourceSafeMILHandle.cs
- RuleSettingsCollection.cs
- DataGridViewAutoSizeColumnsModeEventArgs.cs
- DefaultIfEmptyQueryOperator.cs
- Message.cs
- ObjectItemCollectionAssemblyCacheEntry.cs
- DataBindingExpressionBuilder.cs
- InputLanguageCollection.cs
- Directory.cs
- XmlSerializerVersionAttribute.cs
- DataGridViewSortCompareEventArgs.cs
- TimerElapsedEvenArgs.cs
- QilScopedVisitor.cs
- ObjectNavigationPropertyMapping.cs
- XmlComment.cs