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
- SemaphoreFullException.cs
- AsyncStreamReader.cs
- AndCondition.cs
- BStrWrapper.cs
- LineGeometry.cs
- AnnotationAdorner.cs
- DrawingAttributes.cs
- DataGridViewBindingCompleteEventArgs.cs
- DoubleAnimation.cs
- arabicshape.cs
- RelationshipDetailsRow.cs
- SharedDp.cs
- SplineQuaternionKeyFrame.cs
- ADConnectionHelper.cs
- ComboBoxAutomationPeer.cs
- TemplatePropertyEntry.cs
- QuaternionValueSerializer.cs
- Query.cs
- StickyNoteAnnotations.cs
- OracleCommandSet.cs
- ErrorWebPart.cs
- ListViewItem.cs
- XmlDomTextWriter.cs
- HtmlLink.cs
- XsltSettings.cs
- DataKey.cs
- RequestCachePolicy.cs
- EnumerableRowCollectionExtensions.cs
- EmptyEnumerator.cs
- PropertyMetadata.cs
- XmlSchemaAny.cs
- DoubleAnimationClockResource.cs
- DataServiceClientException.cs
- ListViewAutomationPeer.cs
- OleCmdHelper.cs
- DBParameter.cs
- LocalFileSettingsProvider.cs
- ClientSession.cs
- GroupItemAutomationPeer.cs
- DisplayMemberTemplateSelector.cs
- ButtonField.cs
- MutexSecurity.cs
- XmlSchemaSimpleContentExtension.cs
- SafeWaitHandle.cs
- SqlCharStream.cs
- EmptyEnumerable.cs
- InternalCache.cs
- DateTimeOffset.cs
- DataGridViewRow.cs
- GAC.cs
- Enumerable.cs
- TiffBitmapEncoder.cs
- ApplicationProxyInternal.cs
- TemplateBamlTreeBuilder.cs
- ContextMenuStrip.cs
- WorkflowMarkupSerializationException.cs
- GenericWebPart.cs
- Sequence.cs
- StateBag.cs
- CodeStatementCollection.cs
- DefaultValidator.cs
- TransportBindingElementImporter.cs
- SourceItem.cs
- SecondaryIndexDefinition.cs
- HostingEnvironment.cs
- NumericExpr.cs
- FocusWithinProperty.cs
- StreamGeometryContext.cs
- CellConstantDomain.cs
- ExclusiveCanonicalizationTransform.cs
- Geometry3D.cs
- StringFunctions.cs
- HMACSHA512.cs
- SimpleBitVector32.cs
- CodeFieldReferenceExpression.cs
- _NativeSSPI.cs
- EastAsianLunisolarCalendar.cs
- ObjectReferenceStack.cs
- InfoCardServiceInstallComponent.cs
- InputLanguageCollection.cs
- ResourceKey.cs
- ClientEventManager.cs
- ToolStripContentPanelDesigner.cs
- DropSourceBehavior.cs
- Decimal.cs
- EncoderExceptionFallback.cs
- ISessionStateStore.cs
- HTMLTagNameToTypeMapper.cs
- GuidConverter.cs
- AssemblyInfo.cs
- Filter.cs
- OracleParameterCollection.cs
- TextRangeAdaptor.cs
- AssemblyResolver.cs
- TextServicesContext.cs
- Action.cs
- KeyNameIdentifierClause.cs
- GiveFeedbackEvent.cs
- PkcsUtils.cs
- XmlSchemaRedefine.cs