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
- SchemaAttDef.cs
- ContractComponent.cs
- AsyncPostBackTrigger.cs
- ServerIdentity.cs
- BindingCompleteEventArgs.cs
- DrawingImage.cs
- CharacterString.cs
- ConnectionsZone.cs
- ProxyWebPart.cs
- DelayLoadType.cs
- RenderContext.cs
- BookmarkScopeManager.cs
- XhtmlTextWriter.cs
- InternalsVisibleToAttribute.cs
- FigureParaClient.cs
- ToolStripDropTargetManager.cs
- SafeNativeMethodsMilCoreApi.cs
- PageCanvasSize.cs
- GenericTypeParameterBuilder.cs
- BufferBuilder.cs
- CompiledXpathExpr.cs
- LogManagementAsyncResult.cs
- _BufferOffsetSize.cs
- TranslateTransform.cs
- MemberInfoSerializationHolder.cs
- XmlSiteMapProvider.cs
- CollectionChangedEventManager.cs
- LineServicesRun.cs
- StringConverter.cs
- TextBoxAutomationPeer.cs
- XmlBufferReader.cs
- DateTimeFormatInfo.cs
- SiteMapDataSource.cs
- OutOfProcStateClientManager.cs
- State.cs
- Win32.cs
- SerializationHelper.cs
- DataGridColumn.cs
- ColorDialog.cs
- TimersDescriptionAttribute.cs
- PageThemeBuildProvider.cs
- WCFBuildProvider.cs
- PrintingPermission.cs
- SpecialFolderEnumConverter.cs
- DeploymentSection.cs
- DataColumnCollection.cs
- AuthenticationConfig.cs
- ScrollChrome.cs
- SafeRegistryHandle.cs
- InputChannelAcceptor.cs
- ReflectionUtil.cs
- PointLight.cs
- StringConcat.cs
- UIAgentAsyncBeginRequest.cs
- ProjectionCamera.cs
- CreateParams.cs
- ValidatingPropertiesEventArgs.cs
- DoubleAnimationUsingKeyFrames.cs
- TextParagraphView.cs
- JpegBitmapDecoder.cs
- InvocationExpression.cs
- BatchStream.cs
- OdbcUtils.cs
- TextTrailingWordEllipsis.cs
- DataServiceQueryException.cs
- CommentEmitter.cs
- StringCollectionMarkupSerializer.cs
- ChangeTracker.cs
- SafeRightsManagementQueryHandle.cs
- CollectionEditor.cs
- ActivityDesignerAccessibleObject.cs
- FileCodeGroup.cs
- TextEditorDragDrop.cs
- ListViewUpdateEventArgs.cs
- DataControlImageButton.cs
- BitmapEffectDrawingContextWalker.cs
- TabPage.cs
- StaticFileHandler.cs
- KeyConstraint.cs
- CodeVariableReferenceExpression.cs
- CopyOnWriteList.cs
- HttpProfileGroupBase.cs
- PersonalizationStateInfo.cs
- cryptoapiTransform.cs
- Proxy.cs
- ViewStateModeByIdAttribute.cs
- _AcceptOverlappedAsyncResult.cs
- ImpersonationContext.cs
- ParallelTimeline.cs
- EdmProviderManifest.cs
- CheckBoxPopupAdapter.cs
- ExpanderAutomationPeer.cs
- TemplateNameScope.cs
- BuildResult.cs
- WindowsListViewSubItem.cs
- CustomAttributeSerializer.cs
- FileDialog_Vista_Interop.cs
- SelectionUIHandler.cs
- TraceContextEventArgs.cs
- ZipIOFileItemStream.cs