Code:
/ 4.0 / 4.0 / DEVDIV_TFS / Dev10 / Releases / RTMRel / wpf / src / Core / CSharp / System / Windows / Resources / AssemblyAssociatedContentFileAttribute.cs / 1305600 / AssemblyAssociatedContentFileAttribute.cs
//----------------------------------------------------------------------------
//
//
// Copyright (C) Microsoft Corporation. All rights reserved.
//
//
// Description:
// Attribute definition for loose content files
//
//
// History:
// 06/14/2005: [....] 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: [....] 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
- PageTextBox.cs
- EtwTrace.cs
- _OSSOCK.cs
- LocationUpdates.cs
- _BaseOverlappedAsyncResult.cs
- SafeIUnknown.cs
- GeneralTransform3DGroup.cs
- HandlerBase.cs
- CollaborationHelperFunctions.cs
- TreeNode.cs
- MultiDataTrigger.cs
- TemplatedMailWebEventProvider.cs
- WorkerRequest.cs
- LineServicesCallbacks.cs
- EllipticalNodeOperations.cs
- SchemaMapping.cs
- SqlTrackingService.cs
- SafeLocalAllocation.cs
- ScriptManagerProxy.cs
- AsymmetricKeyExchangeFormatter.cs
- Matrix3DStack.cs
- SoapIncludeAttribute.cs
- FlowDocumentReader.cs
- pingexception.cs
- CodeGeneratorAttribute.cs
- BuildProvider.cs
- LayoutTableCell.cs
- CustomWebEventKey.cs
- DataStreamFromComStream.cs
- ToolStripSplitStackLayout.cs
- EventLogEntry.cs
- RegexMatch.cs
- WebPartConnectVerb.cs
- PrePrepareMethodAttribute.cs
- keycontainerpermission.cs
- SqlMethodTransformer.cs
- LookupBindingPropertiesAttribute.cs
- TableChangeProcessor.cs
- _CacheStreams.cs
- LowerCaseStringConverter.cs
- RemoteWebConfigurationHost.cs
- XPathNodeList.cs
- Control.cs
- WindowsIPAddress.cs
- CodeParameterDeclarationExpressionCollection.cs
- TextEffectCollection.cs
- ClientTarget.cs
- HttpErrorTraceRecord.cs
- HuffmanTree.cs
- SystemTcpStatistics.cs
- QuotedStringFormatReader.cs
- TextTabProperties.cs
- ContactManager.cs
- XmlSortKey.cs
- DockPatternIdentifiers.cs
- ComponentDispatcher.cs
- VariableQuery.cs
- BamlBinaryWriter.cs
- StrongNameKeyPair.cs
- AutomationProperties.cs
- EntityConnectionStringBuilder.cs
- SpellerInterop.cs
- DescendantBaseQuery.cs
- IChannel.cs
- Expressions.cs
- PropertyInformation.cs
- DoubleAnimationClockResource.cs
- Int16Converter.cs
- PropertyInformationCollection.cs
- Rect3D.cs
- QilValidationVisitor.cs
- AssemblyCache.cs
- DataService.cs
- Query.cs
- ContractsBCL.cs
- DataServiceBuildProvider.cs
- WeakReferenceKey.cs
- UrlAuthFailedErrorFormatter.cs
- UIPropertyMetadata.cs
- String.cs
- PerformanceCounterPermissionEntry.cs
- SchemaImporter.cs
- LOSFormatter.cs
- DbConnectionStringCommon.cs
- SelectionRangeConverter.cs
- TextSelectionHelper.cs
- QuadraticBezierSegment.cs
- ipaddressinformationcollection.cs
- TransformFinalBlockRequest.cs
- PersonalizationStateQuery.cs
- TextInfo.cs
- MsmqIntegrationChannelListener.cs
- UTF8Encoding.cs
- Peer.cs
- CompleteWizardStep.cs
- InternalCache.cs
- MembershipUser.cs
- SystemTcpConnection.cs
- SubMenuStyle.cs
- DetailsViewPagerRow.cs