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
- FontFamilyConverter.cs
- ServerValidateEventArgs.cs
- MonthChangedEventArgs.cs
- UIElementCollection.cs
- ResourceDescriptionAttribute.cs
- GradientSpreadMethodValidation.cs
- HttpPostedFileBase.cs
- __ComObject.cs
- TextHidden.cs
- AutomationEvent.cs
- ParallelTimeline.cs
- DataService.cs
- PartialArray.cs
- IDQuery.cs
- InternalCache.cs
- SafeArrayRankMismatchException.cs
- OpCodes.cs
- AmbientLight.cs
- DataConnectionHelper.cs
- RowsCopiedEventArgs.cs
- Timer.cs
- ScaleTransform3D.cs
- CrossContextChannel.cs
- SessionParameter.cs
- PropertyToken.cs
- Cursors.cs
- TimeSpanValidator.cs
- ResolveCompletedEventArgs.cs
- StoryFragments.cs
- QueryOptionExpression.cs
- VisemeEventArgs.cs
- ProvideValueServiceProvider.cs
- CriticalExceptions.cs
- InstanceStore.cs
- CollectionChangeEventArgs.cs
- SerializationAttributes.cs
- WebBrowserContainer.cs
- documentsequencetextview.cs
- LongValidator.cs
- HttpResponseMessageProperty.cs
- ByteAnimation.cs
- ToolStripDropDownClosedEventArgs.cs
- XmlSchemaProviderAttribute.cs
- ModelUIElement3D.cs
- Compiler.cs
- HashStream.cs
- DataView.cs
- Panel.cs
- DPTypeDescriptorContext.cs
- DocumentationServerProtocol.cs
- DataListItem.cs
- RadialGradientBrush.cs
- ExecutionEngineException.cs
- BamlLocalizer.cs
- BaseTypeViewSchema.cs
- PerformanceCounterCategory.cs
- BuildProvidersCompiler.cs
- FactoryGenerator.cs
- TextViewBase.cs
- InputBinding.cs
- ApplicationContext.cs
- DomainLiteralReader.cs
- DataPager.cs
- DefaultMemberAttribute.cs
- AutomationPatternInfo.cs
- xmlformatgeneratorstatics.cs
- SafeCryptoHandles.cs
- WsdlBuildProvider.cs
- ExpanderAutomationPeer.cs
- RightsManagementLicense.cs
- Regex.cs
- SmtpReplyReaderFactory.cs
- ReflectionServiceProvider.cs
- ParentQuery.cs
- ConnectionStringsExpressionEditor.cs
- Baml2006ReaderFrame.cs
- DelayDesigner.cs
- ZipFileInfo.cs
- XmlSchema.cs
- NameValueFileSectionHandler.cs
- DbProviderSpecificTypePropertyAttribute.cs
- DistinctQueryOperator.cs
- MailSettingsSection.cs
- ListChangedEventArgs.cs
- BridgeDataRecord.cs
- SqlParameterCollection.cs
- FixedFindEngine.cs
- DynamicValueConverter.cs
- WebPartVerb.cs
- StrokeIntersection.cs
- MetafileHeaderWmf.cs
- PropertySet.cs
- BStrWrapper.cs
- BitmapImage.cs
- OleDbParameter.cs
- Lease.cs
- Perspective.cs
- Pkcs7Signer.cs
- InputScope.cs
- MethodAccessException.cs