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
- ServiceOperationDetailViewControl.cs
- StylusTip.cs
- DialogResultConverter.cs
- ConfigXmlDocument.cs
- Model3DGroup.cs
- Pkcs9Attribute.cs
- Tokenizer.cs
- Run.cs
- FormsAuthenticationTicket.cs
- SwitchLevelAttribute.cs
- ResourcesGenerator.cs
- SyntaxCheck.cs
- CopyNamespacesAction.cs
- ModelUIElement3D.cs
- IIS7WorkerRequest.cs
- ComponentDispatcher.cs
- PackageRelationship.cs
- BackgroundWorker.cs
- AsymmetricSecurityProtocol.cs
- AutoGeneratedField.cs
- StyleCollectionEditor.cs
- QilTernary.cs
- InfoCardServiceInstallComponent.cs
- StdValidatorsAndConverters.cs
- MethodSet.cs
- ElementNotEnabledException.cs
- externdll.cs
- ScrollItemPattern.cs
- MemberHolder.cs
- CapiSafeHandles.cs
- ComboBoxItem.cs
- WriteTimeStream.cs
- TextElementEnumerator.cs
- GridViewDeleteEventArgs.cs
- SafeCryptoHandles.cs
- Soap12FormatExtensions.cs
- XmlNodeWriter.cs
- ListBox.cs
- ProcessHost.cs
- PersonalizationAdministration.cs
- CompositeDataBoundControl.cs
- ActivityDesignerResources.cs
- ListViewDataItem.cs
- DBParameter.cs
- ReverseInheritProperty.cs
- DefaultMemberAttribute.cs
- Border.cs
- HtmlTextViewAdapter.cs
- KnownTypesProvider.cs
- SourceInterpreter.cs
- Psha1DerivedKeyGenerator.cs
- ETagAttribute.cs
- WinFormsUtils.cs
- DataObjectSettingDataEventArgs.cs
- SystemResourceHost.cs
- EncoderParameter.cs
- GenerateHelper.cs
- RightsManagementSuppressedStream.cs
- HttpServerVarsCollection.cs
- TextServicesHost.cs
- DesignBindingPicker.cs
- BufferedWebEventProvider.cs
- PointValueSerializer.cs
- BaseResourcesBuildProvider.cs
- MonthChangedEventArgs.cs
- XmlCollation.cs
- WebHttpSecurityElement.cs
- XPathItem.cs
- UserControlAutomationPeer.cs
- Table.cs
- __Error.cs
- FixedFlowMap.cs
- MeasurementDCInfo.cs
- WeakReference.cs
- baseshape.cs
- NamespaceCollection.cs
- NTAccount.cs
- StringValidator.cs
- AspNetHostingPermission.cs
- CommandID.cs
- DrawingContext.cs
- KeySpline.cs
- MultitargetingHelpers.cs
- ZipIOCentralDirectoryFileHeader.cs
- SamlDelegatingWriter.cs
- Registration.cs
- GradientStopCollection.cs
- RenderData.cs
- XPathExpr.cs
- Profiler.cs
- FlatButtonAppearance.cs
- FeatureSupport.cs
- AutomationProperty.cs
- SecurityElement.cs
- TextDocumentView.cs
- NumericUpDown.cs
- CustomTypeDescriptor.cs
- EmbeddedMailObjectsCollection.cs
- PageAsyncTaskManager.cs
- PointCollection.cs